aboutsummaryrefslogtreecommitdiff
path: root/gas/mpw-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'gas/mpw-config.in')
-rw-r--r--gas/mpw-config.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/mpw-config.in b/gas/mpw-config.in
index a6819f6..4005dc3 100644
--- a/gas/mpw-config.in
+++ b/gas/mpw-config.in
@@ -2,11 +2,11 @@
Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
-# The following works for many configurations ...
+# The following works for many configurations, though not all.
Set obj_format `echo {target_canonical} | sed -e 's/.*-.*-//'`
-# ... but not all.
+Set TDEFINES ""
If "{target_canonical}" =~ /m68k-apple-macos/
Set obj_format "coff"
@@ -41,8 +41,9 @@ Else
forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
End If
-Echo '# From mpw-config.in' > "{o}"mk.tmp
+Echo '# From mpw-config.in' > "{o}"mk.tmp
Echo 'VERSION = ' `Search 'VERSION=' "{srcdir}"Makefile.in | sed -e 's/.*VERSION=\(.*\)/\1/'` >> "{o}"mk.tmp
+Echo "TDEFINES = " {TDEFINES} >> "{o}"mk.tmp
-Echo '# End from mpw-config.in' >> "{o}"mk.tmp
+Echo '# End from mpw-config.in' >> "{o}"mk.tmp