openbsd-ports/net/ipaudit/patches/patch-src_Makefile
margarida e31d1c073b Initail import of ipaudit-0.95
--
IPaudit is a software package to record and display network activity. 
It includes ipaudit, which stores counts of bytes and packets for 
every combination of host/port pairs and protocol. 
The utilities total and ipstrings can be used to investigate network 
traffic records from the command line.

WWW: http://ipaudit.sourceforge.net/
2003-05-14 12:53:19 +00:00

49 lines
1.2 KiB
Plaintext

$OpenBSD: patch-src_Makefile,v 1.1.1.1 2003/05/14 12:53:19 margarida Exp $
--- src/Makefile.orig Sun Jan 7 14:56:59 2001
+++ src/Makefile Tue May 13 04:41:55 2003
@@ -3,34 +3,34 @@ CIDIR=-I/usr/include/pcap
#LIB=../../libpcap-0.5/libpcap.a
LIB=-lpcap
-all: ipaudit total ipstrings beta-dir
+all: ipaudit total ipstrings
ipaudit: ipaudit.o hash.o
- $(CC) -o ipaudit ipaudit.o hash.o $(LIB)
+ $(CC) ${CFLAGS} -o ipaudit ipaudit.o hash.o $(LIB)
total: total.o hash.o
- $(CC) -o total total.o hash.o -lm
+ $(CC) ${CFLAGS} -o total total.o hash.o -lm
ipstrings: ipstrings.o
- $(CC) -o ipstrings ipstrings.o $(LIB)
+ $(CC) ${CFLAGS} -o ipstrings ipstrings.o $(LIB)
ipaudit.o: ipaudit.c hash.h
- $(CC) -c ipaudit.c $(CIDIR) $(DFLAGS)
+ $(CC) ${CFLAGS} -c ipaudit.c $(CIDIR) $(DFLAGS)
hash.o: hash.c hash.h
- $(CC) -c hash.c
+ $(CC) ${CFLAGS} -c hash.c
total.o: total.c hash.c hash.h
- $(CC) -c total.c
+ $(CC) ${CFLAGS} -c total.c
ipstrings.o: ipstrings.c
- $(CC) -c ipstrings.c $(CIDIR) $(DFLAGS)
+ $(CC) ${CFLAGS} -c ipstrings.c $(CIDIR) $(DFLAGS)
iprange: iprange.c
$(CC) -g -o iprange iprange.c
-beta-dir:
- $(MAKE) -C beta
+#beta-dir:
+# $(MAKE) -C beta
clean:
rm -f *.o