$NetBSD: patch-ad,v 1.2 1998/08/07 11:10:57 agc Exp $ --- Makefile.in.BAK Mon Mar 30 09:38:19 1998 +++ Makefile.in Mon Mar 30 09:38:50 1998 @@ -11,9 +11,9 @@ DEFS = @DEFS@ OS_OPT = @OS_OPT@ OBJ_FLAG = -w -O2 -c -OBJ_OPT = -I./libpcap-0.3 -L./libpcap-0.3 +OBJ_OPT = EXE_FLAG = -w -O2 -o sniffit -EXE_OPT = -I./libpcap-0.3 -L./libpcap-0.3 -lpcap +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,6 @@ sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sniffit: $(SNIFFIT) $(DEP_FILES) - cd libpcap-0.3; make; cd .. $(CC) $(EXE_FLAG) $(SNIFFIT) $(EXE_OBJ) $(EXE_OPT) $(LIBS) $(DEFS) $(OS_OPT) strip sniffit @@ -44,11 +43,7 @@ #Clean up everthing... clean: - cd libpcap-0.3; make clean; rm -f config.cache; cd .. rm -f config.cache rm -f config.status rm -f config.log - rm -f ./libpcap-0.3/config.cache - rm -f ./libpcap-0.3/config.status - rm -f ./libpcap-0.3/config.log rm -f *.o sniffit