summaryrefslogtreecommitdiff
path: root/testsuite/Makefile.in
blob: 902beef4f6a521463b0341e851edbd54c3946298 (plain)
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
# Makefile.in generated automatically by automake from Makefile.am.
# Copyright (C) 1994 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

SHELL = /bin/sh

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = $(exec_prefix)/bin
sbindir = $(exec_prefix)/sbin
libexecdir = $(exec_prefix)/libexec
datadir = $(prefix)/share
sysconfdir = $(prefix)/etc
sharedstatedir = $(prefix)/com
localstatedir = $(prefix)/var
libdir = $(exec_prefix)/lib
infodir = $(prefix)/info
mandir = $(prefix)/man
includedir = $(prefix)/include
oldincludedir = /usr/include

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
transform = @program_transform_name@

ALL = ${PROGRAMS} ${LIBPROGRAMS} ${SCRIPTS} ${LIBSCRIPTS} ${LIBFILES}
SOURCES = 
DIST_CONF = Makefile.am Makefile.in
DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER)

XARGS = ../xargs/xargs
XARGSFLAGS =

RUNTEST= runtest
RUNTESTFLAGS=

DIST_OTHER = config/*.exp inputs/*.xi xargs.*/*.exp xargs.*/*.xo
DIST_DIRS = config inputs xargs.gnu xargs.posix xargs.sysv

CLEANFILES = *.log *.sum site.exp site.bak

all:: ${ALL}

mostlyclean:
	rm -f *.o core

clean: mostlyclean
	rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)

distclean: clean
	rm -f Makefile *.tab.c $(DISTCLEANFILES)
	rm -f config.cache config.log config.status ${CONFIG_HEADER} stamp-h

realclean: distclean
	rm -f TAGS $(INFOS)

dist: $(DIST_FILES) $(DIST_DIRS)
	-mkdir ../`cat ../distname`/$(subdir)
	@for file in $(DIST_FILES); do \
	  echo linking $$file; \
	  ln $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file || \
	    { echo copying $$file instead; cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file;}; \
	done

check dvi info install uninstall::

tags:: TAGS

TAGS::
	cd $(srcdir); etags $(SOURCES)

# 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:

check:: site.exp
	@echo This only works if you have the DejaGNU runtest program installed...
	$(RUNTEST) $(RUNTESTFLAGS) --tool xargs XARGS=${XARGS} \
	XARGSFLAGS="${XARGSFLAGS}" --srcdir $(srcdir)

site.exp:
	@echo "Making a new site.exp file..."
	-@rm -f site.bak
	-@mv site.exp site.bak
	@echo "## these variables are automatically generated by make ##" > site.exp
	@echo "# Do not edit here. If you wish to override these values" >> site.exp
	@echo "# add them to the last section" >> site.exp
	@echo "set tool xargs" >> site.exp
	@echo "set srcdir ${srcdir}" >> site.exp
	@echo "set objdir `pwd`" >> site.exp
	@echo "## All variables above are generated by configure. Do Not Edit ##" >> site.exp
	-@sed '1,/^## All variables above are.*##/ d' site.bak >> site.exp

$(DIST_DIRS): FORCE
	-mkdir ../`cat ../distname`/$(subdir)
	-for d in $(DIST_DIRS); do \
	echo mkdir ../`cat ../distname`/$(subdir)/$$d; \
	mkdir ../`cat ../distname`/$(subdir)/$$d; done

FORCE: