source: trunk/third/sed/testsuite/Makefile.in @ 17271

Revision 17271, 8.2 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17270, which included commits to RCS files with non-trunk default branches.
Line 
1# Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13
14SHELL = /bin/sh
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DISTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = ..
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60CC = @CC@
61MAKEINFO = @MAKEINFO@
62PACKAGE = @PACKAGE@
63RANLIB = @RANLIB@
64VERSION = @VERSION@
65
66SED=$(top_builddir)/sed/sed
67#TIME=time
68CMP=cmp
69RM=rm -f
70
71CLEANFILES = tmp* core *.core
72DISTCLEANFILES = version.good
73
74EXTRA_DIST = \
75        Makefile.in \
76        enable.good enable.inp enable.sed \
77        sep.good sep.inp sep.sed \
78        inclib.good inclib.inp inclib.sed \
79        8bit.good 8bit.inp 8bit.sed \
80        newjis.good newjis.inp  newjis.sed \
81        manis.inp manis.sed \
82        xabcx.good xabcx.inp xabcx.sed \
83        dollar.good dollar.inp dollar.sed \
84        noeol.good noeol.inp noeol.sed \
85        numsub.good numsub.inp numsub.sed \
86        allsub.good allsub.sed \
87        subwrite.inp subwrite.sed  subwrt1.good subwrt2.good \
88        head.good head.inp head.sed \
89        madding.good madding.inp madding.sed \
90        mac-mf.good mac-mf.inp mac-mf.sed \
91        empty.good empty.inp empty.sed \
92        8to7.good 8to7.sed \
93        cv-vars.good cv-vars.inp cv-vars.sed \
94        middle.good middle.sed \
95        khadafy.inp khadafy.sed \
96        spencer.inp spencer.sh \
97        linecnt.good linecnt.inp linecnt.sed \
98        distrib.good distrib.inp distrib.sed distrib.sh \
99        writeout.inp writeout.sed wrtout1.good wrtout2.good \
100        readin.good readin.in2 readin.inp readin.sed \
101        dc.good dc.inp \
102        help.good version.gin
103
104CORE_BASICS = \
105        enable sep inclib 8bit newjis xabcx dollar noeol \
106        numsub head madding mac-mf empty
107mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
108CONFIG_HEADER = ../config.h
109CONFIG_CLEAN_FILES =
110DIST_COMMON =  Makefile.am Makefile.in
111
112
113DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
114
115TAR = tar
116GZIP = --best
117all: Makefile
118
119.SUFFIXES:
120$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
121        cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps testsuite/Makefile
122
123Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
124        cd $(top_builddir) \
125          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
126
127tags: TAGS
128TAGS:
129
130
131distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
132
133subdir = testsuite
134
135distdir: $(DISTFILES)
136        @for file in $(DISTFILES); do \
137          d=$(srcdir); \
138          test -f $(distdir)/$$file \
139          || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
140          || cp -p $$d/$$file $(distdir)/$$file; \
141        done
142info:
143dvi:
144check: all
145        $(MAKE)
146installcheck:
147install-exec:
148        @$(NORMAL_INSTALL)
149
150install-data:
151        @$(NORMAL_INSTALL)
152
153install: install-exec install-data all
154        @:
155
156uninstall:
157
158install-strip:
159        $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
160installdirs:
161
162
163mostlyclean-generic:
164        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
165
166clean-generic:
167        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
168
169distclean-generic:
170        -rm -f Makefile $(DISTCLEANFILES)
171        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
172        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
173
174maintainer-clean-generic:
175        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
176        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
177mostlyclean:  mostlyclean-generic
178
179clean:  clean-generic mostlyclean
180
181distclean:  distclean-generic clean
182        -rm -f config.status
183
184maintainer-clean:  maintainer-clean-generic distclean
185        @echo "This command is intended for maintainers to use;"
186        @echo "it deletes files that may require special tools to rebuild."
187
188.PHONY: tags distdir info dvi installcheck install-exec install-data \
189install uninstall all installdirs mostlyclean-generic distclean-generic \
190clean-generic maintainer-clean-generic clean mostlyclean distclean \
191maintainer-clean
192
193
194#We're not currently set up for testing the way automake would
195#like us to be.
196#TESTS = basics othersedcmds cmdlines
197check: basics othersedcmds cmdlines
198
199basics: $(CORE_BASICS) manis allsub 8to7 cv-vars middle
200othersedcmds: subwrite khadafy linecnt distrib writeout readin dc
201cmdlines: help version file quiet
202
203#NOTE: the "spencer" test suite is no longer run by default, because
204# it: a) tests EREs instead of BREs; and b) tests using EREs with
205# undefined semantics.  One can still explicitly "make spencer" if
206# desired, but its use is depreciated.  A replacement BRE tester
207# will written for a later revision of sed.
208
209$(CORE_BASICS) linecnt::
210        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp > tmp.$@
211        $(CMP) $(srcdir)/$@.good tmp.$@
212        @$(RM) tmp.$@
213
214manis khadafy::
215        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp > tmp.$@
216        $(CMP) $(srcdir)/$@.inp tmp.$@
217        @$(RM) tmp.$@
218
219allsub::
220        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/numsub.inp > tmp.$@
221        $(CMP) $(srcdir)/$@.good tmp.$@
222        @$(RM) tmp.$@
223
2248to7::
225        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/8bit.inp > tmp.$@
226        $(CMP) $(srcdir)/$@.good tmp.$@
227        @$(RM) tmp.$@
228
229cv-vars::
230        $(TIME) $(SED) -n -f $(srcdir)/$@.sed < $(srcdir)/$@.inp > tmp.$@
231        $(CMP) $(srcdir)/$@.good tmp.$@
232        @$(RM) tmp.$@
233
234middle::
235        $(TIME) $(SED) -n -f $(srcdir)/$@.sed < $(srcdir)/head.inp > tmp.$@
236        $(CMP) $(srcdir)/$@.good tmp.$@
237        @$(RM) tmp.$@
238
239subwrite::
240        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp > tmp.1$@
241        $(CMP) $(srcdir)/subwrt1.good tmp.1$@
242        $(CMP) $(srcdir)/subwrt2.good tmp.subwrite-w
243        @$(RM) tmp.1$@ tmp.subwrite-w
244
245spencer::
246        sh $(srcdir)/$@.sh $(SED) <  $(srcdir)/$@.inp > tmp.$@
247        $(TIME) sh tmp.$@
248        @$(RM) tmp.$@
249
250distrib::
251        $(TIME) sh $(srcdir)/$@.sh $(SED) < $(srcdir)/$@.inp > tmp.$@
252        $(CMP) $(srcdir)/$@.good tmp.$@
253        @$(RM) tmp.$@
254
255writeout::
256        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp >tmp.1$@
257        $(CMP) $(srcdir)/wrtout1.good tmp.1$@
258        $(CMP) $(srcdir)/wrtout2.good tmp.writeout-w
259        @$(RM) tmp.1$@ tmp.writeout-w
260
261readin::
262        @test -f $@.in2 || cp $(srcdir)/$@.in2 $@.in2
263        $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp >tmp.$@
264        $(CMP) $(srcdir)/$@.good tmp.$@
265        @$(RM) tmp.$@
266
267dc::
268        @echo "Patience, the dc.sed test is expected to take a while..."
269        $(TIME) $(SED) -n -f $(top_srcdir)/dc.sed < $(srcdir)/$@.inp >tmp.$@
270        $(CMP) $(srcdir)/$@.good tmp.$@
271        @$(RM) tmp.$@
272
273#
274# cmdlines targets
275#
276
277help::
278        $(SED) --help | $(SED) '1s/ [^ ]* / sed /' > tmp.1$@
279        $(SED) -h | $(SED) '1s/ [^ ]* / sed /' > tmp.2$@
280        -$(SED) 2>&1 | $(SED) '1s/ [^ ]* / sed /' > tmp.3$@ || true
281        $(CMP) $(srcdir)/$@.good tmp.1$@
282        $(CMP) tmp.1$@ tmp.2$@
283        $(CMP) tmp.2$@ tmp.3$@
284        @$(RM) tmp.1$@ tmp.2$@ tmp.3$@
285
286version:: version.good
287        $(SED) --version  > tmp.1$@ 2>&1
288        $(SED) -V > tmp.2$@ 2>&1
289        $(CMP) $@.good tmp.1$@
290        $(CMP) $@.good tmp.2$@
291        @$(RM) tmp.1$@ tmp.2$@
292
293file::
294        $(TIME) $(SED) --file=$(srcdir)/newjis.sed < $(srcdir)/newjis.inp > tmp.$@
295        $(CMP) $(srcdir)/newjis.good tmp.$@
296        @$(RM) tmp.$@
297
298quiet::
299        $(TIME) $(SED) --quiet -f $(srcdir)/cv-vars.sed \
300                < $(srcdir)/cv-vars.inp > tmp.$@
301        $(CMP) $(srcdir)/cv-vars.good tmp.$@
302        @$(RM) tmp.$@
303
304# automake won't cooperate with me and let me AC_OUTPUT() this,
305# so I need to special-case this:
306version.good: $(srcdir)/version.gin Makefile
307        $(SED) 's^@'VERSION'@^@VERSION@^' $(srcdir)/version.gin > tmp-$@
308        mv tmp-$@ $@
309
310# Tell versions [3.59,3.63) of GNU make to not export all variables.
311# Otherwise a system limit (for SysV at least) may be exceeded.
312.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.