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); \
52 OBJDUMP_FOR_TARGET = ` \
53 if [ -f ../../binutils/Makefile ] ; then \
54 echo ../../binutils/objdump ; \
56 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
59 (set -e ; t='$(program_transform_name)'; echo objdump | sed -e '' $$t); \
63 #### host, target, and site specific Makefile frags come in here.
74 @echo "Making a new config file..."
77 -@mv site.exp site.bak
78 @echo "## these variables are automatically generated by make ##" > ./tmp0
79 @echo "# Do not edit here. If you wish to override these values," >> ./tmp0
80 @echo "# do so in the last section." >> ./tmp0
81 @echo set host_os ${host_os} >> ./tmp0
82 @echo set host_alias ${host_alias} >> ./tmp0
83 @echo set host_cpu ${host_cpu} >> ./tmp0
84 @echo set host_vendor ${host_vendor} >> ./tmp0
85 @echo set target_os ${target_os} >> ./tmp0
86 @echo set target_alias ${target_alias} >> ./tmp0
87 @echo set target_cpu ${target_cpu} >> ./tmp0
88 @echo set target_vendor ${target_vendor} >> ./tmp0
89 @echo set host_triplet ${host_canonical} >> ./tmp0
90 @echo set target_triplet ${target_canonical} >> ./tmp0
91 @echo set target_canonical ${target_canonical} >> ./tmp0
92 @echo set srcdir ${srcdir} >> ./tmp0
93 @echo set exec_prefix ${exec_prefix} >> ./tmp0
94 @echo set objdir `pwd` >> ./tmp0
95 @echo set ASFLAGS ${ASFLAGS} >> ./tmp0
96 @echo set OBJDUMP ${OBJDUMP_FOR_TARGET} >> ./tmp0
97 @echo set OBJDUMPFLAGS ${OBJDUMPFLAGS} >> ./tmp0
98 @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
99 @cat ./tmp0 > site.exp
100 @cat site.bak | sed \
101 -e '1,/^## All variables above are.*##/ d' >> site.exp
105 $(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET)
110 -rm -f *~ core *.o a.out xgdb *.x a.out b.out
114 -rm -f Makefile config.status
115 -rm -fr *.log summary detail
117 Makefile : $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
118 $(SHELL) ./config.status