Add support for ICE/STUN/TURN in res_rtp_asterisk and chan_sip.
[asterisk/asterisk.git] / res / pjproject / pjsip-apps / build / Footprint.mak
1 #
2 # This file is used by get-footprint.py script to build samples/footprint.c
3 # to get the footprint report for PJSIP/PJMEDIA.
4 #
5 include ../../build.mak
6 include ../../build/common.mak
7
8
9 ###############################################################################
10 # Gather all flags.
11 #
12 export _CFLAGS  := $(APP_CFLAGS) $(CFLAGS)
13 export _CXXFLAGS:= $(_CFLAGS)
14
15 export _LDFLAGS := $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS)
16
17 EXE := footprint.exe
18
19 all: 
20         $(APP_CC) -o $(EXE) ../src/samples/footprint.c $(FCFLAGS) $(_CFLAGS) $(_LDFLAGS)
21         $(CROSS_COMPILE)strip --strip-all $(EXE)
22
23 clean:
24         rm -f $(EXE)
25
26 print_name:
27         @echo $(MACHINE_NAME) $(OS_NAME) $(CROSS_COMPILE)$(CC_NAME) `$(CROSS_COMPILE)$(CC_NAME) -dumpversion`
28