Adding this for sofia on OS X

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2870 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-09-29 18:16:57 +00:00
parent 396beef390
commit 9da136af12
1 changed files with 4 additions and 1 deletions

View File

@ -1,9 +1,12 @@
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
VERSION = sofia-sip-1.12 VERSION = sofia-sip-1.12
TARBALL = sofia-sip-1.12.2.tar.gz TARBALL = sofia-sip-1.12.2.tar.gz
CFLAGS += -I. -I$(PREFIX)/include/$(VERSION) CFLAGS += -I. -I$(PREFIX)/include/$(VERSION)
LDFLAGS += -lsofia-sip-ua LDFLAGS += -lsofia-sip-ua
LINKER=$(CC) LINKER=$(CC)
ifeq ($(OS_ARCH),Darwin)
LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
endif
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
depends: depends: