aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorcebka@cebka-laptop <cebka@cebka-laptop>2008-10-13 19:06:07 +0400
committercebka@cebka-laptop <cebka@cebka-laptop>2008-10-13 19:06:07 +0400
commitda93e9d6351e238ff66d04b9a7a712f161e2defc (patch)
tree3613023247d7e80dc4e3fc74b9ebf6b9a1464662 /utils
parent6c55c3314c9599fa1d97d7afd6a31b1982805265 (diff)
downloadrspamd-da93e9d6351e238ff66d04b9a7a712f161e2defc.tar.gz
rspamd-da93e9d6351e238ff66d04b9a7a712f161e2defc.zip
* Implement expression parser (convertor to inverse polish record)
* Improve configure system by implementing dependencies * Add .depend files for subdirs that requre it * Write simple test for expressions parser
Diffstat (limited to 'utils')
-rw-r--r--utils/.depends7
-rw-r--r--utils/Makefile.in4
2 files changed, 9 insertions, 2 deletions
diff --git a/utils/.depends b/utils/.depends
new file mode 100644
index 000000000..52848a04a
--- /dev/null
+++ b/utils/.depends
@@ -0,0 +1,7 @@
+#if HAVE_STRLCPY_H
+../strlcpy.c
+#endif
+../mem_pool.c
+../url.c
+../util.c
+../memcached.c
diff --git a/utils/Makefile.in b/utils/Makefile.in
index 4ceb18ae1..3b9aa8e07 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -2,8 +2,8 @@
all: url_extracter
-url_extracter: $(OBJECTS) ../url.o ../util.o
- $(CC) $(PTHREAD_LDFLAGS) $(LDFLAGS) $(OBJECTS) ../url.o ../util.o ../mem_pool.o $(LIBS) -o url_extracter
+url_extracter: $(OBJECTS) $(OBJ_DEPENDS)
+ $(CC) $(PTHREAD_LDFLAGS) $(LDFLAGS) $(OBJECTS) $(OBJ_DEPENDS) $(LIBS) -o url_extracter
clean:
rm -f *.o url_extracter *.core