source: trunk/src/binutils/mpw-config.in@ 1065

Last change on this file since 1065 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 4.6 KB
Line 
1# Configuration fragment for Cygnus source tree.
2
3# Check that we can find all the special tools that we will need.
4# The test for sed is semi-pointless, because it's already been invoked
5# by the calculation of target_cpu in the main configure script, but
6# the test will also show which one is being used.
7
8Set Exit 0
9Echo byacc is `Which byacc`
10Echo flex is `Which flex`
11Echo forward-include is `Which forward-include`
12Echo MoveIfChange is `Which MoveIfChange`
13Echo mpw-touch is `Which mpw-touch`
14Echo mpw-true is `Which mpw-true`
15Echo NewFolderRecursive is `Which NewFolderRecursive`
16Echo null-command is `Which null-command`
17Echo open-brace is `Which open-brace`
18Echo sed is `Which sed`
19Echo 'tr-7to8' is `Which tr-7to8`
20Echo true is `Which true`
21Set Exit 1
22
23Set host_libs "mmalloc libiberty opcodes bfd readline gash tcl tk tclX"
24
25Set host_tools "texinfo byacc flex bison binutils ld gas gcc gdb make patch \Option-d
26 prms send-pr gprof gdbtest tgas etc expect dejagnu sim bash \Option-d
27 m4 autoconf ispell grep diff rcs cvs fileutils shellutils time \Option-d
28 textutils wdiff find emacs emacs19 uudecode hello tar gzip indent \Option-d
29 recode release sed utils guile perl apache inet gawk"
30
31Set target_libs "newlib"
32
33Set target_tools "examples"
34
35# Configure the resource compiler if targeting Macs.
36If {target_os} =~ /macos/ || {target_os} =~ /mpw/
37 Set host_tools "{host_tools} grez"
38End If
39
40Set configdirs "{host_libs} {host_tools} {target_libs} {target_tools}"
41Export configdirs
42
43# Make up a special include directory that tools will share.
44
45If "`Exists "{objdir}"extra-include`" == ""
46 NewFolder "{objdir}"extra-include
47End If
48
49Set edir "{objdir}extra-include:"
50
51forward-include "{srcdir}"include:mpw:sys:file.h "{edir}"'sys/file.h'
52forward-include "{srcdir}"include:mpw:sys:ioctl.h "{edir}"'sys/ioctl.h'
53forward-include "{srcdir}"include:mpw:sys:param.h "{edir}"'sys/param.h'
54forward-include "{srcdir}"include:mpw:sys:resource.h "{edir}"'sys/resource.h'
55forward-include "{srcdir}"include:mpw:sys:stat.h "{edir}"'sys/stat.h'
56forward-include "{srcdir}"include:mpw:sys:time.h "{edir}"'sys/time.h'
57forward-include "{srcdir}"include:mpw:sys:types.h "{edir}"'sys/types.h'
58
59forward-include "{srcroot}"include:aout:aout64.h "{edir}"'aout/aout64.h'
60forward-include "{srcroot}"include:aout:ar.h "{edir}"'aout/ar.h'
61forward-include "{srcroot}"include:aout:ranlib.h "{edir}"'aout/ranlib.h'
62forward-include "{srcroot}"include:aout:reloc.h "{edir}"'aout/reloc.h'