1998-07-02 11:12:04 +00:00
|
|
|
--- Makefile.in.orig Fri Apr 18 17:33:57 1997
|
|
|
|
+++ Makefile.in Wed Jul 1 20:17:08 1998
|
|
|
|
@@ -10,10 +10,10 @@
|
|
|
|
LIBS = @LIBS@
|
1998-04-04 04:58:26 +00:00
|
|
|
DEFS = @DEFS@
|
|
|
|
OS_OPT = @OS_OPT@
|
1998-07-02 11:12:04 +00:00
|
|
|
-OBJ_FLAG = -w -O2 -c
|
1998-04-04 04:58:26 +00:00
|
|
|
-OBJ_OPT = -I./libpcap-0.3 -L./libpcap-0.3
|
1998-07-02 11:12:04 +00:00
|
|
|
-EXE_FLAG = -w -O2 -o sniffit
|
1998-04-04 04:58:26 +00:00
|
|
|
-EXE_OPT = -I./libpcap-0.3 -L./libpcap-0.3 -lpcap
|
1998-07-02 11:12:04 +00:00
|
|
|
+OBJ_FLAG = ${CFLAGS} -w -c
|
|
|
|
+#OBJ_OPT = -I./libpcap-0.3 -L./libpcap-0.3
|
|
|
|
+EXE_FLAG = ${CFLAGS} -w -o sniffit
|
1998-04-04 04:58:26 +00:00
|
|
|
+EXE_OPT = -lpcap
|
|
|
|
EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \
|
|
|
|
sn_logfile.o
|
|
|
|
DEP_FILES = sn_config.h pcap.h sn_data.h sn_defines.h sn_plugins.h \
|
|
|
|
@@ -21,7 +21,7 @@
|
|
|
|
sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o
|
|
|
|
|
|
|
|
sniffit: $(SNIFFIT) $(DEP_FILES)
|
|
|
|
- cd libpcap-0.3; make; cd ..
|
|
|
|
+ #cd libpcap-0.3; make; cd ..
|
|
|
|
$(CC) $(EXE_FLAG) $(SNIFFIT) $(EXE_OBJ) $(EXE_OPT) $(LIBS) $(DEFS) $(OS_OPT)
|
|
|
|
strip sniffit
|
|
|
|
|