* mpw-config.in (TDEFINES): Put empty definition into

makefile fragment.
	* mpw-make.in (xmalloc.c.o): Remove.
	(as.new): Depend on Version.r.
	(Version.r): Generate from version info.
This commit is contained in:
Stan Shebs
1995-03-18 00:50:51 +00:00
parent a42e48f616
commit f64fd87f2b
3 changed files with 50 additions and 10 deletions

View File

@ -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