aboutsummaryrefslogtreecommitdiffstats
path: root/utils/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-29 22:03:37 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-29 22:03:37 +0000
commit558f8be1b81fd211756afb3f3814490bfc0763d7 (patch)
treee6aa0fcc15c7915e5b37a2267d1c36c2c86f0b19 /utils/Makefile
parent02052f2d90c56c341514e1b0ed5f62c65f9ea142 (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: http://svn.digium.com/svn/asterisk/trunk@6440 f38db490-d61c-443f-a65b-d21fe96a405b
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