From ffce44a01096c2240c9249315d15bf2487858811 Mon Sep 17 00:00:00 2001 From: "David D. Zuhn" Date: Sat, 7 Nov 1992 05:00:06 +0000 Subject: [PATCH] added tcl, tk, and expect --- ChangeLog | 6 +++ Makefile.in | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++- configure.in | 2 +- 3 files changed, 107 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b6fa685eb6..edc8d262cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Nov 6 20:59:00 1992 david d `zoo' zuhn (zoo@cygnus.com) + + * Makefile.in: added rules to handle tcl, tk, and expect + + * configure.in: handle those directories if they exist + Thu Nov 5 14:35:41 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * config.sub: removed bogus hppabsd and hppahpux names, since diff --git a/Makefile.in b/Makefile.in index bfdbf52f25..d9a4c0fa5e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -245,6 +245,7 @@ all.normal: all-autoconf all-libiberty all-mmalloc all-texinfo \ all-gcc all-binutils all-libg++ all-readline all-gdb \ all-make all-rcs all-cvs all-diff all-grep \ all-patch all-emacs all-ispell all-etc \ + all-tcl all-tk all-expect \ all-newlib all-gprof all-send_pr all-libm all-deja-gnu all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \ @@ -257,6 +258,7 @@ clean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \ clean-gcc clean-readline clean-glob clean-gdb \ clean-make clean-diff clean-grep clean-rcs \ clean-cvs clean-patch clean-emacs clean-ispell \ + clean-tcl clean-tk clean-expect \ clean-libg++ clean-gprof clean-send_pr clean-libm clean-xiberty \ clean-deja-gnu -rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E @@ -289,6 +291,7 @@ install-no-fixedincludes: install-dirs gcc-no-fixedincludes \ install-deja-gnu \ install-emacs \ install-etc \ + install-expect \ install-flex \ install-gas \ install-gdb \ @@ -307,7 +310,9 @@ install-no-fixedincludes: install-dirs gcc-no-fixedincludes \ install-rcs \ install-readline \ install-send_pr \ - install-texinfo + install-tcl \ + install-texinfo \ + install-tk gcc-no-fixedincludes: @if [ -f ./gcc/Makefile ] ; then \ @@ -1206,6 +1211,100 @@ install-libg++: force else \ true ; \ fi +### tcl +all-tcl: + @if [ -f ./tcl/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./tcl; \ + $(MAKE) $(FLAGS_TO_PASS) all) ; \ + else \ + true ; \ + fi + +clean-tcl: force + @if [ -f ./tcl/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./tcl; \ + $(MAKE) $(FLAGS_TO_PASS) clean) ; \ + else \ + true ; \ + fi + +install-tcl: force + @if [ -f ./tcl/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./tcl; \ + $(MAKE) $(FLAGS_TO_PASS) install) ; \ + else \ + true ; \ + fi + + +### tk +all-tk: all-tcl + @if [ -f ./tk/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./tk; \ + $(MAKE) $(FLAGS_TO_PASS) all) ; \ + else \ + true ; \ + fi + +clean-tk: force + @if [ -f ./tk/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./tk; \ + $(MAKE) $(FLAGS_TO_PASS) clean) ; \ + else \ + true ; \ + fi + +install-tk: force + @if [ -f ./tk/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./tk; \ + $(MAKE) $(FLAGS_TO_PASS) install) ; \ + else \ + true ; \ + fi + +### tk +all-expect: all-tcl + @if [ -f ./expect/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./expect; \ + $(MAKE) $(FLAGS_TO_PASS) all) ; \ + else \ + true ; \ + fi + +clean-expect: force + @if [ -f ./expect/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./expect; \ + $(MAKE) $(FLAGS_TO_PASS) clean) ; \ + else \ + true ; \ + fi + +install-expect: force + @if [ -f ./expect/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + srcroot=`cd $(srcdir); pwd`; export srcroot ; \ + (cd ./expect; \ + $(MAKE) $(FLAGS_TO_PASS) install) ; \ + else \ + true ; \ + fi + ### other supporting targets diff --git a/configure.in b/configure.in index d32ca6a07b..9f705c1f71 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ # script appropriate for this directory. For more information, check # any existing configure script. -configdirs="autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc deja-gnu" +configdirs="autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc tcl expect tk deja-gnu" srctrigger=move-if-change srcname="gnu development package"