From 0f8f1d33d82436adaa7d2c844e6703ba0c9c9a13 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 29 Mar 1996 19:02:30 +0000 Subject: [PATCH] * Makefile.in (ALL_MODULES): Include all-perl. (CROSS_CHECK_MODULES): Include check-perl. (INSTALL_MODULES): Include install-perl. (ALL_X11_MODULES): Include all-guile. (CHECK_X11_MODULES): Include check-guile. (INSTALL_X11_MODULES): Include install-guile. (all-perl): New target. (all-guile): New target. * configure.in (host_tools): Include perl and guile. (native_only): Include perl and guile. (noconfigdirs): Don't build guile and perl; no ports have been done. --- ChangeLog | 16 ++++++++++++++++ Makefile.in | 28 +++++++++++++++++++++++----- configure.in | 12 ++++++------ 3 files changed, 45 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index de884619ee9..1ac3618f654 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +Thu Mar 28 14:11:11 1996 Tom Tromey + + * Makefile.in (ALL_MODULES): Include all-perl. + (CROSS_CHECK_MODULES): Include check-perl. + (INSTALL_MODULES): Include install-perl. + (ALL_X11_MODULES): Include all-guile. + (CHECK_X11_MODULES): Include check-guile. + (INSTALL_X11_MODULES): Include install-guile. + (all-perl): New target. + (all-guile): New target. + + * configure.in (host_tools): Include perl and guile. + (native_only): Include perl and guile. + (noconfigdirs): Don't build guile and perl; no ports have been + done. + Tue Mar 26 21:18:50 1996 Andrew Cagney * configure (--enable-*): Handle quoted option lists such as diff --git a/Makefile.in b/Makefile.in index 0f1a8e483f4..1dd96ef64e0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -437,6 +437,7 @@ ALL_MODULES = \ all-mmalloc \ all-opcodes \ all-patch \ + all-perl \ all-prms \ all-rcs \ all-readline \ @@ -492,6 +493,7 @@ CROSS_CHECK_MODULES = \ check-mmcheckoc \ check-opcodes \ check-patch \ + check-perl \ check-prms \ check-rcs \ check-readline \ @@ -542,6 +544,7 @@ INSTALL_MODULES = \ install-mmalloc \ install-opcodes \ install-patch \ + install-perl \ install-prms \ install-rcs \ install-readline \ @@ -567,6 +570,7 @@ ALL_X11_MODULES = \ all-gdb \ all-expect \ all-gash \ + all-guile \ all-tclX \ all-tk @@ -575,6 +579,7 @@ ALL_X11_MODULES = \ CHECK_X11_MODULES = \ check-emacs \ check-gdb \ + check-guile \ check-expect \ check-gash \ check-tclX \ @@ -586,6 +591,7 @@ INSTALL_X11_MODULES = \ install-emacs \ install-emacs19 \ install-gdb \ + install-guile \ install-expect \ install-gash \ install-tclX \ @@ -678,12 +684,12 @@ $(DO_X): case $$i in \ gcc) \ for flag in $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'|"`; \ done; \ ;; \ *) \ for flag in $(EXTRA_HOST_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'|"`; \ done; \ ;; \ esac ; \ @@ -704,7 +710,7 @@ $(DO_X): for i in $(TARGET_CONFIGDIRS) -dummy-; do \ if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \ for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'|"`; \ done; \ export AR AS CC CXX NM RANLIB DLLTOOL; \ if (cd $(TARGET_SUBDIR)/$$i; \ @@ -922,8 +928,16 @@ $(CONFIGURE_TARGET_MODULES): esac; \ if [ "$(srcdir)" = "." ] ; then \ if [ "$(TARGET_SUBDIR)" != "." ] ; then \ - if $(SHELL) $${srcroot}/symlink-tree $${topdir}/$${dir} "Makefile" ; then \ - true; \ + if $(SHELL) $${srcroot}/symlink-tree $${topdir}/$${dir} "no-such-file" ; then \ + if [ -f Makefile ]; then \ + if $(MAKE) distclean; then \ + true; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ else \ exit 1; \ fi; \ @@ -1134,6 +1148,7 @@ all-gprof: all-libiberty all-bfd all-opcodes all-grep: all-libiberty all-grez: all-libiberty all-bfd all-opcodes all-gui: all-gdb all-libproc all-target-librx +all-guile: all-gzip: all-libiberty all-hello: all-libiberty all-indent: @@ -1157,6 +1172,7 @@ configure-target-newlib: $(ALL_GCC) all-target-newlib: configure-target-newlib all-binutils all-gas all-gcc all-opcodes: all-bfd all-libiberty all-patch: all-libiberty +all-perl: all-prms: all-libiberty all-rcs: all-readline: @@ -1179,6 +1195,8 @@ configure-target-winsup: configure-target-newlib all-uudecode: all-libiberty configure-target-libiberty: $(ALL_GCC) all-target-libiberty: configure-target-libiberty all-gcc all-ld all-target-newlib +all-target: $(ALL_TARGET_MODULES) +install-target: $(INSTALL_TARGET_MODULES) ### other supporting targets diff --git a/configure.in b/configure.in index 99bd1fa4dbc..c668cc47a6b 100644 --- a/configure.in +++ b/configure.in @@ -36,7 +36,7 @@ host_tools="texinfo byacc flex bison binutils ld gas gcc gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu sim m4 autoconf ispell grep diff rcs cvs fileutils shellutils textutils wdiff find emacs emacs19 uudecode hello tar gzip indent - recode release sed utils" + recode release sed utils guile perl" # these libraries are built for the target environment, and are built after @@ -66,7 +66,7 @@ target_tools="target-examples target-groff" # native_only="autoconf cvs emacs emacs19 fileutils find grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash - uudecode wdiff gprof target-groff" + uudecode wdiff gprof target-groff guile perl" # directories to be built in a cross environment only # @@ -340,16 +340,16 @@ noconfigdirs="" case "${host}" in i[345]86-*-vsta) - noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff" + noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl" ;; i[345]86-*-go32) - noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff" + noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl" ;; *-*-cygwin32) - noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf texinfo bison send-pr gprof rcs" + noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf texinfo bison send-pr gprof rcs guile perl" ;; ppc*-*-pe) - noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf texinfo bison send-pr gprof rcs" + noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf texinfo bison send-pr gprof rcs guile perl" ;; esac -- 2.30.2