mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Added dummy rules to inhibit GNU Make's implicit yacc/lex creation of scanner.c and grammar.c - was causing trouble with the new upgraded libpcap
This commit is contained in:
parent
1eb02ba70d
commit
a759174b84
2 changed files with 46 additions and 0 deletions
|
|
@ -303,6 +303,15 @@ EXTRA_DIST = \
|
|||
Win32/Src/inet_net.c \
|
||||
Win32/Src/inet_pton.c
|
||||
|
||||
# Inihibit implicit rule Make seems to have for using yacc/lex to
|
||||
# recompile new scanner.c/grammar.c -- we ship ones which we want to
|
||||
# use instead.
|
||||
grammar.c:
|
||||
echo "Not rebuilding grammar.c or scanner.c"
|
||||
|
||||
scanner.c:
|
||||
echo "Not rebuilding grammar.c or scanner.c"
|
||||
|
||||
all: libpcap.a pcap-config
|
||||
|
||||
libpcap.a: $(OBJ)
|
||||
|
|
@ -320,6 +329,9 @@ libpcap.so: $(OBJ)
|
|||
@rm -f $@
|
||||
$(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
|
||||
|
||||
grammar.c scanner.c:
|
||||
echo
|
||||
|
||||
#
|
||||
# The following rule succeeds, but the result is untested.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,5 +1,39 @@
|
|||
o Included this file, renamed directory from libpcap-1.0.0 to libpcap.
|
||||
|
||||
o Added dummy rules to inhibit GNU Make's implicit yacc/lex creation
|
||||
of scanner.c and grammar.c:
|
||||
Index: Makefile.in
|
||||
===================================================================
|
||||
--- Makefile.in (revision 15981)
|
||||
+++ Makefile.in (working copy)
|
||||
@@ -303,6 +303,15 @@
|
||||
Win32/Src/inet_net.c \
|
||||
Win32/Src/inet_pton.c
|
||||
|
||||
+# Inihibit implicit rule Make seems to have for using yacc/lex to
|
||||
+# recompile new scanner.c/grammar.c -- we ship ones which we want to
|
||||
+# use instead.
|
||||
+grammar.c:
|
||||
+ echo "Not rebuilding grammar.c or scanner.c"
|
||||
+
|
||||
+scanner.c:
|
||||
+ echo "Not rebuilding grammar.c or scanner.c"
|
||||
+
|
||||
all: libpcap.a pcap-config
|
||||
|
||||
libpcap.a: $(OBJ)
|
||||
@@ -320,6 +329,9 @@
|
||||
@rm -f $@
|
||||
$(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
|
||||
|
||||
+grammar.c scanner.c:
|
||||
+ echo
|
||||
+
|
||||
#
|
||||
# The following rule succeeds, but the result is untested.
|
||||
#
|
||||
|
||||
|
||||
o Removed these files and directories:
|
||||
packaging/
|
||||
config.guess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue