Ignore:
Timestamp:
Mar 12, 2007 10:44:38 AM (18 years ago)
Author:
bennylp
Message:

Ticket #168: Added some variables in build.mak that can be used by application in its makefile

File:
1 edited

Legend:

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

    r726 r1055  
    77export CROSS_COMPILE := @ac_cross_compile@ 
    88export LINUX_POLL := @ac_linux_poll@  
     9 
     10# Application can use this 
     11export PJDIR := @ac_pjdir@ 
     12export APP_CC := $(CROSS_COMPILE)$(CC_NAME) 
     13export APP_CFLAGS := -DPJ_AUTOCONF=1\ 
     14        @CFLAGS@\ 
     15        -I$(PJDIR)/pjlib/include\ 
     16        -I$(PJDIR)/pjlib-util/include\ 
     17        -I$(PJDIR)/pjmedia/include\ 
     18        -I$(PJDIR)/pjsip/include 
     19export APP_CXXFLAGS := $(APP_CFLAGS) 
     20export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\ 
     21        -L$(PJDIR)/pjlib-util/lib\ 
     22        -L$(PJDIR)/pjmedia/lib\ 
     23        -L$(PJDIR)/pjsip/lib\ 
     24        @LDFLAGS@ 
     25export APP_LDLIBS := -lpjsua-$(TARGET_NAME)\ 
     26        -lpjsip-ua-$(TARGET_NAME)\ 
     27        -lpjsip-simple-$(TARGET_NAME)\ 
     28        -lpjsip-$(TARGET_NAME)\ 
     29        -lpjmedia-codec-$(TARGET_NAME)\ 
     30        -lpjmedia-$(TARGET_NAME)\ 
     31        -lpjmedia-codec-$(TARGET_NAME)\ 
     32        -lpjlib-util-$(TARGET_NAME)\ 
     33        -lpj-$(TARGET_NAME)\ 
     34        @LIBS@ 
     35 
Note: See TracChangeset for help on using the changeset viewer.