blob: ada985112aa8a36b1611168c388dec8155c71ddb (
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
|
# Minimal top-level Makefile. Just pass everything to the $(CONFIGDIR)
# subdir.
# Tom Tromey <tromey@cygnus.com>
CONFIGDIR=@CONFIGDIR@
VPATH = @srcdir@
SHELL = @SHELL@
srcdir = @srcdir@
@SET_MAKE@
all install install-binaries install-libraries install-minimal:
@cd $(CONFIGDIR) && $(MAKE) $@
# Nothing for these yet.
installcheck install-info info:
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@cd $(CONFIGDIR) && $(MAKE) `echo $@ | sed 's/-recursive//'`
# Don't depend on configure.in, because we can't ensure that the user
# has autoconf.
configure:
cd $(srcdir) ; autoconf
mostlyclean: mostlyclean-recursive
clean: clean-recursive
distclean-local:
rm -f Makefile config.status config.cache config.log
distclean: distclean-recursive distclean-local
maintainer-clean: distclean-local maintainer-clean-recursive
Makefile: Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
config.status: configure
$(SHELL) config.status --recheck
#----------------------------------------------------------------
# These let the DejaGnu test suite run when DejaGnu isn't
# installed yet, so run it from the srcdir and objdir.
#----------------------------------------------------------------
EXPECT = ` \
if [ -f $${rootme}/../expect/expect ] ; then \
echo $${rootme}/../expect/expect ; \
else echo expect ; fi`
RUNTESTFLAGS =
RUNTEST = ` \
if [ -f $(srcdir)/../dejagnu/runtest ] ; then \
echo $(srcdir)/../dejagnu/runtest ; \
else echo runtest ; fi`
check:
cd $(CONFIGDIR) && $(MAKE) tktest
rootme=`pwd`; export rootme; \
srcdir=${srcdir}; export srcdir ; \
EXPECT=${EXPECT} ; export EXPECT ; \
if [ -f $${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd $${srcdir}/../tcl/library && pwd`; \
export TCL_LIBRARY; \
TK_LIBRARY=`cd $${srcdir}/library && pwd`; \
export TK_LIBRARY; \
fi ; \
$(RUNTEST) $(RUNTESTFLAGS) --tool tk --srcdir $(srcdir)/testsuite
|