aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-01-25 18:57:17 +0000
committerStan Shebs <shebs@codesourcery.com>1994-01-25 18:57:17 +0000
commit7c805df0529c50b5022ae1c3cbf2e7313a975061 (patch)
treeca92d10eede74ad0c57f7d413424eb49485d33d7 /gas
parente4fc9376b2a016308ad3d461e4f545b67801d0fe (diff)
downloadgdb-7c805df0529c50b5022ae1c3cbf2e7313a975061.zip
gdb-7c805df0529c50b5022ae1c3cbf2e7313a975061.tar.gz
gdb-7c805df0529c50b5022ae1c3cbf2e7313a975061.tar.bz2
Tue Jan 25 10:52:22 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in: Use forward-include to create include files.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog.gm4
-rw-r--r--gas/mpw-xconfig.in38
2 files changed, 23 insertions, 19 deletions
diff --git a/gas/ChangeLog.gm b/gas/ChangeLog.gm
index 7c73f17..90560d9 100644
--- a/gas/ChangeLog.gm
+++ b/gas/ChangeLog.gm
@@ -1,3 +1,7 @@
+Tue Jan 25 10:52:22 1994 Stan Shebs (shebs@andros.cygnus.com)
+
+ * mpw-xconfig.in: Use forward-include to create include files.
+
Tue Jan 4 12:24:07 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in: New file, mpw x mips configuration bits.
diff --git a/gas/mpw-xconfig.in b/gas/mpw-xconfig.in
index 9579938..495c6df 100644
--- a/gas/mpw-xconfig.in
+++ b/gas/mpw-xconfig.in
@@ -1,30 +1,30 @@
# Extra configuration fragment for GAS.
-DupIfChange {srcdir}config:atof-ieee.c atof-targ.c
-DupIfChange {srcdir}config:obj-ecoff.c obj-format.c
-DupIfChange {srcdir}config:obj-ecoff.h obj-format.h
-DupIfChange {srcdir}config:tc-mips.c targ-cpu.c
-DupIfChange {srcdir}config:tc-mips.h targ-cpu.h
-DupIfChange {srcdir}config:te-generic.h targ-env.h
-
-echo '#include ":aout:stab.def"' >'aout/stab.def'
-echo '#include ":aout:stab_gnu.h"' >'aout/stab_gnu.h'
-echo '#include ":coff:ecoff.h"' >'coff/ecoff.h'
-echo '#include ":coff:internal.h"' >'coff/internal.h'
-echo '#include ":coff:mips.h"' >'coff/mips.h'
-echo '#include ":coff:sym.h"' >'coff/sym.h'
-echo '#include ":coff:symconst.h"' >'coff/symconst.h'
-echo '#include "libcoff.h"' >'bfd/libcoff.h'
-echo '#include "libecoff.h"' >'bfd/libecoff.h'
-
-echo '#include ":opcode:mips.h"' >'opcode/mips.h'
+forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
+forward-include "{srcdir}"config:obj-ecoff.c obj-format.c
+forward-include "{srcdir}"config:obj-ecoff.h obj-format.h
+forward-include "{srcdir}"config:tc-mips.c targ-cpu.c
+forward-include "{srcdir}"config:tc-mips.h targ-cpu.h
+forward-include "{srcdir}"config:te-generic.h targ-env.h
+
+forward-include "{srcroot}"include:aout:stab.def 'aout/stab.def'
+forward-include "{srcroot}"include:aout:stab_gnu.h 'aout/stab_gnu.h'
+forward-include "{srcroot}"include:coff:ecoff.h 'coff/ecoff.h'
+forward-include "{srcroot}"include:coff:internal.h 'coff/internal.h'
+forward-include "{srcroot}"include:coff:mips.h 'coff/mips.h'
+forward-include "{srcroot}"include:coff:sym.h 'coff/sym.h'
+forward-include "{srcroot}"include:coff:symconst.h 'coff/symconst.h'
+forward-include "{srcroot}"bfd:libcoff.h 'bfd/libcoff.h'
+forward-include "{srcroot}"bfd:libecoff.h 'bfd/libecoff.h'
+
+forward-include "{srcroot}"opcode:mips.h 'opcode/mips.h'
echo '#define TARGET_CPU "mips"' >config.new
echo '#define TARGET_ALIAS "mips-idt-ecoff"' >>config.new
echo '#define TARGET_CANONICAL "mips-idt-ecoff"' >>config.new
echo '#define GAS_VERSION "cygnus-2.2.1"' >>config.new
-DupIfChange config.new config.h
+MoveIfChange config.new config.h
Delete -i config.new