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
2007-03-13 18:23:49 +00:00
parent f4e1b3d804
commit b196ff7205
35 changed files with 70 additions and 38 deletions

View File

@@ -1,3 +1,4 @@
MODNAME=mod_amr
ifeq ($(shell ls -d $(BASE)/libs/amr),$(BASE)/libs/amr)
LOCAL_CFLAGS += -I$(PREFIX)/include/amr
@@ -9,4 +10,4 @@ LOCAL_CFLAGS += -DAMR_PASSTHROUGH
endif
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules

View File

@@ -2,9 +2,10 @@
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
MODNAME=mod_g711
LOCAL_CFLAGS=-I$(BASE)/libs/codec/g7xx/src/include
LOCAL_LDFLAGS=
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules

View File

@@ -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_g722
LOCAL_CFLAGS=-I$(BASE)/libs/codec/g7xx/src/include/
LOCAL_LDFLAGS=$(BASE)/libs/codec/g7xx/libg7xx.la
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/codec/g7xx && $(MAKE)

View File

@@ -1,7 +1,8 @@
MODNAME=mod_g723_1
ifeq ($(shell ls -d $(BASE)/libs/libg723_1),$(BASE)/libs/libg723_1)
LOCAL_CFLAGS += -I$(PREFIX)/include/g723
LOCAL_LDFLAGS +=-lg723
else
LOCAL_CFLAGS += -DG723_PASSTHROUGH
endif
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules

View File

@@ -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_g726
LOCAL_CFLAGS=-I$(BASE)/libs/codec/g726/src
LOCAL_LDFLAGS=
LOCAL_OBJS=$(BASE)/libs/codec/g726/libg726.la
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/codec/g726 && $(MAKE)

View File

@@ -1,3 +1,4 @@
MODNAME=mod_g729
ifeq ($(shell ls -d $(BASE)/libs/libg729),$(BASE)/libs/libg729)
LOCAL_CFLAGS += -I$(PREFIX)/include/libg729
LOCAL_LDFLAGS +=-lg729
@@ -5,4 +6,4 @@ else
LOCAL_CFLAGS += -DG729_PASSTHROUGH
endif
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules

View File

@@ -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_gsm
LOCAL_CFLAGS=-I$(BASE)/libs/codec/gsm/inc
LOCAL_LDFLAGS=$(BASE)/libs/codec/gsm/libgsm.la
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/codec/gsm && $(MAKE)

View File

@@ -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_ilbc
LOCAL_CFLAGS=-I$(BASE)/libs/codec/ilbc/src
LOCAL_LDFLAGS=$(BASE)/libs/codec/ilbc/libilbc.la
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/codec/ilbc && $(MAKE)

View File

@@ -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_lpc10
LOCAL_CFLAGS=-I$(BASE)/libs/codec/lpc10/src
LOCAL_LDFLAGS=$(BASE)/libs/codec/lpc10/liblpc10.la
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/codec/lpc10 && $(MAKE)

View File

@@ -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_speex
LOCAL_CFLAGS=-I$(BASE)/libs/speex/include
LOCAL_LDFLAGS=$(BASE)/libs/speex/libspeex/libspeex.la
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/speex && $(MAKE)