Fix typo in reference manual
[dejagnu.git] / Makefile.am
blob9493cc638df819b984112a032c5223ec1bd40e8c
1 # Copyright (C) 1992-2019, 2020, 2022 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, see <http://www.gnu.org/licenses/>.
18 # Process this file with automake to generate Makefile.in
20 AUTOMAKE_OPTIONS = dejagnu
21 export DEJAGNU
23 # record all files in the distribution tarball as owned by root
24 TAR_OPTIONS = --format=v7 --owner=0 --group=0
25 export TAR_OPTIONS
27 EXTRA_DIST = ChangeLog-1992 MAINTAINERS dejagnu runtest \
28         $(pkgdata_DATA) $(config_DATA) $(baseboard_DATA) \
29         $(commands_DATA) $(TESTSUITE_FILES) $(TEXINFO_TEX)\
30         $(CONTRIB)
32 CLEANFILES = dbg.log nested-init.exp pr48155-init.exp
34 clean-local: clean-local-check
35 .PHONY: clean-local-check
36 clean-local-check:
37         -rm -rf testsuite/launcher.all/command/bin
38         -rm -rf testsuite/launcher.all/command/share
39         -rm -rf testsuite/report-card.all/onetest
40         -rm -rf testsuite/report-card.all/passes
42 # Give a reassuring message so that users know the "build" worked.
43 all-local:
44         @echo "Done. Now run 'make install'."
46 bin_SCRIPTS = dejagnu runtest
47 include_HEADERS = dejagnu.h
49 pkgdata_DATA = \
50   stub-loader.c \
51   testglue.c \
52   runtest.exp \
53   lib/debugger.exp \
54   lib/dejagnu.exp \
55   lib/dg.exp \
56   lib/dmucs.exp \
57   lib/framework.exp \
58   lib/ftp.exp \
59   lib/kermit.exp \
60   lib/libgloss.exp \
61   lib/remote.exp \
62   lib/rlogin.exp \
63   lib/rsh.exp \
64   lib/ssh.exp \
65   lib/standard.exp \
66   lib/target.exp \
67   lib/targetdb.exp \
68   lib/telnet.exp \
69   lib/tip.exp \
70   lib/utils.exp
72 commandsdir = $(pkgdatadir)/commands
73 commands_DATA = \
74         commands/help.sh \
75         commands/report-card.awk
77 configdir = $(pkgdatadir)/config
78 config_DATA = \
79         config/README \
80         config/adb.exp \
81         config/aarch64-fv8.exp \
82         config/default.exp \
83         config/gdb-comm.exp \
84         config/gdb_stub.exp \
85         config/sid.exp \
86         config/sim.exp \
87         config/unix.exp \
88         config/vxworks.exp
90 baseboarddir = $(pkgdatadir)/baseboards
91 baseboard_DATA = \
92         baseboards/README \
93         baseboards/aarch64-sim.exp \
94         baseboards/am33_2.0-libremote.exp \
95         baseboards/androideabi.exp \
96         baseboards/arm-ice.exp \
97         baseboards/arm-sid.exp \
98         baseboards/arm-sim.exp \
99         baseboards/basic-sid.exp \
100         baseboards/basic-sim.exp \
101         baseboards/cris-sim.exp \
102         baseboards/d30v-sim.exp \
103         baseboards/fr30-sim.exp \
104         baseboards/frv-sim.exp \
105         baseboards/gdbserver-sample.exp \
106         baseboards/generic-sim.exp \
107         baseboards/i386-sid.exp \
108         baseboards/iq2000-sim.exp \
109         baseboards/jmr3904-sim.exp \
110         baseboards/linux-gdbserver.exp \
111         baseboards/linux-libremote.exp \
112         baseboards/m68k-sid.exp \
113         baseboards/mcore-moto-sim.exp \
114         baseboards/mcore-sim.exp \
115         baseboards/mips-lnews-sim.exp \
116         baseboards/mips-lsi-sim.exp \
117         baseboards/mips-sim-idt32.exp \
118         baseboards/mips-sim-idt64.exp \
119         baseboards/mips-sim-mti32.exp \
120         baseboards/mips-sim-mti64.exp \
121         baseboards/mips-sim-mti64_64.exp \
122         baseboards/mips-sim-mti64_n32.exp \
123         baseboards/mips-sim-sde32.exp \
124         baseboards/mips-sim-sde64.exp \
125         baseboards/mips-sim.exp \
126         baseboards/mmixware-sim.exp \
127         baseboards/mn10200-sim.exp \
128         baseboards/mn10300-sim.exp \
129         baseboards/moxie-sim.exp \
130         baseboards/msp430-sim.exp \
131         baseboards/mt-sid.exp \
132         baseboards/multi-sim.exp \
133         baseboards/pi.exp \
134         baseboards/powerpc-sim.exp \
135         baseboards/powerpcle-sim.exp \
136         baseboards/pru-sim.exp \
137         baseboards/qemu.exp \
138         baseboards/riscv-sim.exp \
139         baseboards/rx-sim.exp \
140         baseboards/sh-sid.exp \
141         baseboards/sh-sim.exp \
142         baseboards/sparc-sim.exp \
143         baseboards/sparc64-sim.exp \
144         baseboards/sparclite-sim-le.exp \
145         baseboards/sparclite-sim.exp \
146         baseboards/tx39-sim.exp \
147         baseboards/unix.exp \
148         baseboards/v850-sim.exp \
149         baseboards/visium-sim.exp \
150         baseboards/vr4100-sim.exp \
151         baseboards/vr4111-sim.exp \
152         baseboards/vr4300-sim.exp \
153         baseboards/xtensa-sim.exp
155 djlibexecdir = $(pkgdatadir)/libexec
156 djlibexec_SCRIPTS = config.guess
158 # Contributed scripts, etc.
160 CONTRIB = contrib/sum2junit.sh \
161         contrib/mysql/create-db.sql contrib/mysql/importxml.sh \
162         contrib/mysql/make-datafile.sh contrib/mysql/plot.sh \
163         contrib/mysql/README contrib/mysql/sum2xml.sh \
164         contrib/dejagnu.py
166 # Testsuite.
168 TESTSUITE_FILES = \
169         testsuite/launcher.all/command.exp \
170         testsuite/launcher.all/command/commands/bar-baz.awk \
171         testsuite/launcher.all/command/commands/bar.awk \
172         testsuite/launcher.all/command/commands/bar.sh \
173         testsuite/launcher.all/command/commands/baz-quux.gawk \
174         testsuite/launcher.all/command/commands/foo.sh \
175         testsuite/launcher.all/command/commands/foo.tcl \
176         testsuite/launcher.all/help.exp \
177         testsuite/launcher.all/interp.exp \
178         testsuite/launcher.all/verbose.exp \
179         testsuite/report-card.all/onetest.exp \
180         testsuite/report-card.all/passes.exp \
181         testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1 \
182         testsuite/runtest.libs/topdir/subdir1/subfile1 \
183         testsuite/runtest.libs/topdir/subdir1/subfile2 \
184         testsuite/runtest.libs/topdir/subdir2/subfile2 \
185         testsuite/runtest.libs/libs.exp \
186         testsuite/runtest.libs/default_procs.tcl \
187         testsuite/runtest.libs/mockutil.tcl \
188         testsuite/runtest.libs/clone_output.test \
189         testsuite/runtest.libs/config.test \
190         testsuite/runtest.libs/remote.test \
191         testsuite/runtest.libs/target.test \
192         testsuite/runtest.libs/testcase_group.test \
193         testsuite/runtest.libs/testsuite_can.test \
194         testsuite/runtest.libs/testsuite_file.test \
195         testsuite/runtest.libs/utils.test \
196         testsuite/runtest.main/error.exp \
197         testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp \
198         testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp \
199         testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp \
200         testsuite/runtest.main/nested/testsuite/error.test/simple.exp \
201         testsuite/runtest.main/options.exp \
202         testsuite/runtest.main/nested/testsuite/null.test/null.exp \
203         testsuite/runtest.main/stats.exp \
204         testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp \
205         testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk \
206         testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp \
207         testsuite/runtest.main/pr42399.exp \
208         testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk \
209         testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp \
210         testsuite/runtest.main/pr48155-csh.sh \
211         testsuite/runtest.main/pr48155.exp \
212         testsuite/runtest.main/pr53427.exp \
213         testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp \
214         testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp \
215         testsuite/lib/bohman_ssd.exp \
216         testsuite/lib/launcher.exp \
217         testsuite/lib/libdejagnu.exp \
218         testsuite/lib/libsup.exp \
219         testsuite/lib/report-card.exp \
220         testsuite/lib/runtest.exp \
221         testsuite/lib/util-defs.exp \
222         testsuite/libdejagnu/unit.exp \
223         testsuite/libdejagnu/tunit.exp
225 DEJATOOL = launcher libdejagnu report-card runtest
227 # We override runtest so that the testsuite is run with this version
228 # of DejaGnu instead of an installed version.
229 RUNTEST = ${top_srcdir}/runtest
231 AM_CPPFLAGS = -I$(top_srcdir)
232 check_PROGRAMS = \
233         testsuite/libdejagnu/unit-c \
234         testsuite/libdejagnu/unit-cxx \
235         testsuite/libdejagnu/unit-ccxxmix
236 testsuite_libdejagnu_unit_c_SOURCES = testsuite/libdejagnu/unit-c.c
237 testsuite_libdejagnu_unit_cxx_SOURCES = testsuite/libdejagnu/unit-cxx.cxx
238 testsuite_libdejagnu_unit_ccxxmix_SOURCES = testsuite/libdejagnu/unit-ccxxmix.cxx
240 # Documentation.
242 TEXINFO_TEX = doc/texinfo.tex
243 dist_man_MANS = doc/dejagnu.1 \
244         doc/dejagnu-help.1 \
245         doc/dejagnu-report-card.1 \
246         doc/runtest.1
247 info_TEXINFOS = doc/dejagnu.texi
248 doc_dejagnu_TEXINFOS = doc/fdl.texi
250 pip-install:
251         pip3 install --upgrade -e $(top_srcdir)