Module Name: src
Committed By: christos
Date: Sun Dec 25 22:34:45 UTC 2022
Modified Files:
src/external/gpl3/binutils/dist/bfd: Makefile.am Makefile.in
Log Message:
Explain our local changes
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/Makefile.am
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/dist/bfd/Makefile.am
diff -u src/external/gpl3/binutils/dist/bfd/Makefile.am:1.9 src/external/gpl3/binutils/dist/bfd/Makefile.am:1.10
--- src/external/gpl3/binutils/dist/bfd/Makefile.am:1.9 Sat Dec 24 15:17:04 2022
+++ src/external/gpl3/binutils/dist/bfd/Makefile.am Sun Dec 25 17:34:45 2022
@@ -842,6 +842,8 @@ endif
$(AM_V_CC)$(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
endif
+# change IMPSRC ($<) to ALLSRC ($>) in the following rules so they work with
+# bmake
elf32-target.h : elfxx-target.h
$(AM_V_GEN)$(SED) -e s/NN/32/g < $> > $@
@@ -1008,4 +1010,6 @@ coff-tic54x.lo: coff-tic54x.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC)$(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
+# Comment out the doc snippet because it has pattern rules our make does not
+# understand
#include doc/local.mk
Index: src/external/gpl3/binutils/dist/bfd/Makefile.in
diff -u src/external/gpl3/binutils/dist/bfd/Makefile.in:1.10 src/external/gpl3/binutils/dist/bfd/Makefile.in:1.11
--- src/external/gpl3/binutils/dist/bfd/Makefile.in:1.10 Sat Dec 24 15:17:04 2022
+++ src/external/gpl3/binutils/dist/bfd/Makefile.in Sun Dec 25 17:34:45 2022
@@ -2361,6 +2361,8 @@ dwarf2.lo: dwarf2.c Makefile
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC)$(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
+# change IMPSRC ($<) to ALLSRC ($>) in the following rules so they work with
+# bmake
elf32-target.h : elfxx-target.h
$(AM_V_GEN)$(SED) -e s/NN/32/g < $> > $@
@@ -2499,6 +2501,8 @@ doc/chew.stamp: $(srcdir)/doc/chew.c doc
doc/chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC) && \
touch $@
+# Comment out the doc snippet because it has pattern rules our make does not
+# understand
#.PRECIOUS: doc/%.stamp
#doc/%.texi: doc/%.stamp ; @true
#doc/%.stamp: $(srcdir)/%.h $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp)