mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@30 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
d11cf99269
commit
6afad1d2d0
5 files changed
+120
-4
No files matched your search
@@ -33,6 +33,7 @@
|
||||
OBJS=hashtable.o hashtable_itr.o openzap.o zap_config.o libteletone_detect.o libteletone_generate.o zap_buffer.o
|
||||
CFLAGS=$(ZAP_CFLAGS) -Iinclude
|
||||
MYLIB=libopenzap.a
|
||||
TMP=-I../../libpri-1.2.4 -Iinclude -I. -w
|
||||
|
||||
include general.makefile $(ZAP_MODS)
|
||||
|
||||
@@ -45,6 +46,16 @@ $(MYLIB): $(OBJS)
|
||||
testapp: testapp.c $(MYLIB)
|
||||
$(CC) -L. -Iinclude testapp.c -o testapp -lopenzap -lm
|
||||
|
||||
|
||||
priserver.o: priserver.c
|
||||
$(CC) $(TMP) -c priserver.c -o priserver.o
|
||||
|
||||
sangoma_pri.o: sangoma_pri.c
|
||||
$(CC) $(TMP) -c sangoma_pri.c -o sangoma_pri.o
|
||||
|
||||
priserver: $(MYLIB) priserver.o sangoma_pri.o
|
||||
$(CC) sangoma_pri.o priserver.o -L. -o priserver -lopenzap -lm ../../libpri-1.2.4/libpri.a
|
||||
|
||||
openzap.o: openzap.c
|
||||
$(CC) $(MOD_CFLAGS) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
Reference in new issue
Block a user