mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 11:50:53 +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,24 +0,0 @@
|
||||
json-c=json-c-0.9
|
||||
BASE=../../../..
|
||||
|
||||
JSON_DIR=$(switch_srcdir)/libs/$(json-c)
|
||||
JSON_BUILDDIR=$(switch_builddir)/libs/$(json-c)
|
||||
|
||||
JSONLA=$(JSON_BUILDDIR)/libjson.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(JSON_DIR)
|
||||
LOCAL_LIBADD=$(JSONLA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(JSON_DIR):
|
||||
$(GETLIB) $(json-c).tar.gz
|
||||
|
||||
$(JSON_BUILDDIR)/Makefile: $(JSON_DIR)
|
||||
mkdir -p $(JSON_BUILDDIR)
|
||||
cd $(JSON_BUILDDIR) && $(DEFAULT_VARS) $(JSON_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(JSON_DIR) CPPFLAGS= LDFLAGS=
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
$(JSONLA): $(JSON_BUILDDIR)/Makefile
|
||||
cd $(JSON_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
@@ -0,0 +1,32 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
MODNAME=mod_curl
|
||||
|
||||
JSON_C=json-c-0.9
|
||||
JSON_DIR=$(switch_srcdir)/libs/$(JSON_C)
|
||||
JSON_BUILDDIR=$(switch_builddir)/libs/$(JSON_C)
|
||||
JSONLA=$(JSON_BUILDDIR)/libjson.la
|
||||
|
||||
mod_LTLIBRARIES = mod_curl.la
|
||||
mod_curl_la_SOURCES = mod_curl.c
|
||||
mod_curl_la_CFLAGS = $(AM_CFLAGS) -I$(JSON_DIR)
|
||||
mod_curl_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(JSONLA)
|
||||
mod_curl_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
BUILT_SOURCES=$(JSONLA)
|
||||
|
||||
$(JSON_DIR):
|
||||
$(GETLIB) $(JSON_C).tar.gz
|
||||
|
||||
$(JSON_BUILDDIR)/Makefile: $(JSON_DIR)
|
||||
mkdir -p $(JSON_BUILDDIR)
|
||||
cd $(JSON_BUILDDIR) && $(DEFAULT_VARS) $(JSON_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(JSON_DIR) CPPFLAGS= LDFLAGS=
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
$(JSONLA): $(JSON_BUILDDIR)/Makefile
|
||||
cd $(JSON_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user