2000-07-15 16:45:18 +00:00
|
|
|
--- Makefile.orig Thu Mar 11 17:58:41 1999
|
|
|
|
+++ Makefile Sun Jul 16 00:45:14 2000
|
1999-03-18 08:53:23 +00:00
|
|
|
@@ -1,21 +1,21 @@
|
1999-09-17 17:35:06 +00:00
|
|
|
-CC=gcc
|
1999-03-18 08:53:23 +00:00
|
|
|
-GTK_FLAGS=`gtk-config --cflags` `gtk-config --libs`
|
1999-09-17 17:35:06 +00:00
|
|
|
+CC?=gcc
|
2000-07-15 16:45:18 +00:00
|
|
|
+GTK_FLAGS=`$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs`
|
1999-03-18 08:53:23 +00:00
|
|
|
|
|
|
|
all: gtkportscan portscan
|
|
|
|
|
|
|
|
portscan: portscan.c
|
|
|
|
- $(CC) -O2 -Wall portscan.c -o portscan -g
|
2000-07-15 16:45:18 +00:00
|
|
|
+ $(CC) $(CFLAGS) portscan.c -o portscan
|
1999-03-18 08:53:23 +00:00
|
|
|
|
|
|
|
gtkportscan: gtkportscan.c
|
|
|
|
- $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g
|
2000-07-15 16:45:18 +00:00
|
|
|
+ $(CC) $(CFLAGS) $(GTK_FLAGS) gtkportscan.c -o gtkportscan
|
1999-03-18 08:53:23 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- cp portscan /usr/local/bin
|
|
|
|
- cp gtkportscan /usr/X11/bin
|
1999-05-29 03:56:15 +00:00
|
|
|
+ ${BSD_INSTALL_PROGRAM} portscan ${PREFIX}/bin
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} gtkportscan ${PREFIX}/bin
|
1999-03-18 08:53:23 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f portscan gtkportscan
|
|
|
|
|
|
|
|
uninstall:
|
1999-05-29 03:56:15 +00:00
|
|
|
- rm -f /usr/local/bin/portscan
|
1999-03-18 08:53:23 +00:00
|
|
|
- rm -f /usr/X11/bin/gtkportscan
|
1999-09-17 17:35:06 +00:00
|
|
|
+ rm -f ${PREFIX}/bin/portscan
|
1999-05-29 03:56:15 +00:00
|
|
|
+ rm -f ${PREFIX}/bin/gtkportscan
|