mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
remove gmakeisms from sofia, portaudio and cepstral makefiles. simplify the module template makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4635 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8a90afdb4b
commit
d59122379c
4 files changed
+20
-49
No files matched your search
@@ -1,14 +1,12 @@
|
||||
BASE=../../../..
|
||||
OSARCH=$(shell uname -s)
|
||||
|
||||
PA_DIR=$(BASE)/libs/portaudio
|
||||
|
||||
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
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
BASE=../../../..
|
||||
|
||||
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
|
||||
|
||||
SOFIA_DIR=$(BASE)/libs/sofia-sip
|
||||
SOFIAUA_DIR=$(SOFIA_DIR)/libsofia-sip-ua
|
||||
|
||||
@@ -19,9 +17,7 @@ SOFIALA=$(SOFIAUA_DIR)/libsofia-sip-ua.la
|
||||
|
||||
LOCAL_LIBADD=$(SOFIALA)
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
LOCAL_LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
|
||||
endif
|
||||
LOCAL_INSERT_LDFLAGS=if test $$osarch = "Darwin" ; then echo "-framework CoreFoundation -framework SystemConfiguration" ; fi ;
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
|
||||
Reference in new issue
Block a user