mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +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:
1 parent
f4e1b3d804
commit
b196ff7205
35 files changed
+70
-38
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user