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
@@ -2,10 +2,11 @@
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
MODNAME=mod_xml_curl
LOCAL_CFLAGS=-I$(BASE)/libs/curl/include
LOCAL_LDFLAGS=$(BASE)/libs/curl/lib/libcurl.la
LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/curl && $(MAKE)
+2 -2
View File
@@ -1,11 +1,11 @@
MODNAME=mod_xml_rpc
LOCAL_LDFLAGS = $(BASE)/libs/xmlrpc-c/src/libxmlrpc.la $(BASE)/libs/xmlrpc-c/src/libxmlrpc_server.la
LOCAL_LDFLAGS += $(BASE)/libs/xmlrpc-c/src/libxmlrpc_server_abyss.la $(BASE)/libs/xmlrpc-c/lib/abyss/src/libxmlrpc_abyss.la
LOCAL_LDFLAGS += $(BASE)/libs/xmlrpc-c/lib/expat/xmlparse/libxmlrpc_xmlparse.la
LOCAL_CFLAGS=-I$(BASE)/libs/xmlrpc-c/include
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/xmlrpc-c && $(MAKE)