~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.2.1/pjsip-apps/build/Footprint.mak

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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