[Freeswitch-svn] [commit] r4643 - freeswitch/trunk/src/mod/endpoints/mod_portaudio

Freeswitch SVN mikej at freeswitch.org
Sun Mar 18 13:15:00 EDT 2007


Author: mikej
Date: Sun Mar 18 13:15:00 2007
New Revision: 4643

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile

Log:
bsd make tweak

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile	Sun Mar 18 13:15:00 2007
@@ -3,12 +3,13 @@
 PA_DIR=$(BASE)/libs/portaudio
 
 PALA=$(PA_DIR)/lib/libportaudio.la
-LOCAL_CFLAGS=-I. -I$(PA_DIR)/include
+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
 
@@ -16,7 +17,4 @@
 	cd $(PA_DIR) && $(MAKE)
 	$(TOUCH_TARGET)
 
-pa_ringbuffer.o: pa_ringbuffer.c
-	$(COMPILE) -D__EXTENSION__=1  -c -o $@ $<
-
-pablio.o: pablio.c
+$(LOCAL_OBJS): $(LOCAL_SOURCES)



More information about the Freeswitch-svn mailing list