diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-10-19 19:29:52 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-10-19 19:29:52 +0000 |
commit | a6922ef00319229ff147cbfe7861a0870f56c254 (patch) | |
tree | 4155460baa3981a7c7ee4fe5549a2489462c4dae /gdb/mpw-config.in | |
parent | 0d0c3cc58a4adcbd9cbbda03efb7c7519b1ce070 (diff) | |
download | gdb-a6922ef00319229ff147cbfe7861a0870f56c254.zip gdb-a6922ef00319229ff147cbfe7861a0870f56c254.tar.gz gdb-a6922ef00319229ff147cbfe7861a0870f56c254.tar.bz2 |
* mpw-config.in: Adapt to work with autoconf'ed configury;
build config.h, add empty definitions to mk.tmp.
(powerpc-apple-macos): Make it work.
* mpw-make.sed: New file, sed commands to translate Unix makefile
into MPW syntax.
* mpw-make.in: Remove.
* mac-gdb.r: New file, was macgdb.r, renamed for consistency
with other tools, now includes cfrg resource.
* macgdb.r: Remove.
* config/m68k/xm-mpw.h: Remove most of contents, replace with
include of include/mpw/mpw.h.
Diffstat (limited to 'gdb/mpw-config.in')
-rw-r--r-- | gdb/mpw-config.in | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/gdb/mpw-config.in b/gdb/mpw-config.in index 89f99f5..6c51e8b 100644 --- a/gdb/mpw-config.in +++ b/gdb/mpw-config.in @@ -18,9 +18,10 @@ If "{target_canonical}" =~ /m68k-apple-macos/ forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h' Set tdepfiles '"{o}"m68k-tdep.c.o' -Else If "{target_canonical}" =~ /ppc-apple-macos/ - forward-include "{srcdir}"config:powerpc:tm-ppc.h tm.h - Set tdepfiles '"{o}"ppc-tdep.c.o' +Else If "{target_canonical}" =~ /powerpc-apple-macos/ + forward-include "{srcdir}"config:powerpc:tm-macos.h tm.h + forward-include "{srcdir}"config:rs6000:tm-rs6000.h 'rs6000/tm-rs6000.h' + Set tdepfiles '"{o}"rs6000-tdep.c.o "{o}"xcoffread.c.o' Else If "{target_canonical}" =~ /i386-unknown-go32/ forward-include "{srcdir}"config:i386:tm-i386v.h tm.h @@ -42,10 +43,19 @@ If "{target_canonical}" != "{host_canonical}" Set natdepfiles " " End If -Echo '# From mpw-config.in' > "{o}"mk.tmp - -Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp -Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp -Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp - -Echo '# End from mpw-config.in' >> "{o}"mk.tmp +Echo '# From mpw-config.in' > "{o}"mk.tmp +Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp +Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp +Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp +Echo "XM_ADD_FILES = " >> "{o}"mk.tmp +Echo "TM_ADD_FILES = " >> "{o}"mk.tmp +Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp +Echo "XM_CDEPS = " >> "{o}"mk.tmp +Echo "TM_CDEPS = " >> "{o}"mk.tmp +Echo "NAT_CDEPS = " >> "{o}"mk.tmp +Echo '# End from mpw-config.in' >> "{o}"mk.tmp + +Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new +Echo '#include "mpw.h"' >> "{o}"config.new + +MoveIfChange "{o}"config.new "{o}"config.h |