6 echo No machine name given
12 echo constructing
${target} for $machine
13 fixincludes
="${machine}"
21 fixincludes
=fixinc.svr4
26 fixincludes
=fixinc.svr4
31 fixincludes
=fixinc.interix
36 fixincludes
=fixinc.wrap
41 fixincludes
=fixinc.winnt
44 i?
86-sequent-ptx* | i?
86-sequent-sysv[34]*)
45 fixincludes
=fixinc.
ptx
49 arm-semi-aout | armel-semi-aout | \
50 arm-semi-aof | armel-semi-aof | \
60 i?
86-moss-msdos* | i?
86-*-moss* | \
63 i?
86-*-pe | i?
86-*-cygwin* | \
65 i?
86-*-uwin* | i?
86-*-msdosdjgpp* | \
66 mips-sgi-irix5cross64 | \
67 powerpc-
*-eabiaix* | \
68 powerpc-
*-eabisim* | \
71 powerpcle-
*-eabisim* | \
73 powerpcle-
*-winnt* | \
74 powerpcle-
*-pe | powerpcle-
*-cygwin* | \
75 thumb-
*-coff* | thumbel-
*-coff* )
80 # IF there is no include fixing,
81 # THEN create a no-op fixer and exit
83 if test -z "$fixincludes"
85 (echo "#! /bin/sh" ; echo "exit 0" ) > ${target}
90 # IF the fixer is supplied in our source directory,
91 # THEN copy that into place
93 if test -f ${srcdir}/"${fixincludes}"
95 echo copying
${srcdir}/$fixincludes to
${target}
96 cp ${srcdir}/$fixincludes ${target}
101 # OK. We gotta make the thing.
102 # make and install either the binary or the default script
104 cmd
="$MAKE SHELL=\"$SHELL\" CC=\"$CC\" CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS\" install-bin"