1 # Minimal top-level Makefile. Just pass everything to the $(CONFIGDIR)
3 # Tom Tromey <tromey@cygnus.com>
6 CONFIGDIR2=@CONFIGDIR2@
15 @cd $(CONFIGDIR) && $(MAKE) $@
16 @test x"$(CONFIGDIR2)" = x"" || (cd "$(CONFIGDIR2)" && $(MAKE) $@)
18 install test install-binaries install-libraries install-minimal:
19 @cd $(CONFIGDIR) && $(MAKE) $@
21 mostlyclean-recursive clean-recursive distclean-recursive \
22 maintainer-clean-recursive:
23 @cd $(CONFIGDIR) && $(MAKE) `echo $@ | sed 's/-recursive//'`
24 @test x"$(CONFIGDIR2)" = x"" || (cd "$(CONFIGDIR2)" && $(MAKE) `echo $@ | sed 's/-recursive'`)
27 cd $(SRC_DIR) && autoconf
29 mostlyclean: mostlyclean-recursive
31 clean: clean-recursive
34 rm -f Makefile config.status config.cache config.log
36 distclean: distclean-recursive distclean-local
38 maintainer-clean: distclean-local maintainer-clean-recursive
41 #----------------------------------------------------------------
42 # These let the DejaGnu test suite run when DejaGnu isn't
43 # installed yet, so run it from the srcdir and objdir.
44 #----------------------------------------------------------------
46 if [ -f $${rootme}/../expect/expect ] ; then \
47 echo $${rootme}/../expect/expect ; \
48 else echo expect ; fi`
52 if [ -f $(SRC_DIR)/../dejagnu/runtest ] ; then \
53 echo $(SRC_DIR)/../dejagnu/runtest ; \
54 else echo runtest ; fi`
57 cd $(CONFIGDIR) && $(MAKE) tcltest
58 rootme=`pwd`; export rootme; \
59 srcdir=${SRC_DIR}; export srcdir ; \
60 EXPECT=${EXPECT} ; export EXPECT ; \
61 if [ -f $${rootme}/../expect/expect ] ; then \
62 TCL_LIBRARY=`cd $${srcdir}/library && pwd` ; \
63 export TCL_LIBRARY ; fi ; \
64 $(RUNTEST) $(RUNTESTFLAGS) --tool tcl --srcdir $(SRC_DIR)/testsuite
66 install-info info installcheck:
68 Makefile: Makefile.in config.status
69 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
71 config.status: configure
72 $(SHELL) config.status --recheck