Ignore:
Timestamp:
Jul 29, 2008 11:42:20 AM (16 years ago)
Author:
bennylp
Message:

Fixed ticket #581: Fixed build dependencies in the makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/build.mak.in

    r1735 r2183  
    88export LINUX_POLL := @ac_linux_poll@  
    99 
     10LIB_SUFFIX = $(TARGET_NAME).a 
     11 
    1012# Determine which party libraries to use 
    1113export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) 
     14export 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) 
    1215 
    1316ifneq (@ac_no_gsm_codec@,1) 
    1417APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) 
     18APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX) 
    1519endif 
    1620 
    1721ifneq (@ac_no_speex_codec@,1) 
    1822APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) 
     23APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX) 
    1924endif 
    2025 
    2126ifneq (@ac_no_ilbc_codec@,1) 
    2227APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME) 
     28APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec-$(LIB_SUFFIX) 
    2329endif 
    2430 
    2531ifneq ($(findstring pa,@ac_pjmedia_snd@),) 
    2632APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) 
     33APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) 
    2734endif 
    2835 
     
    5764        -lpj-$(TARGET_NAME)\ 
    5865        @LIBS@ 
     66export 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) 
    5976 
    6077export PJ_DIR := $(PJDIR) 
     
    6481export PJ_LDFLAGS := $(APP_LDFLAGS) 
    6582export PJ_LDLIBS := $(APP_LDLIBS) 
     83export PJ_LIB_FILES := $(APP_LIB_FILES) 
    6684 
Note: See TracChangeset for help on using the changeset viewer.