* runtest.exp: Replace archaic use of [string match] with "eq".
[dejagnu.git] / Makefile.am
blob91473217966223509ed6338bb03be01153820aec
1 # Copyright (C) 1992-2016 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 EXTRA_DIST = ChangeLog-1992 MAINTAINERS runtest \
25         $(pkgdata_DATA) $(config_DATA) $(baseboard_DATA) \
26         $(TESTSUITE_FILES) $(XML) $(CONTRIB) $(TEXINFO_TEX)
28 DISTCLEANFILES = xXx.log xXx.sum x.log x.sum testrun.log \
29         testrun.sum testrun.xml
31 # Give a reassuring message so that users know the "build" worked.
32 all-local:
33         @echo "Done. Now run 'make install'."
35 bin_SCRIPTS = runtest
36 include_HEADERS = dejagnu.h
38 pkgdata_DATA = \
39   stub-loader.c \
40   testglue.c \
41   runtest.exp \
42   lib/debugger.exp \
43   lib/dejagnu.exp \
44   lib/dg.exp \
45   lib/dmucs.exp \
46   lib/framework.exp \
47   lib/ftp.exp \
48   lib/kermit.exp \
49   lib/libgloss.exp \
50   lib/remote.exp \
51   lib/rlogin.exp \
52   lib/rsh.exp \
53   lib/ssh.exp \
54   lib/standard.exp \
55   lib/target.exp \
56   lib/targetdb.exp \
57   lib/telnet.exp \
58   lib/tip.exp \
59   lib/utils.exp
61 configdir = $(pkgdatadir)/config
62 config_DATA = \
63         config/README \
64         config/adb.exp \
65         config/aarch64-fv8.exp \
66         config/default.exp \
67         config/gdb-comm.exp \
68         config/gdb_stub.exp \
69         config/sid.exp \
70         config/sim.exp \
71         config/unix.exp \
72         config/vxworks.exp
74 baseboarddir = $(pkgdatadir)/baseboards
75 baseboard_DATA = \
76         baseboards/README \
77         baseboards/aarch64-sim.exp \
78         baseboards/androideabi.exp \
79         baseboards/am33_2.0-libremote.exp \
80         baseboards/arm-ice.exp \
81         baseboards/arm-sid.exp \
82         baseboards/arm-sim.exp \
83         baseboards/basic-sid.exp \
84         baseboards/basic-sim.exp \
85         baseboards/cris-sim.exp \
86         baseboards/d30v-sim.exp \
87         baseboards/fr30-sim.exp \
88         baseboards/frv-sim.exp \
89         baseboards/gdbserver-sample.exp \
90         baseboards/i386-sid.exp \
91         baseboards/iq2000-sim.exp \
92         baseboards/jmr3904-sim.exp \
93         baseboards/linux-gdbserver.exp \
94         baseboards/linux-libremote.exp \
95         baseboards/m68k-sid.exp \
96         baseboards/mcore-moto-sim.exp \
97         baseboards/mcore-sim.exp \
98         baseboards/mips-lnews-sim.exp \
99         baseboards/mips-lsi-sim.exp \
100         baseboards/mips-sim-idt32.exp \
101         baseboards/mips-sim-idt64.exp \
102         baseboards/mips-sim.exp \
103         baseboards/mips-sim-mti32.exp \
104         baseboards/mips-sim-mti64.exp \
105         baseboards/mips-sim-mti64_n32.exp \
106         baseboards/mips-sim-mti64_64.exp \
107         baseboards/mips-sim-sde32.exp \
108         baseboards/mips-sim-sde64.exp \
109         baseboards/mmixware-sim.exp \
110         baseboards/mn10200-sim.exp \
111         baseboards/mn10300-sim.exp \
112         baseboards/msp430-sim.exp \
113         baseboards/mt-sid.exp \
114         baseboards/multi-sim.exp \
115         baseboards/powerpc-sim.exp \
116         baseboards/powerpcle-sim.exp \
117         baseboards/rx-sim.exp \
118         baseboards/sh-sid.exp \
119         baseboards/sh-sim.exp \
120         baseboards/sparc-sim.exp \
121         baseboards/sparc64-sim.exp \
122         baseboards/sparclite-sim-le.exp \
123         baseboards/sparclite-sim.exp \
124         baseboards/tx39-sim.exp \
125         baseboards/unix.exp \
126         baseboards/v850-sim.exp \
127         baseboards/visium-sim.exp \
128         baseboards/vr4100-sim.exp \
129         baseboards/vr4111-sim.exp \
130         baseboards/vr4300-sim.exp \
131         baseboards/xtensa-sim.exp
133 djlibexecdir = $(pkgdatadir)/libexec
134 djlibexec_SCRIPTS = config.guess
136 # Contributed scripts, etc.
138 CONTRIB = contrib/compare_tests contrib/sum2junit.sh \
139         contrib/mysql/create-db.sql contrib/mysql/importxml.sh \
140         contrib/mysql/make-datafile.sh contrib/mysql/plot.sh \
141         contrib/mysql/README contrib/mysql/sum2xml.sh
143 # Testsuite.
145 TESTSUITE_FILES = \
146         testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1 \
147         testsuite/runtest.all/topdir/subdir1/subfile1 \
148         testsuite/runtest.all/topdir/subdir1/subfile2 \
149         testsuite/runtest.all/topdir/subdir2/subfile2 \
150         testsuite/runtest.all/libs.exp \
151         testsuite/runtest.all/options.exp \
152         testsuite/runtest.all/remote.test \
153         testsuite/runtest.all/stats-sub.exp \
154         testsuite/runtest.all/stats.exp \
155         testsuite/runtest.all/target.test \
156         testsuite/runtest.all/utils.test \
157         testsuite/runtest.all/clone_output.test \
158         testsuite/runtest.all/config.test \
159         testsuite/runtest.all/default_procs.tcl \
160         testsuite/runtest.all/load_lib.exp \
161         testsuite/lib/libdejagnu.exp \
162         testsuite/lib/libsup.exp \
163         testsuite/lib/runtest.exp \
164         testsuite/lib/util-defs.exp \
165         testsuite/libdejagnu/tunit.exp
167 DEJATOOL = libdejagnu runtest
169 RUNTEST = ${top_srcdir}/runtest
170 RUNTESTDEFAULTFLAGS = --tool $${tool} --srcdir $${srcdir}/testsuite
171 RUNTESTDEFAULTFLAGS += RUNTEST=$(RUNTEST)
173 AM_CXXFLAGS = -I$(top_srcdir) -g
174 check_PROGRAMS = unit
175 unit_SOURCES = testsuite/libdejagnu/unit.cc
177 # Documentation.
179 TEXINFO_TEX = doc/texinfo.tex
180 dist_man_MANS = doc/runtest.1
181 info_TEXINFOS = doc/dejagnu.texi