[asterisk-commits] branch group/autoconf_and_menuselect r22079 -
/team/group/autoconf_and_menuse...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Apr 21 13:52:20 MST 2006
Author: kpfleming
Date: Fri Apr 21 15:52:20 2006
New Revision: 22079
URL: http://svn.digium.com/view/asterisk?rev=22079&view=rev
Log:
re-enable building of utils, and include only the needed Asterisk headers and flags
Modified:
team/group/autoconf_and_menuselect/utils/Makefile
Modified: team/group/autoconf_and_menuselect/utils/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/utils/Makefile?rev=22079&r1=22078&r2=22079&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/utils/Makefile (original)
+++ team/group/autoconf_and_menuselect/utils/Makefile Fri Apr 21 15:52:20 2006
@@ -14,7 +14,7 @@
#
# Don't use ast mm routines
#
-TARGET:=astman smsq stereorize streamplayer
+UTILS:=astman smsq stereorize streamplayer
ifeq (${OSARCH},SunOS)
SOL=../strcompat.o
@@ -48,8 +48,11 @@
rm -f *.o $(TARGET) check_expr
rm -f ast_expr2.o ast_expr2f.o
+astman.o: astman.c
+ $(CC) $(CFLAGS) -include ../include/autoconfig.h -c -o $@ $<
+
astman: astman.o ../md5.o
- $(CC) $(CFLAGS) -o astman astman.o ../md5.o -lnewt
+ $(CC) -D_GNU_SOURCE -o $@ $< ../md5.o -lnewt
stereorize: stereorize.o frame.o
$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm
@@ -62,6 +65,9 @@
check_expr: check_expr.c ast_expr2.o ast_expr2f.o
$(CC) $(CFLAGS) -o $@ $^
+
+smsq.o: smsq.c
+ $(CC) $(CFLAGS) -include ../include/autoconfig.h -c -o $@ $<
smsq: smsq.o
$(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt
More information about the asterisk-commits
mailing list