mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +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,21 +0,0 @@
|
||||
BASE=../../../..
|
||||
|
||||
YAMLLIB=$(switch_srcdir)/libs/yaml
|
||||
YAMLBUILDLIB=$(switch_builddir)/libs/yaml
|
||||
LIBYAML_A=$(YAMLBUILDLIB)/src/.libs/libyaml.a
|
||||
LOCAL_CFLAGS=-I$(YAMLLIB)/include
|
||||
LOCAL_LIBADD=$(LIBYAML_A)
|
||||
VERBOSE=1
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
local_depend: $(LIBYAML_A)
|
||||
|
||||
$(LIBYAML_A):
|
||||
mkdir -p $(YAMLBUILDLIB)
|
||||
cd $(YAMLBUILDLIB) && $(DEFAULT_VARS) $(YAMLLIB)/configure $(DEFAULT_ARGS) --srcdir=$(YAMLLIB)
|
||||
cd $(YAMLBUILDLIB) && $(MAKE)
|
||||
|
||||
yamlclean:
|
||||
cd $(YAMLBUILDLIB) && $(MAKE) clean
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_yaml
|
||||
|
||||
YAMLLIB=$(switch_srcdir)/libs/yaml
|
||||
YAMLBUILDLIB=$(switch_builddir)/libs/yaml
|
||||
LIBYAML_A=$(YAMLBUILDLIB)/src/.libs/libyaml.a
|
||||
|
||||
mod_LTLIBRARIES = mod_yaml.la
|
||||
mod_yaml_la_SOURCES = mod_yaml.c
|
||||
mod_yaml_la_CFLAGS = $(AM_CFLAGS) -I$(YAMLLIB)/include
|
||||
mod_yaml_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(LIBYAML_A)
|
||||
mod_yaml_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
BUILT_SOURCES=$(LIBYAML_A)
|
||||
|
||||
$(LIBYAML_A):
|
||||
mkdir -p $(YAMLBUILDLIB)
|
||||
cd $(YAMLBUILDLIB) && $(DEFAULT_VARS) $(YAMLLIB)/configure $(DEFAULT_ARGS) --srcdir=$(YAMLLIB) --with-pic
|
||||
cd $(YAMLBUILDLIB) && $(MAKE)
|
||||
|
||||
yamlclean:
|
||||
cd $(YAMLBUILDLIB) && $(MAKE) clean
|
||||
|
||||
Reference in new issue
Block a user