mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +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
+10
-6
@@ -1,13 +1,18 @@
|
||||
BASE=../../../..
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_soundtouch
|
||||
VERSION=soundtouch-1.7.1
|
||||
SNDT_SRC=$(switch_srcdir)/libs/soundtouch
|
||||
SNDT_BUILD=$(switch_builddir)/libs/soundtouch
|
||||
LA=$(SNDT_BUILD)/source/SoundTouch/.libs/libSoundTouch.a
|
||||
LA=$(SNDT_BUILD)/source/SoundTouch/libSoundTouch.la
|
||||
|
||||
LOCAL_CFLAGS += -I$(SNDT_SRC)/include -DINTEGER_SAMPLES -I$(SNDT_BUILD)/include
|
||||
LOCAL_LIBADD=$(LA)
|
||||
mod_LTLIBRARIES = mod_soundtouch.la
|
||||
mod_soundtouch_la_SOURCES = mod_soundtouch.cpp
|
||||
mod_soundtouch_la_CFLAGS = $(AM_CFLAGS) -I$(SNDT_SRC)/include -DINTEGER_SAMPLES -I$(SNDT_BUILD)/include
|
||||
mod_soundtouch_la_CXXFLAGS = -I$(SNDT_SRC)/include -DINTEGER_SAMPLES -I$(SNDT_BUILD)/include
|
||||
mod_soundtouch_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(LA)
|
||||
mod_soundtouch_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
BUILT_SOURCES=$(LA)
|
||||
|
||||
$(SNDT_SRC):
|
||||
$(GETLIB) $(VERSION).tar.gz
|
||||
@@ -21,7 +26,6 @@ $(SNDT_BUILD)/Makefile: $(SNDT_SRC)
|
||||
cd $(SNDT_SRC) && AUTOMAKE="automake --add-missing --foreign --copy" autoreconf -fisv
|
||||
cd ${SNDT_BUILD} && $(DEFAULT_VARS) $(SNDT_SRC)/configure $(DEFAULT_ARGS) --enable-integer-samples --srcdir=$(SNDT_SRC)
|
||||
${TOUCH_TARGET}
|
||||
|
||||
|
||||
$(LA): $(SNDT_BUILD)/Makefile
|
||||
cd $(SNDT_BUILD) && ${MAKE}
|
||||
Reference in new issue
Block a user