- Timestamp:
- Dec 10, 2010 11:04:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/build/Makefile
r3319 r3392 19 19 export PJSDP_LIB:=../lib/libpjsdp-$(TARGET_NAME)$(LIBEXT) 20 20 export PJMEDIA_AUDIODEV_LIB:=../lib/libpjmedia-audiodev-$(TARGET_NAME)$(LIBEXT) 21 export PJMEDIA_VIDEODEV_LIB:=../lib/libpjmedia-videodev-$(TARGET_NAME)$(LIBEXT) 21 22 22 23 … … 35 36 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 36 37 $(subst /,$(HOST_PSEP),$(PJMEDIA_AUDIODEV_LIB)) \ 38 $(subst /,$(HOST_PSEP),$(PJMEDIA_VIDEODEV_LIB)) \ 37 39 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 38 40 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ … … 50 52 export PJMEDIA_SRCDIR = ../src/pjmedia 51 53 export PJMEDIA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 52 alaw_ulaw.o alaw_ulaw_table.o bidirectional.o clock_thread.o codec.o \ 53 conference.o conf_switch.o delaybuf.o echo_common.o \ 54 alaw_ulaw.o alaw_ulaw_table.o avi_player.o \ 55 bidirectional.o clock_thread.o codec.o conference.o \ 56 conf_switch.o converter.o converter_libswscale.o \ 57 delaybuf.o echo_common.o \ 54 58 echo_port.o echo_suppress.o endpoint.o errno.o \ 59 format.o ffmpeg_util.o \ 55 60 g711.o jbuf.o master_port.o mem_capture.o mem_player.o \ 56 61 null_port.o plc_common.o port.o splitcomb.o \ … … 61 66 stream.o tonegen.o transport_adapter_sample.o \ 62 67 transport_ice.o transport_loop.o \ 63 transport_srtp.o transport_udp.o \68 transport_srtp.o transport_udp.o vid_codec.o videoport.o \ 64 69 wav_player.o wav_playlist.o wav_writer.o wave.o \ 65 70 wsola.o … … 79 84 80 85 ############################################################################### 86 # Defines for building PJMEDIA-VIDEODEV library 87 # 88 export PJMEDIA_VIDEODEV_SRCDIR = ../src/pjmedia-videodev 89 export PJMEDIA_VIDEODEV_OBJS += videodev.o ffmpeg_dev.o sdl_dev.o colorbar_dev.o \ 90 v4l2_dev.o 91 export PJMEDIA_VIDEODEV_CFLAGS += $(_CFLAGS) 92 93 94 ############################################################################### 81 95 # Defines for building PJSDP library 82 96 # Note that SDP functionality is already INCLUDED in PJMEDIA. … … 94 108 # 95 109 export PJMEDIA_CODEC_SRCDIR = ../src/pjmedia-codec 96 export PJMEDIA_CODEC_OBJS += \110 export PJMEDIA_CODEC_OBJS += ffmpeg_codecs.o \ 97 111 $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 98 112 ipp_codecs.o $(CODEC_OBJS) … … 105 119 # 106 120 export PJMEDIA_TEST_SRCDIR = ../src/test 107 export PJMEDIA_TEST_OBJS += codec_vectors.o jbuf_test.o main.o mips_test.o rtp_test.o test.o 121 export PJMEDIA_TEST_OBJS += codec_vectors.o jbuf_test.o main.o mips_test.o \ 122 vid_dev_test.o vid_codec_test.o rtp_test.o test.o 108 123 export PJMEDIA_TEST_OBJS += sdp_neg_test.o 109 124 export PJMEDIA_TEST_CFLAGS += $(_CFLAGS) … … 118 133 # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. 119 134 # 120 TARGETS := pjmedia pjmedia- audiodev pjmedia-codec pjsdp pjmedia-test135 TARGETS := pjmedia pjmedia-videodev pjmedia-audiodev pjmedia-codec pjsdp pjmedia-test 121 136 122 137 all: $(TARGETS) … … 133 148 distclean: realclean 134 149 135 .PHONY: dep depend pjmedia pjmedia-codec pjmedia- audiodev pjmedia-test clean realclean distclean150 .PHONY: dep depend pjmedia pjmedia-codec pjmedia-videodev pjmedia-audiodev pjmedia-test clean realclean distclean 136 151 137 152 pjmedia: … … 140 155 pjmedia-codec: 141 156 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $(PJMEDIA_CODEC_LIB) 157 158 pjmedia-videodev: 159 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $(PJMEDIA_VIDEODEV_LIB) 142 160 143 161 pjmedia-audiodev: … … 167 185 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 168 186 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 187 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $@ 169 188 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ 170 189 $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $@ … … 173 192 realclean: 174 193 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-$(TARGET_NAME).depend),$(HOST_RMR)) 194 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-videodev-$(TARGET_NAME).depend),$(HOST_RMR)) 175 195 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-audiodev-$(TARGET_NAME).depend),$(HOST_RMR)) 176 196 $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-codec-$(TARGET_NAME).depend),$(HOST_RMR)) … … 179 199 180 200 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 201 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $@ 181 202 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ 182 203 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ … … 186 207 depend: 187 208 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 209 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $@ 188 210 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ 189 211 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@
Note: See TracChangeset
for help on using the changeset viewer.