summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-11 14:28:06 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-08-11 14:28:06 +0300
commite0a013397a51963039c43877be3afe954e519be0 (patch)
tree77cbd4db435ec62d679920596ffbd07166fdc902 /Makefile
parentcf7e91d59880424ff6c643a848938619b7968ad8 (diff)
downloadsquark-e0a013397a51963039c43877be3afe954e519be0.tar.bz2
squark-e0a013397a51963039c43877be3afe954e519be0.tar.xz
filter: implement basic analysis of urls
Analysing of the url host part, some simple tests. Not usable as squid filter yet.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4b84a6..499eb67 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-TARGETS=squark-auth squarkdb.so
+TARGETS=squark-auth squark-filter squarkdb.so
NETSNMP_CFLAGS:=$(shell net-snmp-config --cflags)
NETSNMP_LIBS:=$(shell net-snmp-config --libs)
@@ -15,6 +15,9 @@ all: $(TARGETS)
squark-auth: squark-auth.o blob.o
$(CC) -o $@ $^ $(NETSNMP_LIBS)
+squark-filter: squark-filter.o squarkdb.o blob.o
+ $(CC) -o $@ $^ $(CMPH_LIBS)
+
squarkdb.so: lua-squarkdb.o squarkdb.o blob.o
$(CC) -shared -o $@ $^ $(LUA_LIBS) $(CMPH_LIBS)