- Timestamp:
- Mar 10, 2009 3:14:11 PM (16 years ago)
- Location:
- pjproject/branches/projects/aps-direct
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/Makefile
r2037 r2501 34 34 pjnath/lib/libpjnath-$(TARGET_NAME).a \ 35 35 pjmedia/lib/libpjmedia-$(TARGET_NAME).a \ 36 pjmedia/lib/libpjmedia-audiodev-$(TARGET_NAME).a \ 36 37 pjmedia/lib/libpjmedia-codec-$(TARGET_NAME).a \ 37 38 pjsip/lib/libpjsip-$(TARGET_NAME).a \ -
pjproject/branches/projects/aps-direct/build.mak.in
r2232 r2501 61 61 -lpjmedia-codec-$(TARGET_NAME)\ 62 62 -lpjmedia-$(TARGET_NAME)\ 63 -lpjmedia-audiodev-$(TARGET_NAME)\ 63 64 -lpjnath-$(TARGET_NAME)\ 64 65 -lpjlib-util-$(TARGET_NAME)\ -
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 $@ -
pjproject/branches/projects/aps-direct/pjmedia/build/os-auto.mak.in
r2182 r2501 79 79 # 80 80 ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) 81 export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND 82 export SOUND_OBJS = pasound.o 81 export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 83 82 endif 84 83 85 84 # 86 # Win 32 DirectSound85 # Windows specific 87 86 # 88 ifeq ($(AC_PJMEDIA_SND),ds) 89 export SOUND_OBJS = dsound.o 90 export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_WIN32_DIRECT_SOUND 87 ifneq ($(findstring win32,$(AC_PJMEDIA_SND)),) 88 export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_WMME=1 89 else 90 export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 91 91 endif 92 92 … … 95 95 # 96 96 ifeq ($(AC_PJMEDIA_SND),null) 97 export SOUND_OBJS = nullsound.o 97 # ***** Error ****** 98 # This will not work either with the new Audiodev 98 99 export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND 99 100 endif … … 103 104 # 104 105 ifeq ($(AC_PJMEDIA_SND),external) 105 export SOUND_OBJS = 106 export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_EXTERNAL 106 export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 107 107 endif 108 108 -
pjproject/branches/projects/aps-direct/pjsip-apps/build/Makefile
r2183 r2501 9 9 PJNATH_LIB:=../../pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) 10 10 PJMEDIA_LIB:=../../pjmedia/lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) 11 PJMEDIA_AUDIODEV_LIB:=../../pjmedia/lib/libpjmedia-audiodev-$(TARGET_NAME)$(LIBEXT) 11 12 PJMEDIA_CODEC_LIB:=../../pjmedia/lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) 12 13 PJSIP_LIB:=../../pjsip/lib/libpjsip-$(TARGET_NAME)$(LIBEXT)
Note: See TracChangeset
for help on using the changeset viewer.