Commit bc19e45d authored by 's avatar
Browse files

changes to Makefile to reflect the removal of local libnet directory


git-svn-id: file:///home/svn/mapi/trunk@234 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 3962e3a4
...@@ -19,8 +19,8 @@ all: $(TARGETS) ...@@ -19,8 +19,8 @@ all: $(TARGETS)
mapidstdflib.o: mapidstdflib.c ../mapidflib.h ../mapi.h mapidstdflib.o: mapidstdflib.c ../mapidflib.h ../mapi.h
$(CC) $(CFLAGS) -c $< $(CC) $(CFLAGS) -c $<
mapidstdflib.so: mapidstdflib.o pktcounter.o bytecounter.o getres.o strsearch.o bpffilter.o cooking.o ../fhelp.o ../mapiipc.o ../mstring.o ../list.o tobuffer.o tobuffer_all.o to_tcpdump.o sample.o startstop.o hash.o gap.o pktinfo.o res2file.o stats.o binop.o dist.o ../slist.o ../fifo.o ../cbuf.o ../flist.o hashsamp.o threshold.o bucket.o bpf_lib.a libnids.a libnet.a mapidstdflib.so: mapidstdflib.o pktcounter.o bytecounter.o getres.o strsearch.o bpffilter.o cooking.o ../fhelp.o ../mapiipc.o ../mstring.o ../list.o tobuffer.o tobuffer_all.o to_tcpdump.o sample.o startstop.o hash.o gap.o pktinfo.o res2file.o stats.o binop.o dist.o ../slist.o ../fifo.o ../cbuf.o ../flist.o hashsamp.o threshold.o bucket.o bpf_lib.a libnids.a
$(CC) $(CFLAGS) -shared -o $@ $^ -lfl -lrt -L.. -L. $(LIB_DIR) -lm -lpcap $(CC) $(CFLAGS) -shared -o $@ $^ -lfl -lrt -L.. -L. $(LIB_DIR) -lm -lnet -lpcap
cp $@ .. cp $@ ..
pktcounter.o: pktcounter.c pktcounter.o: pktcounter.c
...@@ -94,10 +94,6 @@ libnids.a: libnids/* ...@@ -94,10 +94,6 @@ libnids.a: libnids/*
cd libnids && make cd libnids && make
cp libnids/libnids.a . cp libnids/libnids.a .
libnet.a: libnet/*
cd libnet && make
cp libnet/src/libnet.a .
clean: clean:
@/bin/rm -f *.o *.so *.a *~ $(TARGETS) @/bin/rm -f *.o *.so *.a *~ $(TARGETS)
cd bpf && make clean cd bpf && make clean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment