mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 07:14:14 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4643 d0543943-73ff-0310-b7d9-9358b9ac24b2
21 lines
541 B
Makefile
21 lines
541 B
Makefile
BASE=../../../..
|
|
|
|
PA_DIR=$(BASE)/libs/portaudio
|
|
|
|
PALA=$(PA_DIR)/lib/libportaudio.la
|
|
LOCAL_CFLAGS=-I. -I$(PA_DIR)/include -D__EXTENSION__=1
|
|
|
|
LOCAL_INSERT_LDFLAGS=if test $$osarch = "Darwin" ; then echo "-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" ; fi ;
|
|
|
|
LOCAL_LIBADD=$(PALA)
|
|
LOCAL_OBJS=pablio.o pa_ringbuffer.o
|
|
LOCAL_SOURCES=pablio.c pa_ringbuffer.c
|
|
|
|
include $(BASE)/build/modmake.rules
|
|
|
|
$(PALA): $(PA_DIR) $(PA_DIR)/.update
|
|
cd $(PA_DIR) && $(MAKE)
|
|
$(TOUCH_TARGET)
|
|
|
|
$(LOCAL_OBJS): $(LOCAL_SOURCES)
|