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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/pjsip-apps/src/3rdparty_media_sample/Makefile

  • 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
 
include ../../../build.mak
3
 
 
4
 
 
5
 
###############################################################################
6
 
# Gather all flags.
7
 
#
8
 
export _CFLAGS  := $(PJ_CFLAGS) $(CFLAGS)
9
 
export _CXXFLAGS:= $(PJ_CXXFLAGS)
10
 
export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS)
11
 
 
12
 
OBJS = alt_pjsua_aud.o alt_pjsua_vid.o pjsua_app.o main.o
13
 
 
14
 
all: alt_pjsua
15
 
 
16
 
alt_pjsua: $(OBJS)
17
 
        $(PJ_CC) -o $@ $(OBJS) $(_CFLAGS) $(_LDFLAGS)
18
 
 
19
 
pjsua_app.o: ../pjsua/pjsua_app.c
20
 
        $(PJ_CC) $(_CFLAGS) -c -o $@ $<
21
 
 
22
 
main.o: ../pjsua/main.c
23
 
        $(PJ_CC) $(_CFLAGS) -c -o $@ $<
24
 
 
25
 
%.o: %.c
26
 
        $(PJ_CC) $(_CFLAGS) -c -o $@ $<
27
 
 
28
 
depend:
29
 
 
30
 
clean:
31
 
        rm -f *.o alt_pjsua 
32
 
 
33
 
distclean realclean: clean
34