+Sun Jun 12 16:56:45 1994 Stan Shebs (shebs@andros.cygnus.com)
+
+ * mpw-xconfig.in: Only do if target is mips-idt-ecoff.
+
Mon Feb 28 11:09:48 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in (emulname): Define.
# Extra configuration fragment for LD.
-echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-list.h
-echo 'extern ld_emulation_xfer_type ld_mipsidt_emulation;' >>ldemul-list.h
-echo '#define EMULATION_LIST \' >>ldemul-list.h
-echo ' &ld_mipsidt_emulation, \' >>ldemul-list.h
-echo ' 0' >>ldemul-list.h
+If "{target_canonical}" =~ /mips-idt-ecoff/
+ echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-list.h
+ echo 'extern ld_emulation_xfer_type ld_mipsidt_emulation;' >>ldemul-list.h
+ echo '#define EMULATION_LIST \' >>ldemul-list.h
+ echo ' &ld_mipsidt_emulation, \' >>ldemul-list.h
+ echo ' 0' >>ldemul-list.h
-forward-include "{srcdir}"mpw-em.c em_mipsidt.c
+ forward-include "{srcdir}"mpw-em.c em_mipsidt.c
-# Set the name of the default emulation - this will get pasted into
-# the Makefile.
+ # Set the name of the default emulation - this will get pasted into
+ # the Makefile.
-Set emulname mipsidt
+ Set emulname mipsidt
+End If