Ensure that PR42399 regression test produces results
[dejagnu.git] / Makefile.am
blob01a1ac9ebb24a3ca0d2520861da03d1648a865fc
1 # Copyright (C) 1992-2019, 2020 Free Software Foundation, Inc.
3 # This file is part of DejaGnu.
5 # DejaGnu is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # DejaGnu is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with DejaGnu; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 # Process this file with automake to generate Makefile.in
21 AUTOMAKE_OPTIONS = dejagnu
22 export DEJAGNU
24 # record all files in the distribution tarball as owned by root
25 TAR_OPTIONS = --format=v7 --owner=0 --group=0
26 export TAR_OPTIONS
28 EXTRA_DIST = ChangeLog-1992 MAINTAINERS dejagnu runtest \
29         $(pkgdata_DATA) $(config_DATA) $(baseboard_DATA) \
30         $(commands_DATA) $(TESTSUITE_FILES) $(TEXINFO_TEX)\
31         $(CONTRIB)
33 CLEANFILES = dbg.log nested-init.exp pr48155-init.exp
35 clean-local: clean-local-check
36 .PHONY: clean-local-check
37 clean-local-check:
38         -rm -rf testsuite/launcher.all/command/bin
39         -rm -rf testsuite/launcher.all/command/share
40         -rm -rf testsuite/report-card.all/onetest
41         -rm -rf testsuite/report-card.all/passes
43 # Give a reassuring message so that users know the "build" worked.
44 all-local:
45         @echo "Done. Now run 'make install'."
47 bin_SCRIPTS = dejagnu runtest
48 include_HEADERS = dejagnu.h
50 pkgdata_DATA = \
51   stub-loader.c \
52   testglue.c \
53   runtest.exp \
54   lib/debugger.exp \
55   lib/dejagnu.exp \
56   lib/dg.exp \
57   lib/dmucs.exp \
58   lib/framework.exp \
59   lib/ftp.exp \
60   lib/kermit.exp \
61   lib/libgloss.exp \
62   lib/remote.exp \
63   lib/rlogin.exp \
64   lib/rsh.exp \
65   lib/ssh.exp \
66   lib/standard.exp \
67   lib/target.exp \
68   lib/targetdb.exp \
69   lib/telnet.exp \
70   lib/tip.exp \
71   lib/utils.exp
73 commandsdir = $(pkgdatadir)/commands
74 commands_DATA = \
75         commands/help.sh \
76         commands/report-card.awk
78 configdir = $(pkgdatadir)/config
79 config_DATA = \
80         config/README \
81         config/adb.exp \
82         config/aarch64-fv8.exp \
83         config/default.exp \
84         config/gdb-comm.exp \
85         config/gdb_stub.exp \
86         config/sid.exp \
87         config/sim.exp \
88         config/unix.exp \
89         config/vxworks.exp
91 baseboarddir = $(pkgdatadir)/baseboards
92 baseboard_DATA = \
93         baseboards/README \
94         baseboards/aarch64-sim.exp \
95         baseboards/am33_2.0-libremote.exp \
96         baseboards/androideabi.exp \
97         baseboards/arm-ice.exp \
98         baseboards/arm-sid.exp \
99         baseboards/arm-sim.exp \
100         baseboards/basic-sid.exp \
101         baseboards/basic-sim.exp \
102         baseboards/cris-sim.exp \
103         baseboards/d30v-sim.exp \
104         baseboards/fr30-sim.exp \
105         baseboards/frv-sim.exp \
106         baseboards/gdbserver-sample.exp \
107         baseboards/generic-sim.exp \
108         baseboards/i386-sid.exp \
109         baseboards/iq2000-sim.exp \
110         baseboards/jmr3904-sim.exp \
111         baseboards/linux-gdbserver.exp \
112         baseboards/linux-libremote.exp \
113         baseboards/m68k-sid.exp \
114         baseboards/mcore-moto-sim.exp \
115         baseboards/mcore-sim.exp \
116         baseboards/mips-lnews-sim.exp \
117         baseboards/mips-lsi-sim.exp \
118         baseboards/mips-sim-idt32.exp \
119         baseboards/mips-sim-idt64.exp \
120         baseboards/mips-sim-mti32.exp \
121         baseboards/mips-sim-mti64.exp \
122         baseboards/mips-sim-mti64_64.exp \
123         baseboards/mips-sim-mti64_n32.exp \
124         baseboards/mips-sim-sde32.exp \
125         baseboards/mips-sim-sde64.exp \
126         baseboards/mips-sim.exp \
127         baseboards/mmixware-sim.exp \
128         baseboards/mn10200-sim.exp \
129         baseboards/mn10300-sim.exp \
130         baseboards/moxie-sim.exp \
131         baseboards/msp430-sim.exp \
132         baseboards/mt-sid.exp \
133         baseboards/multi-sim.exp \
134         baseboards/pi.exp \
135         baseboards/powerpc-sim.exp \
136         baseboards/powerpcle-sim.exp \
137         baseboards/pru-sim.exp \
138         baseboards/qemu.exp \
139         baseboards/riscv-sim.exp \
140         baseboards/rx-sim.exp \
141         baseboards/sh-sid.exp \
142         baseboards/sh-sim.exp \
143         baseboards/sparc-sim.exp \
144         baseboards/sparc64-sim.exp \
145         baseboards/sparclite-sim-le.exp \
146         baseboards/sparclite-sim.exp \
147         baseboards/tx39-sim.exp \
148         baseboards/unix.exp \
149         baseboards/v850-sim.exp \
150         baseboards/visium-sim.exp \
151         baseboards/vr4100-sim.exp \
152         baseboards/vr4111-sim.exp \
153         baseboards/vr4300-sim.exp \
154         baseboards/xtensa-sim.exp
156 djlibexecdir = $(pkgdatadir)/libexec
157 djlibexec_SCRIPTS = config.guess
159 # Contributed scripts, etc.
161 CONTRIB = contrib/sum2junit.sh \
162         contrib/mysql/create-db.sql contrib/mysql/importxml.sh \
163         contrib/mysql/make-datafile.sh contrib/mysql/plot.sh \
164         contrib/mysql/README contrib/mysql/sum2xml.sh \
165         contrib/dejagnu.py
167 # Testsuite.
169 TESTSUITE_FILES = \
170         testsuite/launcher.all/command.exp \
171         testsuite/launcher.all/command/commands/bar-baz.awk \
172         testsuite/launcher.all/command/commands/bar.awk \
173         testsuite/launcher.all/command/commands/bar.sh \
174         testsuite/launcher.all/command/commands/baz-quux.gawk \
175         testsuite/launcher.all/command/commands/foo.sh \
176         testsuite/launcher.all/command/commands/foo.tcl \
177         testsuite/launcher.all/help.exp \
178         testsuite/launcher.all/interp.exp \
179         testsuite/launcher.all/verbose.exp \
180         testsuite/report-card.all/onetest.exp \
181         testsuite/report-card.all/passes.exp \
182         testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1 \
183         testsuite/runtest.libs/topdir/subdir1/subfile1 \
184         testsuite/runtest.libs/topdir/subdir1/subfile2 \
185         testsuite/runtest.libs/topdir/subdir2/subfile2 \
186         testsuite/runtest.libs/libs.exp \
187         testsuite/runtest.libs/default_procs.tcl \
188         testsuite/runtest.libs/mockutil.tcl \
189         testsuite/runtest.libs/clone_output.test \
190         testsuite/runtest.libs/config.test \
191         testsuite/runtest.libs/remote.test \
192         testsuite/runtest.libs/target.test \
193         testsuite/runtest.libs/testcase_group.test \
194         testsuite/runtest.libs/testsuite_can.test \
195         testsuite/runtest.libs/testsuite_file.test \
196         testsuite/runtest.libs/utils.test \
197         testsuite/runtest.main/error.exp \
198         testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp \
199         testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp \
200         testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp \
201         testsuite/runtest.main/nested/testsuite/error.test/simple.exp \
202         testsuite/runtest.main/options.exp \
203         testsuite/runtest.main/nested/testsuite/null.test/null.exp \
204         testsuite/runtest.main/stats.exp \
205         testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp \
206         testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk \
207         testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp \
208         testsuite/runtest.main/pr42399.exp \
209         testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk \
210         testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp \
211         testsuite/runtest.main/pr48155.exp \
212         testsuite/lib/bohman_ssd.exp \
213         testsuite/lib/launcher.exp \
214         testsuite/lib/libdejagnu.exp \
215         testsuite/lib/libsup.exp \
216         testsuite/lib/report-card.exp \
217         testsuite/lib/runtest.exp \
218         testsuite/lib/util-defs.exp \
219         testsuite/libdejagnu/tunit.exp
221 DEJATOOL = launcher libdejagnu report-card runtest
223 # We override runtest so that the testsuite is run with this version
224 # of DejaGnu instead of an installed version.
225 RUNTEST = ${top_srcdir}/runtest
227 AM_CXXFLAGS = -I$(top_srcdir) -g
228 check_PROGRAMS = unit
229 unit_SOURCES = testsuite/libdejagnu/unit.cc
231 # Documentation.
233 TEXINFO_TEX = doc/texinfo.tex
234 dist_man_MANS = doc/dejagnu.1 \
235         doc/dejagnu-help.1 \
236         doc/dejagnu-report-card.1 \
237         doc/runtest.1
238 info_TEXINFOS = doc/dejagnu.texi
239 doc_dejagnu_TEXINFOS = doc/fdl.texi
241 pip-install:
242         pip3 install --upgrade -e $(top_srcdir)