Ignore:
Timestamp:
Apr 17, 2007 4:16:01 PM (18 years ago)
Author:
bennylp
Message:

Fixed build system for third_party

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/split-3rd-party/build.mak.in

    r1055 r1201  
    88export LINUX_POLL := @ac_linux_poll@  
    99 
    10 # Application can use this 
     10# Determine which party libraries to use 
     11export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) 
     12 
     13ifneq (@ac_no_gsm_codec@,1) 
     14APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) 
     15endif 
     16 
     17ifneq (@ac_no_speex_codec@,1) 
     18APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) 
     19endif 
     20 
     21ifneq (@ac_no_ilbc_codec@,1) 
     22APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME) 
     23endif 
     24 
     25ifneq ($(findstring pa,@ac_pjmedia_snd@),) 
     26APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) 
     27endif 
     28 
     29 
     30# CFLAGS, LDFLAGS, and LIBS to be used by applications 
    1131export PJDIR := @ac_pjdir@ 
    1232export APP_CC := $(CROSS_COMPILE)$(CC_NAME) 
     
    1535        -I$(PJDIR)/pjlib/include\ 
    1636        -I$(PJDIR)/pjlib-util/include\ 
     37        -I$(PJDIR)/pjnath/include\ 
    1738        -I$(PJDIR)/pjmedia/include\ 
    1839        -I$(PJDIR)/pjsip/include 
     
    2041export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\ 
    2142        -L$(PJDIR)/pjlib-util/lib\ 
     43        -L$(PJDIR)/pjnath/lib\ 
    2244        -L$(PJDIR)/pjmedia/lib\ 
    2345        -L$(PJDIR)/pjsip/lib\ 
     46        -L$(PJDIR)/third_party/lib\ 
    2447        @LDFLAGS@ 
    2548export APP_LDLIBS := -lpjsua-$(TARGET_NAME)\ 
     
    2952        -lpjmedia-codec-$(TARGET_NAME)\ 
    3053        -lpjmedia-$(TARGET_NAME)\ 
    31         -lpjmedia-codec-$(TARGET_NAME)\ 
     54        -lpjnath-$(TARGET_NAME)\ 
    3255        -lpjlib-util-$(TARGET_NAME)\ 
     56        $(APP_THIRD_PARTY_LIBS)\ 
    3357        -lpj-$(TARGET_NAME)\ 
    3458        @LIBS@ 
    3559 
     60export PJ_DIR := $(PJDIR) 
     61export PJ_CC := $(APP_CC) 
     62export PJ_CFLAGS := $(APP_CFLAGS) 
     63export PJ_CXXFLAGS := $(APP_CXXFLAGS) 
     64export PJ_LDFLAGS := $(APP_LDFLAGS) 
     65export PJ_LDLIBS := $(APP_LDLIBS) 
     66 
Note: See TracChangeset for help on using the changeset viewer.