mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
031c0125ab
Submitted by: thompsa
25 lines
485 B
Plaintext
25 lines
485 B
Plaintext
--- Makefile.orig 2006-07-07 01:27:13.000000000 -0700
|
|
+++ Makefile 2008-05-28 13:00:20.000000000 -0700
|
|
@@ -7,14 +7,18 @@
|
|
LIBS=-lpcap -lutil
|
|
LDFLAGS=-g
|
|
|
|
-CFLAGS=-g -O $(WARNFLAGS)
|
|
+CFLAGS=-g -O
|
|
+
|
|
+.if defined(OLD_PFSYNC)
|
|
+CFLAGS+=-DOLD_PFSYNC
|
|
+.endif
|
|
|
|
TARGETS=pfflowd
|
|
|
|
all: $(TARGETS)
|
|
|
|
-pfflowd: pfflowd.o
|
|
- $(CC) $(LDFLAGS) -o $@ pfflowd.o $(LIBS)
|
|
+pfflowd: pfflowd.o pidfile.o
|
|
+ $(CC) $(LDFLAGS) -o $@ pfflowd.o pidfile.o $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(TARGETS) *.o core *.core
|