[Freeswitch-svn] [commit] r4725 - freeswitch/trunk/src/mod/endpoints/mod_wanpipe

Freeswitch SVN anthm at freeswitch.org
Wed Mar 21 20:52:13 EDT 2007


Author: anthm
Date: Wed Mar 21 20:52:13 2007
New Revision: 4725

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile

Log:
update

Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile	Wed Mar 21 20:52:13 2007
@@ -3,7 +3,6 @@
 LIBPRI=libpri-1.2.4
 LIBPRI_FILE=$(LIBPRI).tar.gz
 LIBPRI_DIR=$(BASE)/libs/$(LIBPRI)
-LIBPRI_A=$(LIBPRI_DIR)/libpri.a
 WANPIPE=wanpipe-3.1.0.p12
 WANPIPE_HOST=ftp://ftp.sangoma.com/linux/custom/3.1
 WANPIPE_FILE=$(WANPIPE).tgz
@@ -16,16 +15,14 @@
 LOCAL_CFLAGS  =-I$(WANPIPE_INCLUDE) -I$(LIBSANGOMA_DIR) -I/usr/local/include -I$(LIBPRI_DIR) -I/usr/src/linux/include -I. -I/usr/include 
 LOCAL_CFLAGS +=-D__LINUX__ -D_REENTRANT -D_GNU_SOURCE -DAFT_A104 -DWANPIPE_TDM_API -I$(switch_srcdir)/libs/libteletone/src
 LOCAL_CFLAGS +=-w
-LOCAL_OBJS=ss7boost_client.o $(BASE)/libs/libteletone/libteletone.la $(LIBSANGOMA_LA) $(LIBPRI_A)
+LOCAL_OBJS=ss7boost_client.o $(BASE)/libs/libteletone/libteletone.la $(LIBSANGOMA_LA)
 OPTS=--prefix=$(PREFIX) --with-libpri=../../../$(LIBPRI) --disable-shared
-
+LOCAL_OBJS +=$(LIBPRI_DIR)/copy_string.o $(LIBPRI_DIR)/pri.o $(LIBPRI_DIR)/q921.o $(LIBPRI_DIR)/prisched.o $(LIBPRI_DIR)/q931.o $(LIBPRI_DIR)/pri_facility.o
 include $(BASE)/build/modmake.rules
 
 $(LIBPRI_DIR):
 	$(GETLIB) $(LIBPRI_HOST) $(LIBPRI_FILE)
-	cd $(LIBPRI_DIR) && $(MAKE)
-
-$(LIBPRI_A): $(LIBPRI_DIR)
+	cd $(LIBPRI_DIR)
 
 $(LIBSANGOMA_MAKEFILE):
 	cd $(LIBSANGOMA_DIR) && CFLAGS="-I$(WANPIPE_INCLUDE)" ./configure $(OPTS)
@@ -40,6 +37,6 @@
 	cd $(WANPIPE_DIR) && $(MAKE) && $(MAKE) install
 	rm -f $(LIBSANGOMA_MAKEFILE)
 
-local_depend: $(WANPIPE_KO)
+local_depend: $(LIBPRI_DIR) $(WANPIPE_KO)
 
 



More information about the Freeswitch-svn mailing list