[asterisk-commits] trunk r23354 - /trunk/utils/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Apr 29 07:48:33 MST 2006


Author: kpfleming
Date: Sat Apr 29 09:48:32 2006
New Revision: 23354

URL: http://svn.digium.com/view/asterisk?rev=23354&view=rev
Log:
fix up dependencies for aelparse so that bison/flex will not be run to rebuild source files (that should _only_ be done manually)

Modified:
    trunk/utils/Makefile

Modified: trunk/utils/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/utils/Makefile?rev=23354&r1=23353&r2=23354&view=diff
==============================================================================
--- trunk/utils/Makefile (original)
+++ trunk/utils/Makefile Sat Apr 29 09:48:32 2006
@@ -57,16 +57,18 @@
 stereorize: stereorize.o frame.o
 	$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm
 
+.PHONY:	../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o
+
 ast_expr2.o: ../ast_expr2.c
-	gcc -g -c -o $@ $<
+	gcc  $(CFLAGS) -include ../include/autoconfig.h -c -o $@ $<
 
 ast_expr2f.o: ../ast_expr2f.c
-	gcc -g -c -DSTANDALONE -o $@ $<
+	gcc  $(CFLAGS) -include ../include/autoconfig.h -c -DSTANDALONE -o $@ $<
 
 check_expr: check_expr.c ast_expr2.o ast_expr2f.o
 	$(CC) $(CFLAGS) -o $@ $^
 
-aelparse : ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o ael_main.o ../ast_expr2f.o ../ast_expr2.o
+aelparse : ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ../pbx/pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o
 	$(CC) $(CFLAGS) -g -o aelparse ../pbx/ael/aelflex.o ../pbx/ael/aelbison.o ael_main.o ../pbx/pbx_ael.o ../ast_expr2f.o ../ast_expr2.o
 
 ael_main.o : ael_main.c ../include/asterisk/ael_structs.h



More information about the asterisk-commits mailing list