Changeset 3063 for pjproject/trunk/build.mak.in
- Timestamp:
- Jan 15, 2010 3:06:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.mak.in
r3062 r3063 8 8 export LINUX_POLL := @ac_linux_poll@ 9 9 10 export ac_prefix := @prefix@ 11 10 12 LIB_SUFFIX = $(TARGET_NAME).a 11 13 12 14 # Determine which party libraries to use 13 15 export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) 16 export APP_THIRD_PARTY_EXT := 14 17 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) 15 18 … … 17 20 ifeq (@ac_external_gsm@,1) 18 21 # External GSM library 19 APP_THIRD_PARTY_LIBS += -lgsm 20 APP_THIRD_PARTY_LIB_FILES += 22 APP_THIRD_PARTY_EXT += -lgsm 21 23 else 22 24 APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) … … 27 29 ifneq (@ac_no_speex_codec@,1) 28 30 ifeq (@ac_external_speex@,1) 29 APP_THIRD_PARTY_LIBS += -lspeex -lspeexdsp 30 APP_THIRD_PARTY_LIB_FILES += 31 APP_THIRD_PARTY_EXT += -lspeex -lspeexdsp 31 32 else 32 33 APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) … … 47 48 ifneq ($(findstring pa,@ac_pjmedia_snd@),) 48 49 ifeq (@ac_external_pa@,1) 49 APP_THIRD_PARTY_LIBS += -lportaudio 50 APP_THIRD_PARTY_ LIB_FILES +=50 # External PA 51 APP_THIRD_PARTY_EXT += -lportaudio 51 52 else 52 53 APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) … … 86 87 -lpjlib-util-$(TARGET_NAME)\ 87 88 $(APP_THIRD_PARTY_LIBS)\ 89 $(APP_THIRD_PARTY_EXT)\ 88 90 -lpj-$(TARGET_NAME)\ 89 91 @LIBS@ … … 100 102 $(PJ_DIR)/pjlib/lib/libpj-$(LIB_SUFFIX) 101 103 104 # Here are the variabels to use if application is using the library 105 # from within the source distribution 102 106 export PJ_DIR := $(PJDIR) 103 107 export PJ_CC := $(APP_CC) … … 108 112 export PJ_LIB_FILES := $(APP_LIB_FILES) 109 113 114 # And here are the variables to use if application is using the 115 # library from the install location (i.e. --prefix) 116 export PJ_INSTALL_DIR := @prefix@ 117 export PJ_INSTALL_INC_DIR := $(PJ_INSTALL_DIR)/include 118 export PJ_INSTALL_LIB_DIR := $(PJ_INSTALL_DIR)/lib 119 export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1 @CFLAGS@ 120 export PJ_INSTALL_CXXFLAGS := $(PJ_INSTALL_CFLAGS) 121 export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(APP_LDLIBS)
Note: See TracChangeset
for help on using the changeset viewer.