- Timestamp:
- Mar 10, 2009 3:14:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/build/Makefile
r2344 r2501 19 19 export PJMEDIA_CODEC_LIB:=../lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) 20 20 export PJSDP_LIB:=../lib/libpjsdp-$(TARGET_NAME)$(LIBEXT) 21 export PJMEDIA_AUDIODEV_LIB:=../lib/libpjmedia-audiodev-$(TARGET_NAME)$(LIBEXT) 21 22 22 NULLSOUND_OBJS := nullsound.o23 23 24 24 ############################################################################### … … 35 35 $(HOST_CXXFLAGS) $(CXXFLAGS) 36 36 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 37 $(subst /,$(HOST_PSEP),$(PJMEDIA_AUDIODEV_LIB)) \ 37 38 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 38 39 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ … … 50 51 export PJMEDIA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 51 52 alaw_ulaw.o alaw_ulaw_table.o clock_thread.o codec.o \ 52 conference.o delaybuf.o echo_common.o echo_port.o \53 echo_ suppress.o endpoint.o errno.o \53 conference.o conf_switch.o delaybuf.o echo_common.o \ 54 echo_port.o echo_suppress.o endpoint.o errno.o \ 54 55 g711.o jbuf.o master_port.o mem_capture.o mem_player.o \ 55 56 null_port.o plc_common.o port.o splitcomb.o \ 56 57 resample_resample.o resample_libsamplerate.o \ 57 58 resample_port.o rtcp.o rtcp_xr.o rtp.o \ 58 sdp.o sdp_cmp.o sdp_neg.o \59 s ession.o silencedet.o sound_port.o stereo_port.o \59 sdp.o sdp_cmp.o sdp_neg.o session.o silencedet.o \ 60 sound_legacy.o sound_port.o stereo_port.o \ 60 61 stream.o tonegen.o transport_adapter_sample.o \ 61 62 transport_ice.o transport_loop.o \ 62 63 transport_srtp.o transport_udp.o \ 63 64 wav_player.o wav_playlist.o wav_writer.o wave.o \ 64 wsola.o $(SOUND_OBJS) $(NULLSOUND_OBJS)65 wsola.o 65 66 66 67 export PJMEDIA_CFLAGS += $(_CFLAGS) 68 69 70 ############################################################################### 71 # Defines for building PJMEDIA-AUDIODEV library 72 # 73 export PJMEDIA_AUDIODEV_SRCDIR = ../src/pjmedia-audiodev 74 export PJMEDIA_AUDIODEV_OBJS += audiodev.o audiotest.o errno.o legacy_dev.o pa_dev.o \ 75 wmme_dev.o 76 export PJMEDIA_AUDIODEV_CFLAGS += $(_CFLAGS) 67 77 68 78 … … 107 117 # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. 108 118 # 109 TARGETS := pjmedia pjmedia- codec pjsdp pjmedia-test119 TARGETS := pjmedia pjmedia-audiodev pjmedia-codec pjsdp pjmedia-test 110 120 111 121 all: $(TARGETS) … … 122 132 distclean: realclean 123 133 124 .PHONY: dep depend pjmedia pjmedia-codec pjmedia- test clean realclean distclean134 .PHONY: dep depend pjmedia pjmedia-codec pjmedia-audiodev pjmedia-test clean realclean distclean 125 135 126 136 pjmedia: … … 129 139 pjmedia-codec: 130 140 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $(PJMEDIA_CODEC_LIB) 141 142 pjmedia-audiodev: 143 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $(PJMEDIA_AUDIODEV_LIB) 131 144 132 145 pjsdp: … … 153 166 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 154 167 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 168 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ 155 169 $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $@ 156 170 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ … … 158 172 realclean: 159 173 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-$(TARGET_NAME).depend),$(HOST_RMR)) 174 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-audiodev-$(TARGET_NAME).depend),$(HOST_RMR)) 160 175 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-codec-$(TARGET_NAME).depend),$(HOST_RMR)) 161 176 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-test-$(TARGET_NAME).depend),$(HOST_RMR)) … … 163 178 164 179 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 180 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia-audiodev $@ 165 181 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 166 182 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ … … 169 185 depend: 170 186 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 187 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia-audiodev $@ 171 188 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 172 189 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@
Note: See TracChangeset
for help on using the changeset viewer.