allow you to export var MODULES that will override what is in modules.conf for that build. work a little harder to try to make it so you can do make in a module directory. More on that later

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4583 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-03-13 16:49:15 +00:00
parent 3bd2569177
commit d66d95fb29
3 changed files with 41 additions and 39 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ extraclean: distclean local_extraclean
Makefile:
@if test ! -f $@; then \
echo include $(switch_srcdir)/build/modmake.rules > Makefile ; \
echo MODNAME=$(MODNAME) > Makefile ; \
echo include $(switch_srcdir)/build/modmake.rules >> Makefile ; \
fi ;
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).o $(LOCAL_OBJS) $(SOURCEFILE)