[asterisk-commits] branch russell/menuselect_external r35702 - /team/russell/menuselect_external/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jun 23 07:10:32 MST 2006


Author: russell
Date: Fri Jun 23 09:10:31 2006
New Revision: 35702

URL: http://svn.digium.com/view/asterisk?rev=35702&view=rev
Log:
makefile updates for the new menuselect location

Modified:
    team/russell/menuselect_external/Makefile

Modified: team/russell/menuselect_external/Makefile
URL: http://svn.digium.com/view/asterisk/team/russell/menuselect_external/Makefile?rev=35702&r1=35701&r2=35702&view=diff
==============================================================================
--- team/russell/menuselect_external/Makefile (original)
+++ team/russell/menuselect_external/Makefile Fri Jun 23 09:10:31 2006
@@ -392,8 +392,8 @@
 	@echo "****"
 	@exit 1
 
-menuselect.makeopts: build_tools/menuselect makeopts.xml
-	@build_tools/menuselect --check-deps ${GLOBAL_MAKEOPTS} ${USER_MAKEOPTS} $@
+menuselect.makeopts: menuselect/menuselect makeopts.xml
+	@menuselect/menuselect --check-deps ${GLOBAL_MAKEOPTS} ${USER_MAKEOPTS} $@
 
 #ifneq ($(wildcard tags),)
 ctags: tags
@@ -871,11 +871,11 @@
 	rm -rf $(DESTDIR)$(ASTETCDIR)
 	rm -rf $(DESTDIR)$(ASTLOGDIR)
 
-menuselect: build_tools/menuselect makeopts.xml
-	- at build_tools/menuselect ${GLOBAL_MAKEOPTS} ${USER_MAKEOPTS} menuselect.makeopts && echo "menuselect changes saved!" || echo "menuselect changes NOT saved!"
-
-build_tools/menuselect: build_tools/menuselect.c build_tools/menuselect_curses.c build_tools/menuselect.h config.status mxml/libmxml.a $(MENUSELECT_OBJS)
-	$(MAKE) -C build_tools menuselect
+menuselect: menuselect/menuselect makeopts.xml
+	- at menuselect/menuselect ${GLOBAL_MAKEOPTS} ${USER_MAKEOPTS} menuselect.makeopts && echo "menuselect changes saved!" || echo "menuselect changes NOT saved!"
+
+menuselect/menuselect: menuselect/menuselect.c menuselect/menuselect_curses.c menuselect/menuselect.h config.status mxml/libmxml.a $(MENUSELECT_OBJS)
+	@CFLAGS="-include ../include/asterisk/autoconfig.h" $(MAKE) -C menuselect menuselect
 
 mxml/libmxml.a:
 	@cd mxml && unset CFLAGS LIBS && test -f config.h || ./configure



More information about the asterisk-commits mailing list