mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
move applications to use automake
This commit is contained in:
1 parent
07272e864e
commit
bcd9f49fbe
234 files changed
+1729
-2421
No files matched your search
@@ -1,9 +0,0 @@
|
||||
BASE=../../../..
|
||||
|
||||
DIR=$(BASE)/libs/libg729
|
||||
BUILDDIR=$(BASE)/libs/libg729
|
||||
A=$(BUILDDIR)/.libs/libg729.a
|
||||
|
||||
LOCAL_INSERT_CFLAGS=if test -f $(A); then echo "-I$(DIR)/src/include" ; else echo "-DG729_PASSTHROUGH" ; fi ;
|
||||
LOCAL_INSERT_LDFLAGS=test ! -f $(A) || echo $(A)
|
||||
include $(BASE)/build/modmake.rules
|
||||
@@ -0,0 +1,19 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_g729
|
||||
|
||||
G729_DIR=$(switch_srcdir)/libs/libg729
|
||||
G729_BUILDDIR=$(switch_builddir)/libs/libg729
|
||||
G729_A=$(BUILDDIR)/.libs/libg729.a
|
||||
|
||||
mod_LTLIBRARIES = mod_g729.la
|
||||
mod_g729_la_SOURCES = mod_g729.c
|
||||
mod_g729_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_g729_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_g729_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
if HAVE_G729
|
||||
mod_g729_la_CFLAGS += -I$(G729_DIR)/src/include
|
||||
mod_g729_la_LIBADD +- $(G729_A)
|
||||
else
|
||||
mod_g729_la_CFLAGS += -DG729_PASSTHROUGH
|
||||
endif
|
||||
Reference in new issue
Block a user