summaryrefslogtreecommitdiff
path: root/res/Makefile
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2012-07-01 17:28:57 +0000
committerJoshua Colp <jcolp@digium.com>2012-07-01 17:28:57 +0000
commit37256ea45d7a5c088229af496df366dc42005d15 (patch)
treeabf99698af1acb0debf7dcae64d7ca8015710fd1 /res/Makefile
parent628425ba6fdc1ce1aa6f85e33fe83f1e6eeeaa00 (diff)
Add support for ICE/STUN/TURN in res_rtp_asterisk and chan_sip.
Review: https://reviewboard.asterisk.org/r/1891/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/Makefile')
-rw-r--r--res/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile
index 14fbf6488..bfbca76b3 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -68,3 +68,16 @@ ael/pval.o: ael/pval.c
clean::
rm -f snmp/*.o snmp/*.i ael/*.o ael/*.i ais/*.o ais/*.i
+
+pjproject/build.mak:
+ cd pjproject && ./configure AR="" CFLAGS=-fPIC --disable-floating-point --disable-sound --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec
+
+include pjproject/build.mak
+
+res_rtp_asterisk.o: pjproject/build.mak $(PJ_LIB_FILES)
+res_rtp_asterisk.o: _ASTCFLAGS+=$(PJ_CFLAGS)
+res_rtp_asterisk.so: _ASTLDFLAGS+=$(PJ_LDFLAGS)
+res_rtp_asterisk.so: LIBS+=$(PJ_LDLIBS)
+
+$(PJ_LIB_FILES):
+ cd pjproject && make dep && make