2000-03-27 01:23:45 +00:00
|
|
|
--- Makefile.in.orig Sun Mar 26 03:04:48 2000
|
|
|
|
+++ Makefile.in Sun Mar 26 17:16:58 2000
|
2000-01-04 08:00:20 +00:00
|
|
|
@@ -5,13 +5,13 @@
|
1999-02-08 11:58:17 +00:00
|
|
|
sbindir = @sbindir@
|
|
|
|
mandir = @mandir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
-libdir = @libdir@/nmap
|
|
|
|
+libdir = @libdir@
|
2000-01-04 08:00:20 +00:00
|
|
|
deskdir = $(prefix)/share/gnome/apps/Utilities
|
1999-02-08 11:58:17 +00:00
|
|
|
|
1998-08-20 22:06:00 +00:00
|
|
|
CC = @CC@
|
|
|
|
CCOPT =
|
|
|
|
LIBPCAPDIR = @libpcapdir@
|
|
|
|
-INCLS = -I. -I$(LIBPCAPDIR)
|
1998-12-15 11:18:32 +00:00
|
|
|
+INCLS = -I. # -I$(LIBPCAPDIR)
|
1999-02-08 11:58:17 +00:00
|
|
|
DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(libdir)\"
|
|
|
|
CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
|
|
|
|
# CFLAGS = -g -Wall $(DEFS) $(INCLS)
|
2000-01-04 08:00:20 +00:00
|
|
|
@@ -36,7 +36,7 @@
|
1998-12-15 11:18:32 +00:00
|
|
|
|
2000-03-27 01:23:45 +00:00
|
|
|
all: $(TARGET) nmapfe/nmapfe
|
1998-12-15 11:18:32 +00:00
|
|
|
|
2000-03-27 01:23:45 +00:00
|
|
|
-$(TARGET): $(DEPS) @PCAP_DEPENDS@ $(OBJS)
|
|
|
|
+$(TARGET): $(DEPS) $(OBJS)
|
1998-12-15 11:18:32 +00:00
|
|
|
@echo Compiling nmap
|
|
|
|
rm -f $@
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
2000-02-27 08:56:20 +00:00
|
|
|
@@ -128,7 +128,7 @@
|
|
|
|
$(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS)
|
|
|
|
|
2000-03-27 01:23:45 +00:00
|
|
|
install: $(TARGET)
|
2000-02-27 08:56:20 +00:00
|
|
|
- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(libdir) $(deskdir)
|
|
|
|
+ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(libdir)
|
|
|
|
$(INSTALL) -c -m 755 nmap $(bindir)/nmap
|
|
|
|
@echo "If the next command failes -- you cannot use the X front end"
|
|
|
|
-test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 nmapfe/nmapfe $(bindir)/nmapfe && $(SHTOOL) mkln -f -s $(bindir)/nmapfe $(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(deskdir)/nmapfe.desktop
|