]> Git Repo - binutils.git/blob - gas/testsuite/Makefile.in
Changed RUNTESTFLAGS to RUNTEST_FLAGS
[binutils.git] / gas / testsuite / Makefile.in
1 srcdir = .
2 prefix = /usr/local
3
4 exec_prefix = $(prefix)
5 bindir = $(exec_prefix)/bin
6 libdir = $(exec_prefix)/lib
7 tooldir = $(libdir)/$(target_alias)
8
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)
25
26 SHELL = /bin/sh
27
28 INSTALL = install -c
29 INSTALL_PROGRAM = $(INSTALL)
30 INSTALL_DATA = $(INSTALL)
31
32 GCC = gcc
33 GCCFLAGS = -g -O
34
35 LINK=   ln -s
36
37 RUNTEST = runtest
38 RUNTEST_FLAGS =
39
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).
42 AS_FOR_TARGET = ` \
43   if [ -f ../Makefile ] ; then \
44     echo ../as.new ; \
45   else \
46     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
47       echo $(AS); \
48     else \
49       (set -e ; t='$(program_transform_name)'; echo as | sed -e '' $$t); \
50     fi; \
51   fi`
52 OBJDUMP_FOR_TARGET = ` \
53   if [ -f ../../binutils/Makefile ] ; then \
54     echo ../../binutils/objdump ; \
55   else \
56     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
57       echo $(OBJDUMP); \
58     else \
59       (set -e ; t='$(program_transform_name)'; echo objdump | sed -e '' $$t); \
60     fi; \
61   fi`
62
63 #### host, target, and site specific Makefile frags come in here.
64
65 all:
66
67 .NOEXPORT:
68
69 install:
70
71 uninstall: force
72
73 site.exp: ./Makefile
74         @echo "Making a new config file..."
75         -@rm -f ./tmp?
76         @touch site.exp
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
102         @rm -f ./tmp1 ./tmp0
103
104 check:  site.exp
105         $(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET)
106
107 force:
108
109 clean:
110         -rm -f *~ core *.o a.out xgdb *.x a.out b.out
111
112 distclean: clean
113         -rm -f *~ core
114         -rm -f Makefile config.status
115         -rm -fr *.log summary detail
116
117 Makefile : $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
118         $(SHELL) ./config.status
119
This page took 0.029292 seconds and 4 git commands to generate.