mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
d678b0a73e
and uses characteristics of the TCP stream to guess the OS running on the endpoints.
22 lines
562 B
Plaintext
22 lines
562 B
Plaintext
--- Makefile.orig Thu May 4 11:10:24 2000
|
|
+++ Makefile Sat May 6 15:37:22 2000
|
|
@@ -1,6 +1,7 @@
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
CCFLAGS = -Wall -pthread -ggdb
|
|
-CFLAGS = -Wall -O2 -pthread -ggdb -I.
|
|
+CFLAGS ?= -O
|
|
+CFLAGS += -Wall -pthread -I. -DOSPRINTSCONF=\"${PREFIX}/share/siphon/osprints.conf\"
|
|
LIBS = -lpcap
|
|
OBJS = parse.o sniff.o main.o log.o
|
|
SRCS = ${OBJS:.o=.c}
|
|
@@ -9,7 +10,7 @@
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
- $(CC) $(CCFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
|
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(OBJS) *~ *.core core siphon
|