mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
do a better job with dependency tracking so the the mods don't keep trying to build or install when they don't need to. This should start to help with the speed of the build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4602 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
2da5437e0b
commit
18b47de4b2
25 files changed
+162
-149
No files matched your search
@@ -3,16 +3,28 @@
|
||||
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_dingaling
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/libdingaling/src
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/libdingaling/libdingaling.la
|
||||
LOCAL_OBJS=
|
||||
include ../../../../build/modmake.rules
|
||||
BASE=../../../..
|
||||
|
||||
local_depend:
|
||||
IKSEMELLA=$(BASE)/libs/iksemel/src/libiksemel.la
|
||||
DINGLA=$(BASE)/libs/libdingaling/libdingaling.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/libdingaling/src
|
||||
LOCAL_LDFLAGS=
|
||||
LOCAL_OBJS=
|
||||
LOCAL_LIBADD=$(DINGLA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
INST_DINGLA=$(PREFIX)/lib/libdingaling.la
|
||||
|
||||
$(IKSEMELLA):
|
||||
cd $(BASE)/libs/iksemel && $(MAKE)
|
||||
|
||||
$(DINGLA): $(IKSEMELLA)
|
||||
cd $(BASE)/libs/libdingaling && $(MAKE)
|
||||
|
||||
depend_install:
|
||||
cd $(BASE)/libs/iksemel && $(MAKE) install
|
||||
depend_install: $(INST_DINGLA)
|
||||
|
||||
$(INST_DINGLA): $(DINGLA)
|
||||
cd $(BASE)/libs/libdingaling && $(MAKE) install
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_iax
|
||||
BASE=../../../..
|
||||
IAXLA=$(BASE)/libs/iax/src/libiax.la
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/iax/src
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/iax/src/libiax.la
|
||||
LOCAL_OBJS=
|
||||
include ../../../../build/modmake.rules
|
||||
LOCAL_LDFLAGS=
|
||||
LOCAL_LIBADD=$(IAXLA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
$(IAXLA):
|
||||
cd $(BASE)/libs/iax && $(MAKE)
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
# define these targets in your makefile if you wish
|
||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||
BASE=../../../..
|
||||
OSARCH=$(shell uname -s)
|
||||
# and define these variables to impact your build
|
||||
MODNAME=mod_portaudio
|
||||
BASE=../../../..
|
||||
|
||||
PALA=$(BASE)/libs/portaudio/lib/libportaudio.la
|
||||
LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/portaudio/lib/libportaudio.la
|
||||
LOCAL_LDFLAGS=
|
||||
ifeq ($(OSARCH),Darwin)
|
||||
LOCAL_LDFLAGS += -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon
|
||||
endif
|
||||
LOCAL_LIBADD=$(PALA)
|
||||
LOCAL_OBJS=pablio.o pa_ringbuffer.o
|
||||
|
||||
include ../../../../build/modmake.rules
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
$(PALA):
|
||||
cd $(BASE)/libs/portaudio && $(MAKE)
|
||||
|
||||
pa_ringbuffer.o: pa_ringbuffer.c
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
MODNAME=mod_sofia
|
||||
|
||||
BASE=../../../..
|
||||
|
||||
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
|
||||
|
||||
LOCAL_CFLAGS = -I. -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/bnf -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/features
|
||||
@@ -11,7 +14,9 @@ LOCAL_CFLAGS += -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/soa -I$(BASE)/libs/sofi
|
||||
LOCAL_CFLAGS += -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/stun -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/su
|
||||
LOCAL_CFLAGS += -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/tport -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/url
|
||||
|
||||
LOCAL_LDFLAGS=$(BASE)/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la
|
||||
SOFIALA=$(BASE)/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la
|
||||
|
||||
LOCAL_LDFLAGS=$(SOFIALA)
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
LOCAL_LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
|
||||
@@ -19,5 +24,7 @@ endif
|
||||
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
local_depend:
|
||||
local_depend: $(SOFIALA)
|
||||
|
||||
$(SOFIALA):
|
||||
cd $(BASE)/libs/sofia-sip && $(MAKE)
|
||||
Reference in new issue
Block a user