add support for doing make from the module directory of the in tree modules.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4586 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-03-13 18:23:49 +00:00
parent f4e1b3d804
commit b196ff7205
35 changed files with 70 additions and 38 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
MODNAME=mod_sofia
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
LOCAL_CFLAGS = -I. -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/bnf -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/features
@@ -16,7 +17,7 @@ ifeq ($(OS_ARCH),Darwin)
LOCAL_LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
endif
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/sofia-sip && $(MAKE)