4 exec_prefix = $(prefix)
5 bindir = $(exec_prefix)/bin
6 libdir = $(exec_prefix)/lib
7 tooldir = $(libdir)/$(target_alias)
9 datadir = $(exec_prefix)/lib/deja-gnu
10 mandir = $(prefix)/man
11 man1dir = $(mandir)/man1
12 man2dir = $(mandir)/man2
13 man3dir = $(mandir)/man3
14 man4dir = $(mandir)/man4
15 man5dir = $(mandir)/man5
16 man6dir = $(mandir)/man6
17 man7dir = $(mandir)/man7
18 man8dir = $(mandir)/man8
19 man9dir = $(mandir)/man9
20 infodir = $(prefix)/info
21 includedir = $(prefix)/include
22 gxx_includedir = $(tooldir)/g++-include
23 docdir = $(datadir)/doc
24 targetdir = $(datadir)/$(target_alias)
29 INSTALL_PROGRAM = $(INSTALL)
30 INSTALL_DATA = $(INSTALL)
40 # The ugliness in the program_transform_name version seems necessary
41 # to work around some strange behavior of /bin/sh on 386bsd (0.1).
43 if [ -f ../Makefile ] ; then \
46 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
49 (set -e ; t='$(program_transform_name)'; echo as | sed -e '' $$t); \
53 #### host, target, and site specific Makefile frags come in here.
64 @echo "Making a new config file..."
67 -@mv site.exp site.bak
68 @echo "## these variables are automatically generated by make ##" > ./tmp0
69 @echo "# Do not edit here. If you wish to override these values" >> ./tmp0
70 @echo "# add them to the last section" >> ./tmp0
71 @echo "set host_os ${host_os}" >> ./tmp0
72 @echo "set host_alias ${host_alias}" >> ./tmp0
73 @echo "set host_cpu ${host_cpu}" >> ./tmp0
74 @echo "set host_vendor ${host_vendor}" >> ./tmp0
75 @echo "set target_os ${target_os}" >> ./tmp0
76 @echo "set target_alias ${target_alias}" >> ./tmp0
77 @echo "set target_cpu ${target_cpu}" >> ./tmp0
78 @echo "set target_vendor ${target_vendor}" >> ./tmp0
79 @echo "set host_triplet ${host_canonical}" >> ./tmp0
80 @echo "set target_triplet ${target_canonical}" >> ./tmp0
81 @echo "set target_canonical ${target_canonical}" >> ./tmp0
82 @echo "set srcdir ${srcdir}" >> ./tmp0
83 @echo "set exec_prefix ${exec_prefix}" >> ./tmp0
84 @echo "set objdir `pwd`" >> ./tmp0
85 @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
86 @cat ./tmp0 > site.exp
88 -e '1,/^## All variables above are.*##/ d' >> site.exp
92 $(RUNTEST) $(RUNTESTFLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS=
97 -rm -f *~ core *.o a.out xgdb *.x a.out b.out
101 -rm -f Makefile config.status
102 -rm -fr *.log summary detail
104 Makefile : $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
105 $(SHELL) ./config.status