1 # Minimal top-level Makefile. Just pass everything to the $(CONFIGDIR)
3 # Tom Tromey <tromey@cygnus.com>
13 all install install-binaries install-libraries install-minimal:
14 @cd $(CONFIGDIR) && $(MAKE) $@
16 # Nothing for these yet.
17 installcheck install-info info:
19 mostlyclean-recursive clean-recursive distclean-recursive \
20 maintainer-clean-recursive:
21 @cd $(CONFIGDIR) && $(MAKE) `echo $@ | sed 's/-recursive//'`
23 # Don't depend on configure.in, because we can't ensure that the user
26 cd $(srcdir) ; autoconf
28 mostlyclean: mostlyclean-recursive
30 clean: clean-recursive
33 rm -f Makefile config.status config.cache config.log
35 distclean: distclean-recursive distclean-local
37 maintainer-clean: distclean-local maintainer-clean-recursive
39 Makefile: Makefile.in config.status
40 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
42 config.status: configure
43 $(SHELL) config.status --recheck
45 #----------------------------------------------------------------
46 # These let the DejaGnu test suite run when DejaGnu isn't
47 # installed yet, so run it from the srcdir and objdir.
48 #----------------------------------------------------------------
50 if [ -f $${rootme}/../expect/expect ] ; then \
51 echo $${rootme}/../expect/expect ; \
52 else echo expect ; fi`
56 if [ -f $(srcdir)/../dejagnu/runtest ] ; then \
57 echo $(srcdir)/../dejagnu/runtest ; \
58 else echo runtest ; fi`
61 cd $(CONFIGDIR) && $(MAKE) tktest
62 rootme=`pwd`; export rootme; \
63 srcdir=${srcdir}; export srcdir ; \
64 EXPECT=${EXPECT} ; export EXPECT ; \
65 if [ -f $${rootme}/../expect/expect ] ; then \
66 TCL_LIBRARY=`cd $${srcdir}/../tcl/library && pwd`; \
68 TK_LIBRARY=`cd $${srcdir}/library && pwd`; \
71 $(RUNTEST) $(RUNTESTFLAGS) --tool tk --srcdir $(srcdir)/testsuite