Changeset 198 for pjproject/trunk/pjmedia/build/Makefile
- Timestamp:
- Feb 19, 2006 2:24:27 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/build/Makefile
r171 r198 7 7 8 8 export PJMEDIA_LIB:=../lib/libpjmedia-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 9 export PJMEDIA_CODEC_LIB:=../lib/libpjmedia-codec-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 9 10 10 11 ############################################################################### … … 46 47 47 48 ############################################################################### 49 # Defines for building PJMEDIA-Codec library 50 # 51 export PJMEDIA_CODEC_SRCDIR = ../src/pjmedia-codec 52 export PJMEDIA_CODEC_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 53 gsm.o pjmedia-codec-lib.o \ 54 gsm/add.o gsm/code.o gsm/debug.o gsm/decode.o \ 55 gsm/gsm_create.o gsm/gsm_decode.o gsm/gsm_destroy.o \ 56 gsm/gsm_encode.o gsm/gsm_explode.o gsm/gsm_implode.o \ 57 gsm/gsm_option.o gsm/gsm_print.o gsm/long_term.o \ 58 gsm/lpc.o gsm/preprocess.o gsm/rpe.o gsm/short_term.o \ 59 gsm/table.o 60 export PJMEDIA_CODEC_CFLAGS += $(_CFLAGS) 61 62 63 ############################################################################### 48 64 # Defines for building test application 49 65 # … … 61 77 # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. 62 78 # 63 TARGETS := pjmedia 79 TARGETS := pjmedia pjmedia-codec 64 80 #pjmedia-test 65 81 … … 72 88 distclean: realclean 73 89 74 .PHONY: dep depend pjmedia pjmedia- test clean realclean distclean90 .PHONY: dep depend pjmedia pjmedia-codec pjmedia-test clean realclean distclean 75 91 76 92 pjmedia: 77 93 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $(PJMEDIA_LIB) 94 95 pjmedia-codec: 96 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $(PJMEDIA_CODEC_LIB) 78 97 79 98 pjmedia-test: $(PJMEDIA_LIB) … … 85 104 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 86 105 106 .PHONY: ../lib/pjmedia-codec.ko 107 ../lib/pjmedia-codec.ko: 108 echo Making $@ 109 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 110 87 111 .PHONY: ../lib/pjmedia-test.ko 88 112 ../lib/pjmedia-test.ko: … … 91 115 clean depend realclean: 92 116 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 117 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 93 118 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ 119 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 94 120 @if test "$@" == "depend"; then \ 95 121 echo '$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB)' >> .pjmedia-test-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \
Note: See TracChangeset
for help on using the changeset viewer.