* mpw-config.in (emulname): Set based on target.
authorStan Shebs <shebs@codesourcery.com>
Tue, 28 Jun 1994 20:20:35 +0000 (20:20 +0000)
committerStan Shebs <shebs@codesourcery.com>
Tue, 28 Jun 1994 20:20:35 +0000 (20:20 +0000)
(ldemul-list.h): Construct.
* mpw-make.in (install-only): New target.
(install): Depend on install-only.

ld/ChangeLog.mpw
ld/mpw-config.in
ld/mpw-make.in

index 9c87a1a2314325a3607fb0dd599d2d43a464346a..98f1e626cbbf6c4e297d90ff8499c08cdf0b0e9a 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jun 28 13:17:23 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * mpw-config.in (emulname): Set based on target.
+       (ldemul-list.h): Construct.
+       * mpw-make.in (install-only): New target.
+       (install): Depend on install-only.
+
 Fri Mar  4 11:43:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
 
        * ldlang.c (lookup_name): Stomp on a pointer if in MPW.
index ed902743a3748a6574dd4c45938b6c490d3965c6..c0a37759c68c6a1a6ccf0a5693880c8a50b1b8eb 100644 (file)
@@ -1 +1,17 @@
 # Configuration fragment for LD.
+
+If "{target_canonical}" =~ /m68k-aout/
+       Set emulname m68kaout
+Else If "{target_canonical}" =~ /m68k-coff/
+       Set emulname m68kcoff
+Else If "{target_canonical}" =~ /mips-idt-ecoff/
+       Set emulname mipsidt
+End If
+
+Echo '/* This file is automatically generated.  DO NOT EDIT! */' >ldemul-tmp.h
+Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h
+Echo '#define EMULATION_LIST \' >>ldemul-tmp.h
+Echo "  &ld_{emulname}_emulation, \" >>ldemul-tmp.h
+Echo '  0' >>ldemul-tmp.h
+MoveIfChange ldemul-tmp.h ldemul-list.h
+
index 95fe1b6b782a9e9181cbafaeec66223d92420d4c..d268e830f8e13cce574460bc3e79b53d8c0d29c9 100644 (file)
@@ -623,7 +623,9 @@ TAGS \Option-f
        etags -t "{srcdir}"\Option-x.[chly] \Option-x.[chly]
 
 
-install \Option-f  
+install \Option-f  all install-only
+
+install-only \Option-f
        If "`Exists "{prefix}"`" == ""
                Echo "{prefix}" does not exist, cannot install anything
                Exit 1