2003-08-04 David Carlton <carlton@kealia.com>
[deliverable/binutils-gdb.git] / binutils / mpw-config.in
CommitLineData
252b5132
RH
1# Configuration fragment for binutils.
2
3Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
4
5# (should canonicalize arch name) */
6
7Set archname ARCH_{target_arch}
8
9Set underscore 0
10
11If "{target_canonical}" =~ /sh-hitachi-hms/
12 Set underscore 1
13End If
14
15Echo '# From mpw-config.in' > "{o}"mk.tmp
16Echo "ARCHDEFS = -d" {archname} >> "{o}"mk.tmp
17Echo "UNDERSCORE = " {underscore} >> "{o}"mk.tmp
18Echo "BUILD_NLMCONV = " >> "{o}"mk.tmp
19Echo "BUILD_SRCONV = " >> "{o}"mk.tmp
20Echo "SYSINFO_PROG = " >> "{o}"mk.tmp
21Echo "BUILD_DLLTOOL = " >> "{o}"mk.tmp
22Echo '# End from mpw-config.in' >> "{o}"mk.tmp
23
24Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
25Echo '#include "mpw.h"' >> "{o}"config.new
26
27MoveIfChange "{o}"config.new "{o}"config.h
This page took 0.197974 seconds and 4 git commands to generate.