mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 20:43:51 +00:00
Fix bootstrap with automake 1.7
fix generation of modules.conf from modules.conf.in on first build some more steps towards removing gmake specific stuff from our makefiles. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4617 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
b9e033535b
commit
4ffd0bc0bd
8 files changed
+564
-38
No files matched your search
+6
-6
@@ -1,5 +1,5 @@
|
||||
EXTRA_DIST =
|
||||
SUBDIRS = . src/mod
|
||||
SUBDIRS = . src
|
||||
AUTOMAKE_OPTS = foreign
|
||||
NAME=freeswitch
|
||||
PREFIX=$(prefix)
|
||||
@@ -8,7 +8,7 @@ AM_CFLAGS = $(SWITCH_AM_CFLAGS)
|
||||
AM_CPPFLAGS = $(SWITCH_AM_CXXFLAGS)
|
||||
AM_LDFLAGS = $(SWITCH_AM_LDFLAGS)
|
||||
BASE = $(switch_srcdir)
|
||||
OSARCH=$(shell uname -s)
|
||||
OSARCH=`uname -s`
|
||||
|
||||
LIBTOOL=$(switch_builddir)/libtool
|
||||
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
@@ -65,8 +65,8 @@ src/include/switch_stun.h\
|
||||
src/include/switch_log.h\
|
||||
src/include/switch_xml.h
|
||||
|
||||
CORE_CFLAGS = $(shell $(switch_srcdir)/libs/apr/apr-1-config --cflags --cppflags --includes)
|
||||
CORE_CFLAGS += $(shell $(switch_srcdir)/libs/apr-util/apu-1-config --includes)
|
||||
CORE_CFLAGS = `$(switch_srcdir)/libs/apr/apr-1-config --cflags --cppflags --includes`
|
||||
CORE_CFLAGS += `$(switch_srcdir)/libs/apr-util/apu-1-config --includes`
|
||||
CORE_CFLAGS += -I$(switch_srcdir)/libs/sqlite
|
||||
CORE_CFLAGS += -I$(switch_srcdir)/libs/pcre
|
||||
CORE_CFLAGS += -I$(switch_srcdir)/libs/srtp/include
|
||||
@@ -85,7 +85,7 @@ libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS)
|
||||
libfreeswitch_la_LIBADD = $(CORE_LIBS)
|
||||
nodist_libfreeswitch_la_SOURCES = src/include/switch_version.h
|
||||
|
||||
$(libfreeswitch_la_SOURCES): $(CORE_LIBS)
|
||||
$(libfreeswitch_la_SOURCES): $(CORE_LIBS) $(library_include_HEADERS)
|
||||
|
||||
MOD_LINK = $(BASE)/libfreeswitch.la
|
||||
|
||||
@@ -153,7 +153,7 @@ $(CORE_LIBS):
|
||||
cd libs/libresample && $(MAKE)
|
||||
cd libs/libteletone && $(MAKE)
|
||||
|
||||
core: deps libfreeswitch.la
|
||||
core: $(CORE_LIBS) libfreeswitch.la
|
||||
|
||||
install_core: install-libLTLIBRARIES
|
||||
|
||||
|
||||
Reference in new issue
Block a user