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/pjsip-apps/build/Samples.mak

    r1127 r1201  
    11 
    22include ../../build/common.mak 
    3  
    4 PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) 
    5 PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) 
    6 PJNATH_LIB:=../../pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) 
    7 PJMEDIA_LIB:=../../pjmedia/lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) 
    8 PJMEDIA_CODEC_LIB:=../../pjmedia/lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) 
    9 PJSIP_LIB:=../../pjsip/lib/libpjsip-$(TARGET_NAME)$(LIBEXT) 
    10 PJSIP_UA_LIB:=../../pjsip/lib/libpjsip-ua-$(TARGET_NAME)$(LIBEXT) 
    11 PJSIP_SIMPLE_LIB:=../../pjsip/lib/libpjsip-simple-$(TARGET_NAME)$(LIBEXT) 
    12 PJSUA_LIB_LIB=../../pjsip/lib/libpjsua-$(TARGET_NAME)$(LIBEXT) 
    133 
    144 
     
    166# Gather all flags. 
    177# 
    18 export _CFLAGS  := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ 
    19                    $(CFLAGS) $(CC_INC)../../pjsip/include \ 
    20                    $(CC_INC)../../pjlib/include \ 
    21                    $(CC_INC)../../pjlib-util/include \ 
    22                    $(CC_INC)../../pjnath/include \ 
    23                    $(CC_INC)../../pjmedia/include 
    24 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 
    25                    $(HOST_CXXFLAGS) $(CXXFLAGS) 
    26  
    27 export LIBS :=  $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 
    28                 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 
    29                 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 
    30                 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 
    31                 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 
    32                 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 
    33                 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 
    34                 $(subst /,$(HOST_PSEP),$(PJNATH_LIB)) \ 
    35                 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 
    36                 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) 
    37  
    38  
    39 export _LDFLAGS := $(LIBS) \ 
    40                    $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 
    41                    $(LDFLAGS) -lm 
     8export _CFLAGS  := $(PJ_CFLAGS) 
     9export _CXXFLAGS:= $(PJ_CXXFLAGS) 
     10export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) 
    4211 
    4312SRCDIR := ../src/samples 
Note: See TracChangeset for help on using the changeset viewer.