summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-11-07 00:47:39 +0200
committerTimo Teräs <timo.teras@iki.fi>2010-11-07 00:47:39 +0200
commit25593b5e6fea76ed7c08db586924032c0810c27e (patch)
treeb632534eb96978ad620fee1e5a9a5d280e0b191e /Makefile
parente0450bd60a30ca944c16f84ee195463fd4aab653 (diff)
downloadsquark-25593b5e6fea76ed7c08db586924032c0810c27e.tar.bz2
squark-25593b5e6fea76ed7c08db586924032c0810c27e.tar.xz
squark: reorganize sources to src directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index db683a2..0000000
--- a/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-TARGETS=squark-auth-snmp squark-auth-ip squark-filter squarkdb.so
-
-NETSNMP_CFLAGS:=$(shell net-snmp-config --cflags)
-NETSNMP_LIBS:=$(shell net-snmp-config --libs)
-LUA_CFLAGS:=$(shell pkg-config --cflags lua5.1)
-LUA_LIBS:=$(shell pkg-config --libs lua5.1)
-CMPH_CFLAGS:=$(shell pkg-config --cflags cmph)
-CMPH_LIBS:=$(shell pkg-config --libs cmph)
-
-CC=gcc
-CFLAGS=-g -I. $(NETSNMP_CFLAGS) $(LUA_CFLAGS) $(CMPH_CFLAGS) -std=gnu99 -D_GNU_SOURCE -Wall
-LIBS+=-lrt
-
-all: $(TARGETS)
-
-squark-auth-snmp: squark-auth-snmp.o filterdb.o authdb.o blob.o addr.o
- $(CC) -o $@ $^ $(NETSNMP_LIBS) $(LIBS)
-
-squark-auth-ip: squark-auth-ip.o filterdb.o authdb.o blob.o addr.o
- $(CC) -o $@ $^ $(LIBS)
-
-squark-filter: squark-filter.o filterdb.o authdb.o blob.o addr.o
- $(CC) -o $@ $^ $(CMPH_LIBS) $(LIBS)
-
-squarkdb.so: lua-squarkdb.o filterdb.o blob.o
- $(CC) -shared -o $@ $^ $(LUA_LIBS) $(CMPH_LIBS) $(LIBS)
-
-clean:
- rm $(OBJS1) $(TARGETS)
-