Changeset 2183
- Timestamp:
- Jul 29, 2008 11:42:20 AM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.mak.in
r1735 r2183 8 8 export LINUX_POLL := @ac_linux_poll@ 9 9 10 LIB_SUFFIX = $(TARGET_NAME).a 11 10 12 # Determine which party libraries to use 11 13 export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) 14 export APP_THIRD_PARTY_LIB_FILES = $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX) $(PJ_DIR)/third_party/lib/libmilenage-$(LIB_SUFFIX) $(PJ_DIR)/third_party/lib/libsrtp-$(LIB_SUFFIX) 12 15 13 16 ifneq (@ac_no_gsm_codec@,1) 14 17 APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) 18 APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX) 15 19 endif 16 20 17 21 ifneq (@ac_no_speex_codec@,1) 18 22 APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) 23 APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX) 19 24 endif 20 25 21 26 ifneq (@ac_no_ilbc_codec@,1) 22 27 APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME) 28 APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec-$(LIB_SUFFIX) 23 29 endif 24 30 25 31 ifneq ($(findstring pa,@ac_pjmedia_snd@),) 26 32 APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) 33 APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) 27 34 endif 28 35 … … 57 64 -lpj-$(TARGET_NAME)\ 58 65 @LIBS@ 66 export APP_LIB_FILES = $(PJ_DIR)/pjsip/lib/libpjsua-$(LIB_SUFFIX) \ 67 $(PJ_DIR)/pjsip/lib/libpjsip-ua-$(LIB_SUFFIX) \ 68 $(PJ_DIR)/pjsip/lib/libpjsip-simple-$(LIB_SUFFIX) \ 69 $(PJ_DIR)/pjsip/lib/libpjsip-$(LIB_SUFFIX) \ 70 $(PJ_DIR)/pjmedia/lib/libpjmedia-codec-$(LIB_SUFFIX) \ 71 $(PJ_DIR)/pjmedia/lib/libpjmedia-$(LIB_SUFFIX) \ 72 $(PJ_DIR)/pjnath/lib/libpjnath-$(LIB_SUFFIX) \ 73 $(PJ_DIR)/pjlib-util/lib/libpjlib-util-$(LIB_SUFFIX) \ 74 $(APP_THIRD_PARTY_LIB_FILES) \ 75 $(PJ_DIR)/pjlib/lib/libpj-$(LIB_SUFFIX) 59 76 60 77 export PJ_DIR := $(PJDIR) … … 64 81 export PJ_LDFLAGS := $(APP_LDFLAGS) 65 82 export PJ_LDLIBS := $(APP_LDLIBS) 83 export PJ_LIB_FILES := $(APP_LIB_FILES) 66 84 -
pjproject/trunk/build/rules.mak
r1180 r2183 75 75 @echo LIBDIR=$(LIBDIR) 76 76 77 $(LIB): $(LIBDIR) $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 77 $(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 78 if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi 78 79 $(AR) $(LIB) $(OBJS) 79 80 $(RANLIB) $(LIB) 80 81 81 $(EXE): $(BINDIR) $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 82 $(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 83 if test ! -d $(BINDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(BINDIR)),$(HOST_MKDIR)); fi 82 84 $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$(EXE)) \ 83 85 $(subst /,$(HOST_PSEP),$(OBJS)) $($(APP)_LDFLAGS) -
pjproject/trunk/pjlib-util/build/Makefile
r2037 r2183 69 69 $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $(PJLIB_UTIL_LIB) 70 70 71 pjlib-util-test: $(PJLIB_LIB)71 pjlib-util-test: 72 72 $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $(UTIL_TEST_EXE) 73 73 … … 94 94 $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ 95 95 $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ 96 echo '$( TEST_EXE): $(PJLIB_UTIL_LIB)' >> .pjlib-util-test-$(TARGET_NAME).depend; \96 echo '$(UTIL_TEST_EXE): $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjlib-util-test-$(TARGET_NAME).depend; \ 97 97 98 98 -
pjproject/trunk/pjmedia/build/Makefile
r2107 r2183 172 172 $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ 173 173 $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $@ 174 echo '$(PJMEDIA_LIB): .pjmedia-$(TARGET_NAME).depend' >> .pjmedia-$(TARGET_NAME).depend; \ 175 echo '$(PJMEDIA_CODEC_LIB): .pjmedia-codec-$(TARGET_NAME).depend' >> .pjmedia-codec-$(TARGET_NAME).depend; \ 176 echo '$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB)' >> .pjmedia-test-$(TARGET_NAME).depend; \ 174 echo '$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjmedia-test-$(TARGET_NAME).depend 177 175 178 176 -
pjproject/trunk/pjnath/build/Makefile
r2037 r2183 132 132 $(MAKE) -f $(RULES_MAK) APP=PJTURN_CLIENT app=pjturn-client $@ 133 133 $(MAKE) -f $(RULES_MAK) APP=PJTURN_SRV app=pjturn-srv $@ 134 echo '$(TEST_EXE): $(PJNATH_LIB)' >> .pjnath-test-$(TARGET_NAME).depend; \ 134 echo '$(PJNATH_TEST_EXE): $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjnath-test-$(TARGET_NAME).depend 135 echo '$(PJTURN_CLIENT_EXE): $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjturn-client-$(TARGET_NAME).depend 136 echo '$(PJTURN_SRV_EXE): $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjturn-srv-$(TARGET_NAME).depend 135 137 136 138 -
pjproject/trunk/pjsip-apps/build/Makefile
r2182 r2183 71 71 $(MAKE) -f Samples.mak $@ 72 72 @if test "$@" = "depend"; then \ 73 echo '$(PJSUA_EXE): $( PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB_LIB) $(PJLIB_LIB) $(PJLIB_UTIL_LIB) $(PJNATH_LIB) $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) Makefile' >> .pjsua-$(TARGET_NAME).depend; \73 echo '$(PJSUA_EXE): $(APP_LIB_FILES)' >> .pjsua-$(TARGET_NAME).depend; \ 74 74 fi 75 75 -
pjproject/trunk/pjsip-apps/build/Samples.mak
r2178 r2183 42 42 all: $(OBJDIR) $(EXES) 43 43 44 $(BINDIR)/%-$(TARGET_NAME)$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) $( LIBS)44 $(BINDIR)/%-$(TARGET_NAME)$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) $(PJ_LIB_FILES) 45 45 $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$@) \ 46 46 $(subst /,$(HOST_PSEP),$<) \ -
pjproject/trunk/pjsip/build/Makefile
r2037 r2183 156 156 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 157 157 158 clean depend:158 clean: 159 159 $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ 160 160 $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ … … 162 162 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 163 163 $(MAKE) -f $(RULES_MAK) APP=TEST app=pjsip-test $@ 164 165 depend: 166 $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ 167 $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ 168 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ 169 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 170 $(MAKE) -f $(RULES_MAK) APP=TEST app=pjsip-test $@ 171 echo '$(TEST_EXE): $(PJMEDIA_LIB) $(PJSUA_LIB_LIB) $(PJSIP_SIMPLE_LIB) $(PJSIP_UA_LIB) $(PJSIP_LIB) $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjsip-test-$(TARGET_NAME).depend 164 172 165 173 realclean: -
pjproject/trunk/third_party/build/gsm/Makefile
r1180 r2183 61 61 depend: 62 62 $(MAKE) -f $(RULES_MAK) APP=GSM_CODEC app=libgsmcodec $@ 63 echo '$(GSM_CODEC_LIB): .libgsmcodec-$(TARGET_NAME).depend' >> .libgsmcodec-$(TARGET_NAME).depend; \64 63 65 64 -
pjproject/trunk/third_party/build/ilbc/Makefile
r1180 r2183 62 62 depend: 63 63 $(MAKE) -f $(RULES_MAK) APP=ILBC app=libilbccodec $@ 64 echo '$(ILBC_LIB): .libilbccodec-$(TARGET_NAME).depend' >> .libilbccodec-$(TARGET_NAME).depend; \65 64 66 65 -
pjproject/trunk/third_party/build/milenage/Makefile
r1488 r2183 55 55 depend: 56 56 $(MAKE) -f $(RULES_MAK) APP=MILENAGE app=libmilenage $@ 57 echo '$(MILENAGE_LIB): .libmilenage-$(TARGET_NAME).depend' >> .libmilenage-$(TARGET_NAME).depend; \58 57 59 58 -
pjproject/trunk/third_party/build/portaudio/Makefile
r1202 r2183 66 66 depend: 67 67 $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@ 68 echo '$(PORTAUDIO_LIB): .libportaudio-$(TARGET_NAME).depend' >> .libportaudio-$(TARGET_NAME).depend; \69 68 -
pjproject/trunk/third_party/build/resample/Makefile
r1180 r2183 55 55 depend: 56 56 $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $@ 57 echo '$(RESAMPLE_LIB): .libresample-$(TARGET_NAME).depend' >> .libresample-$(TARGET_NAME).depend; \58 57 59 58 -
pjproject/trunk/third_party/build/speex/Makefile
r2002 r2183 70 70 depend: 71 71 $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@ 72 echo '$(SPEEX_LIB): .libspeex-$(TARGET_NAME).depend' >> .libspeex-$(TARGET_NAME).depend; \73 72 74 73 -
pjproject/trunk/third_party/build/srtp/Makefile
r1782 r2183 83 83 depend: 84 84 $(MAKE) -f $(RULES_MAK) APP=SRTP app=libsrtp $@ 85 echo '$(SRTP_LIB): .libsrtp-$(TARGET_NAME).depend' >> .libsrtp-$(TARGET_NAME).depend; \86 85 87 86
Note: See TracChangeset
for help on using the changeset viewer.