diff -uNr asterisk-addons-1.6.2.0.ORIG/Makefile asterisk-addons-1.6.2.0/Makefile --- asterisk-addons-1.6.2.0.ORIG/Makefile 2010-01-27 11:10:32.000000000 +0000 +++ asterisk-addons-1.6.2.0/Makefile 2010-01-27 11:10:53.000000000 +0000 @@ -146,8 +146,8 @@ @echo "EMBED_LIBS+="`$(SILENTMAKE) -C $(@:-embed-libs=) SUBDIR=$(@:-embed-libs=) __embed_libs` >> makeopts.embed_rules $(MOD_SUBDIRS_MENUSELECT_TREE): - @$(SUBMAKE) -C $(@:-menuselect-tree=) SUBDIR=$(@:-menuselect-tree=) moduleinfo - @$(SUBMAKE) -C $(@:-menuselect-tree=) SUBDIR=$(@:-menuselect-tree=) makeopts + +@$(SUBMAKE) -C $(@:-menuselect-tree=) SUBDIR=$(@:-menuselect-tree=) moduleinfo + +@$(SUBMAKE) -C $(@:-menuselect-tree=) SUBDIR=$(@:-menuselect-tree=) makeopts makeopts.embed_rules: menuselect.makeopts @echo "Generating embedded module rules ..." @@ -306,27 +306,27 @@ MAKE_MENUSELECT=CC="$(HOST_CC)" CXX="$(CXX)" LD="" AR="" RANLIB="" CFLAGS="" $(MAKE) -C menuselect CONFIGURE_SILENT="--silent" menuselect/menuselect: menuselect/makeopts - $(MAKE_MENUSELECT) menuselect + +$(MAKE_MENUSELECT) menuselect menuselect/cmenuselect: menuselect/makeopts - $(MAKE_MENUSELECT) cmenuselect + +$(MAKE_MENUSELECT) cmenuselect menuselect/gmenuselect: menuselect/makeopts - $(MAKE_MENUSELECT) gmenuselect + +$(MAKE_MENUSELECT) gmenuselect menuselect/nmenuselect: menuselect/makeopts - $(MAKE_MENUSELECT) nmenuselect + +$(MAKE_MENUSELECT) nmenuselect menuselect/makeopts: makeopts - $(MAKE_MENUSELECT) makeopts + +$(MAKE_MENUSELECT) makeopts menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) configure @echo "Generating input for menuselect ..." @echo "" > $@ @echo >> $@ @echo "" >> $@ - @for dir in $(sort $(filter-out main,$(MOD_SUBDIRS))); do $(SUBMAKE) -C $${dir} SUBDIR=$${dir} moduleinfo >> $@; done - @for dir in $(sort $(filter-out main,$(MOD_SUBDIRS))); do $(SUBMAKE) -C $${dir} SUBDIR=$${dir} makeopts >> $@; done + +@for dir in $(sort $(filter-out main,$(MOD_SUBDIRS))); do $(SUBMAKE) -C $${dir} SUBDIR=$${dir} moduleinfo >> $@; done + +@for dir in $(sort $(filter-out main,$(MOD_SUBDIRS))); do $(SUBMAKE) -C $${dir} SUBDIR=$${dir} makeopts >> $@; done @echo "" >> $@ .PHONY: menuselect clean dist-clean distclean all cleantest install-xmldoc uninstall _uninstall uninstall-all dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_DIST_CLEAN) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS)