1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
# Copyright 2010-2021,2023 Thomas E. Dickey
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
datadir = @datadir@
DESTDIR =
top_builddir = ..
transform = @program_transform_name@
EXPR = @EXPR@
M4 = @M4@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SUITE = suite.at \
m4sugar.at \
m4sh.at \
base.at \
tools.at \
torture.at \
compile.at \
semantics.at \
acgeneral.at \
acspecific.at \
acfunctions.at \
aclang.at \
acheaders.at \
actypes.at
EGREP = @EGREP@
FGREP = @FGREP@
# We don't actually distribute the testsuite, since one only
# needs m4 to build it, m4 being required anyway to install Autoconf.
EXTRA_DIST = README atgeneral.m4 atspecific.m4 aclocal.m4 $(SUITE) mktests.sh
# The files which contains macro we check for syntax. Don't use $(top_srcdir)
# here since below we explicitly `cd' to $srcdir. As for the dependencies,
# thanks God for VPATH. Hm...
MACRO_FILES = \
../acgeneral.m4 \
../acspecific.m4 \
../acfunctions.m4 \
../aclang.m4 \
../acheaders.m4 \
../actypes.m4
CLEANFILES = \
debug-*.sh \
macro \
configure \
configure.in \
configure.ac \
config.status \
config.cache \
config.log \
config.h.in \
config.h \
config.hin \
state-* \
at-* \
stderr \
stdout \
empty \
config.guess \
config.sub \
expr \
libtool \
ltconfig \
ltmain.sh \
install-sh
DISTCLEANFILES = atconfig testsuite
CONFIG_CLEAN_FILES = \
atconfig \
mktests.sh \
acgeneral.at \
acspecific.at \
acfunctions.at \
aclang.at \
acheaders.at \
actypes.at
DIST_COMMON = README Makefile.am Makefile.in atconfig.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
atconfig: $(top_builddir)/config.status atconfig.in
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
tags: TAGS
TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = tests
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-local
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
install-data-am:
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am:
uninstall: uninstall-am
all-am: Makefile
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
mostlyclean-am: mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-generic clean-am
distclean: distclean-am
maintainer-clean-am: maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: tags distdir info-am info dvi-am dvi check-local check check-am \
installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
check-local: atconfig testsuite
@echo "making $@"
@FGREP="$(FGREP)" EGREP="$(EGREP)" $(SHELL) testsuite
testsuite: $(top_srcdir)/m4sugar.m4 $(top_srcdir)/m4sh.m4 \
atgeneral.m4 atspecific.m4 \
$(SUITE)
$(M4) -I $(srcdir) -I $(top_srcdir) atspecific.m4 suite.at | \
sed -e 's/[ ]*$$//' | \
sed -e '/^$$/N;/\n$$/D' >$@.tmp
chmod +x $@.tmp
mv $@.tmp $@
acgeneral.at: mktests.sh $(MACRO_FILES)
cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES)
acspecific.at: mktests.sh $(MACRO_FILES)
cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES)
acfunctions.at: mktests.sh $(MACRO_FILES)
cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES)
aclang.at: mktests.sh $(MACRO_FILES)
cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES)
acheaders.at: mktests.sh $(MACRO_FILES)
cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES)
actypes.at: mktests.sh $(MACRO_FILES)
cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES)
maintainer-check: maintainer-check-posix maintainer-check-c++
# The hairy heredoc is more robust than using echo.
expr:
echo '#! $(SHELL)' >expr
echo 'result=`@EXPR@ "$$@"`' >>expr
echo 'estatus=$$?' >>expr
echo 'cat <<EOF' >>expr
echo '$${result:-0}' >>expr
echo 'EOF' >>expr
echo 'exit $$estatus' >>expr
chmod +x expr
# Try the test suite with more severe environments.
maintainer-check-posix: expr
POSIXLY_CORRECTLY=yes make check
rm expr
# Try using G++ as a C compiler.
maintainer-check-c++:
CC=g++ make check
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
|