mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 11:44:14 +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,18 +1,17 @@
|
||||
BASE=../../../..
|
||||
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_opus
|
||||
OPUS=opus-1.1-p2
|
||||
|
||||
OPUS_DIR=$(switch_srcdir)/libs/$(OPUS)
|
||||
OPUS_BUILDDIR=$(switch_builddir)/libs/$(OPUS)
|
||||
LOCAL_CFLAGS=-I$(OPUS_DIR)/include -g -O2
|
||||
LOCAL_LDFLAGS=-lm -lz
|
||||
|
||||
OPUS_LA=$(OPUS_BUILDDIR)/.libs/libopus.la
|
||||
|
||||
LOCAL_LIBADD=$(OPUS_LA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
mod_LTLIBRARIES = mod_opus.la
|
||||
mod_opus_la_SOURCES = mod_opus.c
|
||||
mod_opus_la_CFLAGS = $(AM_CFLAGS) -I$(OPUS_DIR)/include
|
||||
mod_opus_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(OPUS_LA)
|
||||
mod_opus_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm -lz
|
||||
|
||||
BUILT_SOURCES=$(OPUS_LA)
|
||||
$(OPUS_DIR):
|
||||
$(GETLIB) $(OPUS).tar.gz
|
||||
|
||||
@@ -23,7 +22,5 @@ $(OPUS_DIR)/Makefile: $(OPUS_DIR)
|
||||
$(OPUS_LA): $(OPUS_DIR)/Makefile
|
||||
cd $(OPUS_BUILDDIR) && $(MAKE)
|
||||
|
||||
|
||||
|
||||
$(MODNAME).lo: $(OPUS_LA)
|
||||
|
||||
Reference in new issue
Block a user