47dffcf587
and regen patches while here ok pvalchev@ msf@
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.1 2005/05/24 00:00:11 mjc Exp $
|
|
--- Makefile.in.orig Tue Dec 15 15:58:01 1998
|
|
+++ Makefile.in Mon May 23 09:50:51 2005
|
|
@@ -11,14 +11,14 @@
|
|
DEFINES += #-D__DEBUG
|
|
|
|
FIREWALK = firewalk
|
|
-FIREWALK_LOC= /usr/local
|
|
+FIREWALK_LOC= @prefix@
|
|
FIREWALK_MAN= $(FIREWALK).1
|
|
INSTALL = ./install-sh
|
|
VER = 0.8
|
|
-DEFINES += @OS_S_DEFINES@
|
|
-CFLAGS = @CFLAGS@
|
|
+DEFINES += @OS_S_DEFINES@ `libnet-config-1.0 --defines`
|
|
+CFLAGS = @CFLAGS@ -I@prefix@/include/libnet-1.0
|
|
CPPFLAGS = @CPPFLAGS@
|
|
-LIBS = -lnet -lpcap @ADDITIONAL_LIBS@
|
|
+LIBS = -L@prefix@/lib/libnet-1.0 -lnet -lpcap @ADDITIONAL_LIBS@
|
|
OBJECTS = main.o firewalk.o ifaddrlist.o listener.o p_cap.o signal.o \
|
|
packet.o udptcpwalk.o port_list.o
|
|
.c.o:
|
|
@@ -36,7 +36,7 @@ dist: clean
|
|
@(cd ..; tar cvf $(FIREWALK)-$(VER).tar Firewalk/)
|
|
|
|
install: firewalk
|
|
- $(INSTALL) -c -m 0700 $(FIREWALK) $(FIREWALK_LOC)/bin
|
|
+ $(INSTALL) -c -m 0755 $(FIREWALK) $(FIREWALK_LOC)/sbin
|
|
$(INSTALL) -c -m 0644 $(FIREWALK_MAN) $(FIREWALK_LOC)/man/man1
|
|
|
|
clean:
|