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_mono
VERSION = mono-1.1.13.8
TARBALL = mono-1.1.13.8.tar.gz
GLIB_TARBALL = glib-2.12.3.tar.gz
@@ -6,7 +7,7 @@ PKGCONFIG_TARBALL = pkg-config-0.21.tar.gz
LOCAL_CFLAGS=`$(PREFIX)/bin/pkg-config --cflags mono`
LOCAL_LDFLAGS=`$(PREFIX)/bin/pkg-config --libs mono`
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) configure install $(GETTEXT_TARBALL) --prefix=$(PREFIX) --with-pic
+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_perl
LOCAL_CFLAGS=-DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
LOCAL_LDFLAGS=$(shell $(PERL) -MExtUtils::Embed -e ldopts) $(shell $(PERL) -MConfig -e 'print $$Config{libs}')
LOCAL_OBJS=perlxsi.o
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
PERL = $(shell which perl)
PERL_LIBDIR =-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE
+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_python
LOCAL_CFLAGS=-I$(PREFIX)/include/python2.4/
LOCAL_LDFLAGS=-lpython2.4 -L$(PREFIX)/lib/python2.4/config/ -lutil -lstdc++
LOCAL_OBJS=freeswitch_python.o mod_python_wrap.o
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
PYMOD=freeswitch
+2 -2
View File
@@ -1,9 +1,9 @@
MODNAME=mod_spidermonkey
include sm.mak
LOCAL_CFLAGS += -I$(BASE)/libs/curl/include
LOCAL_LDFLAGS += $(BASE)/libs/curl/lib/libcurl.la
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
cd $(BASE)/libs/curl && $(MAKE)
@@ -1,2 +1,3 @@
include ../mod_spidermonkey/sm.mak
include $(BASE)/build/modmake.rules
MODNAME=mod_spidermonkey_core_db
include ../../../../build/modmake.rules
@@ -3,10 +3,11 @@ include ../mod_spidermonkey/sm.mak
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
MODNAME=mod_spidermonkey_etpan
#LOCAL_CFLAGS=
LOCAL_LDFLAGS+=-letpan
#LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install libetpan --prefix=$(PREFIX)
@@ -3,10 +3,11 @@ include ../mod_spidermonkey/sm.mak
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
MODNAME=mod_spidermonkey_odbc
#LOCAL_CFLAGS=
LOCAL_LDFLAGS+=-lodbc
#LOCAL_OBJS=
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules
local_depend:
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install unixODBC-2.2.12.tar.gz --prefix=$(PREFIX) --disable-gui --without-x --with-pic
@@ -1,3 +1,4 @@
include ../mod_spidermonkey/sm.mak
include $(BASE)/build/modmake.rules
MODNAME=mod_spidermonkey_skel
include ../../../../build/modmake.rules
@@ -1,5 +1,5 @@
MODNAME=mod_spidermonkey_teletone
include ../mod_spidermonkey/sm.mak
LOCAL_CFLAGS+=-I$(BASE)/libs/libteletone/src
LOCAL_LDFLAGS+=$(BASE)/libs/libteletone/libteletone.la
include $(BASE)/build/modmake.rules
include ../../../../build/modmake.rules