add support for doing make from the module directory of the in tree modules.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4586 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-03-13 18:23:49 +00:00
1 parent f4e1b3d804
commit b196ff7205
35 files changed
+70 -38

No files matched your search

+2 -1
View File
@@ -2,11 +2,12 @@
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
MODNAME=mod_wanpipe
LOCAL_CFLAGS =-I/usr/local/include -I/usr/src/libpri -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_LDFLAGS=-lsangoma $(BASE)/libs/libteletone/libteletone.la
LOCAL_OBJS=ss7boost_client.o
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install libsangoma --prefix=$(PREFIX) --with-libpri=/usr/src/libpri