forked from Mirrors/freeswitch
get the include directory right in generated makefiles for both in tree and out of tree modules
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4584 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d66d95fb29
commit
8fc04deed6
@ -48,9 +48,10 @@ distclean: clean local_distclean
|
||||
extraclean: distclean local_extraclean
|
||||
|
||||
Makefile:
|
||||
@if test ! -f $@; then \
|
||||
if test ! -f $@; then \
|
||||
echo MODNAME=$(MODNAME) > Makefile ; \
|
||||
echo include $(switch_srcdir)/build/modmake.rules >> Makefile ; \
|
||||
if ! pwd | grep $(switch_srcdir)/src/mod ; then rulesdir=$(switch_srcdir) ; else rulesdir=../../../.. ; fi ; \
|
||||
echo include $$rulesdir/build/modmake.rules >> Makefile ; \
|
||||
fi ;
|
||||
|
||||
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).o $(LOCAL_OBJS) $(SOURCEFILE)
|
||||
|
Loading…
Reference in New Issue
Block a user