* write.c (subsegs_finish): Don't specially align last subseg.
[binutils.git] / binutils / mpw-config.in
blob21a067ddd6bc7f5b4b8d2c745c60c9078f69cafd
1 # Configuration fragment for binutils.
3 Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
5 # (should canonicalize arch name) */
7 Set archname ARCH_{target_arch}
9 Set underscore 0
11 If "{target_canonical}" =~ /sh-hitachi-hms/
12         Set underscore 1
13 End If
15 Echo '# From mpw-config.in'                              > "{o}"mk.tmp
16 Echo "ARCHDEFS = -d" {archname}                         >> "{o}"mk.tmp
17 Echo "UNDERSCORE = " {underscore}                       >> "{o}"mk.tmp
18 Echo "BUILD_NLMCONV = "                                 >> "{o}"mk.tmp
19 Echo "BUILD_SRCONV = "                                  >> "{o}"mk.tmp
20 Echo "SYSINFO_PROG = "                                  >> "{o}"mk.tmp
21 Echo "BUILD_DLLTOOL = "                                 >> "{o}"mk.tmp
22 Echo '# End from mpw-config.in'                         >> "{o}"mk.tmp
24 Echo '/* config.h.  Generated by mpw-configure.  */'     > "{o}"config.new
25 Echo '#include "mpw.h"'                                 >> "{o}"config.new
27 MoveIfChange "{o}"config.new "{o}"config.h