* Makefile.in: Add targets to automatically rebuild dependencies.
[deliverable/binutils-gdb.git] / binutils / mpw-config.in
1 # Configuration fragment for binutils.
2
3 Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
4
5 # (should canonicalize arch name) */
6
7 Set archname ARCH_{target_arch}
8
9 Set underscore 0
10
11 If "{target_canonical}" =~ /sh-hitachi-hms/
12 Set underscore 1
13 End If
14
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 '# End from mpw-config.in' >> "{o}"mk.tmp
19
20 Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
21 Echo '#include "mpw.h"' >> "{o}"config.new
22
23 MoveIfChange "{o}"config.new "{o}"config.h
This page took 0.035576 seconds and 4 git commands to generate.