1 # Configuration fragment for LD.
3 If "{target_canonical}" =~ /m68k-apple-macos/
5 Else If "{target_canonical}" =~ /ppc-apple-macos/
7 Else If "{target_canonical}" =~ /i386-unknown-aout/
9 Else If "{target_canonical}" =~ /i386-unknown-coff/
11 Else If "{target_canonical}" =~ /mips-idt-ecoff/
13 forward-include "{srcdir}"mpw-em.c em_mipsidt.c
16 Echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-tmp.h
17 Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h
18 Echo '#define EMULATION_LIST \' >>ldemul-tmp.h
19 Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h
20 Echo ' 0' >>ldemul-tmp.h
21 MoveIfChange ldemul-tmp.h ldemul-list.h
23 Echo '# From mpw-config.in' > "{o}"mk.tmp
25 Echo "EMUL = " {emulname} >> "{o}"mk.tmp
27 Echo '# End from mpw-config.in' >> "{o}"mk.tmp