mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 13:07:06 +00:00
proper -j support for the module builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4897 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
dc064af5eb
commit
5f053e183a
3 files changed
+38
-93
No files matched your search
+4
-8
@@ -14,6 +14,9 @@ if CRASHPROT
|
||||
AM_CFLAGS += -DCRASH_PROT
|
||||
endif
|
||||
|
||||
.DEFAULT:
|
||||
@cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@
|
||||
|
||||
libfreeswitch_la_SOURCES = \
|
||||
src/switch_apr.c \
|
||||
src/switch_buffer.c \
|
||||
@@ -90,8 +93,6 @@ libs/libteletone/src/libteletone_detect.h\
|
||||
libs/libteletone/src/libteletone_generate.h\
|
||||
libs/libteletone/src/libteletone.h
|
||||
|
||||
|
||||
|
||||
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
|
||||
@@ -244,15 +245,10 @@ eclean: clean
|
||||
megaclean: eclean modclean
|
||||
rm -f `find ./libs -name \*.la`
|
||||
|
||||
@am__include@ @am__quote@./$(DEPDIR)/modules.targets@am__quote@
|
||||
|
||||
modules.conf:
|
||||
if test -f $@; then touch $@; else cp build/modules.conf.in $@ ;fi
|
||||
|
||||
./$(DEPDIR)/modules.targets: modules.conf
|
||||
mods=`cat modules.conf | sed -e 's|^.*/||'`; echo MODULE_TARGETS=\"$$mods\" > ./$(DEPDIR)/modules.targets
|
||||
|
||||
$(MODULE_TARGETS):
|
||||
$(OUR_MODULES):
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
(cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
|
||||
Reference in new issue
Block a user