mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
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:
@@ -2,10 +2,11 @@
|
||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_dingaling
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/libdingaling/src
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/libdingaling/libdingaling.la
|
||||
LOCAL_OBJS=
|
||||
include $(BASE)/build/modmake.rules
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
cd $(BASE)/libs/iksemel && $(MAKE)
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_iax
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/iax/src
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/iax/src/libiax.la
|
||||
LOCAL_OBJS=
|
||||
include $(BASE)/build/modmake.rules
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
cd $(BASE)/libs/iax && $(MAKE)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||
OSARCH=$(shell uname -s)
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_portaudio
|
||||
LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/portaudio/lib/libportaudio.la
|
||||
ifeq ($(OSARCH),Darwin)
|
||||
@@ -9,7 +10,7 @@ LOCAL_LDFLAGS += -framework CoreAudio -framework AudioToolbox -framework AudioUn
|
||||
endif
|
||||
LOCAL_OBJS=pablio.o pa_ringbuffer.o
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
cd $(BASE)/libs/portaudio && $(MAKE)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
MODNAME=mod_sofia
|
||||
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
|
||||
|
||||
LOCAL_CFLAGS = -I. -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/bnf -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/features
|
||||
@@ -16,7 +17,7 @@ ifeq ($(OS_ARCH),Darwin)
|
||||
LOCAL_LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
|
||||
endif
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
cd $(BASE)/libs/sofia-sip && $(MAKE)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user