mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 10:44:16 +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:
|
||||
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_shout
|
||||
LAME=lame-3.97
|
||||
SHOUT=libshout-2.2.2
|
||||
LAMELA=$(BASE)/libs/$(LAME)/libmp3lame/libmp3lame.la
|
||||
@@ -13,7 +14,7 @@ MP3OBJS=common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o
|
||||
LOCAL_OBJS=$(MP3OBJS)
|
||||
DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
$(LAMELA):
|
||||
MAKE="$(MAKE)" $(BASE)/build/buildlib.sh $(BASE) $(LAME).tar.gz $(DEFAULT_ARGS) --disable-decoder
|
||||
|
||||
@@ -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
|
||||
MONAME=mod_sndfile
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/libsndfile/src
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/libsndfile/src/libsndfile.la
|
||||
LOCAL_OBJS=
|
||||
include $(BASE)/build/modmake.rules
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
cd $(BASE)/libs/libsndfile && $(MAKE)
|
||||
Reference in new issue
Block a user