提交 8fc04dee authored 作者: Michael Jerris's avatar Michael Jerris

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
上级 d66d95fb
......@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论