Changeset 1352 for pjproject/trunk/pjsip-apps/build/Footprint.mak
- Timestamp:
- Jun 8, 2007 1:41:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/Footprint.mak
r825 r1352 3 3 # to get the footprint report for PJSIP/PJMEDIA. 4 4 # 5 include ../../build.mak 5 6 include ../../build/common.mak 6 7 PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT)8 PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT)9 PJMEDIA_LIB:=../../pjmedia/lib/libpjmedia-$(TARGET_NAME)$(LIBEXT)10 PJMEDIA_CODEC_LIB:=../../pjmedia/lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT)11 PJSIP_LIB:=../../pjsip/lib/libpjsip-$(TARGET_NAME)$(LIBEXT)12 PJSIP_UA_LIB:=../../pjsip/lib/libpjsip-ua-$(TARGET_NAME)$(LIBEXT)13 PJSIP_SIMPLE_LIB:=../../pjsip/lib/libpjsip-simple-$(TARGET_NAME)$(LIBEXT)14 PJSUA_LIB_LIB=../../pjsip/lib/libpjsua-$(TARGET_NAME)$(LIBEXT)15 7 16 8 … … 18 10 # Gather all flags. 19 11 # 20 export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ 21 $(CFLAGS) $(CC_INC)../../pjsip/include \ 22 $(CC_INC)../../pjlib/include \ 23 $(CC_INC)../../pjlib-util/include \ 24 $(CC_INC)../../pjmedia/include 25 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 26 $(HOST_CXXFLAGS) $(CXXFLAGS) 12 export _CFLAGS := $(APP_CFLAGS) $(CFLAGS) 13 export _CXXFLAGS:= $(_CFLAGS) 27 14 28 export LIBS := $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 29 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 30 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 31 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 32 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 33 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 34 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 35 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) 36 37 38 export _LDFLAGS := $(LIBS) \ 39 $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 40 $(LDFLAGS) -lm 41 42 15 export _LDFLAGS := $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS) 43 16 44 17 EXE := footprint.exe 45 18 46 19 all: 47 $( CROSS_COMPILE)$(CC_NAME) -o $(EXE) ../src/samples/footprint.c $(FCFLAGS) $(_CFLAGS) $(_LDFLAGS)20 $(APP_CC) -o $(EXE) ../src/samples/footprint.c $(FCFLAGS) $(_CFLAGS) $(_LDFLAGS) 48 21 $(CROSS_COMPILE)strip --strip-all $(EXE) 49 22
Note: See TracChangeset
for help on using the changeset viewer.