aboutsummaryrefslogtreecommitdiffstats
path: root/utils/Makefile
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-10 16:59:18 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-10 16:59:18 +0000
commit32f5cd52026752f476547a46590f522415c4decc (patch)
treec5bf3479e665757f1379d7d4b467528d8d888483 /utils/Makefile
parent4d237dbf0fbbbf284078cfebb3275030e5a54365 (diff)
Committing my test for astobj2, hashtest2.c, along with makefile changes in utils.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82140 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 717c0dc07..fcc9b477c 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -16,7 +16,7 @@
.PHONY: clean all uninstall
# to get check_expr, add it to the ALL_UTILS list
-ALL_UTILS:=astman smsq stereorize streamplayer aelparse muted check_expr conf2ael
+ALL_UTILS:=astman smsq stereorize streamplayer aelparse muted check_expr conf2ael hashtest2
UTILS:=$(ALL_UTILS)
include $(ASTTOPDIR)/Makefile.rules
@@ -114,6 +114,26 @@ aelparse.o: ASTCFLAGS+=-I../res -DSTANDALONE_AEL
aelparse: aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o
+astobj2.c : ../main/astobj2.c ../include/asterisk/astobj2.h
+ cp ../main/astobj2.c .
+
+utils.c : ../main/utils.c
+ cp ../main/utils.c .
+
+sha1.c : ../main/sha1.c
+ cp ../main/sha1.c .
+
+sha1.o : sha1.c
+utils.o : utils.c
+
+astobj2.o : astobj2.c
+
+hashtest2.o : hashtest2.c
+ $(CC) -g -O0 -c hashtest2.c -I/usr/include -I../include
+
+hashtest2 : hashtest2.o md5.o utils.o astobj2.o sha1.o
+ $(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o -lpthread
+
extconf.o : extconf.c
conf2ael: conf2ael.o ast_expr2f.o ast_expr2.o aelbison.o aelparse.o pbx_ael.o pval.o extconf.o strcompat.o