[asterisk-addons-commits] kpfleming: branch 1.4 r308 - /branches/1.4/Makefile

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Fri Sep 22 16:30:23 MST 2006


Author: kpfleming
Date: Fri Sep 22 18:30:22 2006
New Revision: 308

URL: http://svn.digium.com/view/asterisk-addons?rev=308&view=rev
Log:
remove silly sort
don't try to compute dependencies for modules we aren't going to build anyway

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk-addons/branches/1.4/Makefile?rev=308&r1=307&r2=308&view=diff
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Fri Sep 22 18:30:22 2006
@@ -49,7 +49,7 @@
 endif
 MODULES_DIR=$(ASTLIBDIR)/modules
 
-MODS:=$(sort format_mp3 app_saycountpl res_config_mysql app_addon_sql_mysql cdr_addon_mysql chan_ooh323)
+MODS:=app_addon_sql_mysql app_saycountpl cdr_addon_mysql chan_ooh323 format_mp3 res_config_mysql
 
 SELECTED_MODS:=$(patsubst %,%.so,$(filter-out $(MENUSELECT_ADDONS),$(MODS)))
 
@@ -159,7 +159,7 @@
 depend: .depend
 
 .depend:
-	build_tools/mkdep $(CFLAGS) $(wildcard *.c)
+	build_tools/mkdep $(CFLAGS) $(SELECTED_MODS:%.so=%.c)
 
 samples: 
 	mkdir -p $(DESTDIR)$(ASTETCDIR)



More information about the asterisk-addons-commits mailing list