mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.
Eliminate some more gmakeisms in the modules makefiles git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
70a70aa922
commit
940bf73b72
30 files changed
+147
-204
No files matched your search
@@ -1,10 +1,10 @@
|
||||
BASE=../../../..
|
||||
OSARCH=$(shell uname -s)
|
||||
|
||||
BASE=../../../..
|
||||
PA_DIR=$(BASE)/libs/portaudio
|
||||
|
||||
PALA=$(BASE)/libs/portaudio/lib/libportaudio.la
|
||||
LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include
|
||||
PALA=$(PA_DIR)/lib/libportaudio.la
|
||||
LOCAL_CFLAGS=-I. -I$(PA_DIR)/include
|
||||
LOCAL_LDFLAGS=
|
||||
ifeq ($(OSARCH),Darwin)
|
||||
LOCAL_LDFLAGS += -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon
|
||||
@@ -14,8 +14,11 @@ LOCAL_OBJS=pablio.o pa_ringbuffer.o
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(PALA):
|
||||
cd $(BASE)/libs/portaudio && $(MAKE)
|
||||
$(PALA): $(PA_DIR) $(PA_DIR)/.update
|
||||
cd $(PA_DIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
pa_ringbuffer.o: pa_ringbuffer.c
|
||||
$(COMPILE) -D__EXTENSION__=1 -c -o $@ $<
|
||||
|
||||
pablio.o: pablio.c
|
||||
Reference in new issue
Block a user