summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-08-29 22:03:37 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-08-29 22:03:37 +0000
commit0f03a734b17826783dba60a572371302755a2047 (patch)
treee6aa0fcc15c7915e5b37a2267d1c36c2c86f0b19 /utils/Makefile
parent8b331ab17d284dd26b7304467a033b0736f9297c (diff)
don't make expression evaluator allocate a memory buffer for each result
to be returned; use the buffers already present in the PBX for this purpose update testexpr2/check_expr to allocate buffers for expression evaluation git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/Makefile')
-rwxr-xr-xutils/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 137b0b748..2ee6a5901 100755
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -40,6 +40,7 @@ install:
clean:
rm -f *.o astman smsq stereorize check_expr .depend
+ rm -f ast_expr2.o ast_expr2f.o
astman: astman.o ../md5.o
$(CC) $(CFLAGS) -o astman astman.o ../md5.o -lnewt
@@ -47,8 +48,14 @@ astman: astman.o ../md5.o
stereorize: stereorize.o frame.o
$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm
-check_expr : check_expr.c ../ast_expr.a
- $(CC) $(CFLAGS) -o check_expr check_expr.c ../ast_expr.a
+ast_expr2.o: ../ast_expr2.c
+ gcc -g -c -o $@ $<
+
+ast_expr2f.o: ../ast_expr2f.c
+ gcc -g -c -DSTANDALONE -o $@ $<
+
+check_expr: check_expr.c ast_expr2.o ast_expr2f.o
+ $(CC) $(CFLAGS) -o $@ $^
smsq: smsq.o
$(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt