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
@@ -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