mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26: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:
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user