diff options
-rw-r--r-- | ChangeLog | 31 | ||||
-rw-r--r-- | Makefile.in | 4 | ||||
-rwxr-xr-x | configure | 17 |
3 files changed, 51 insertions, 1 deletions
@@ -741,6 +741,11 @@ Tue May 5 18:02:24 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.in (EXTRA_GCC_FLAGS): Remove backslash at end; Solaris `make' causes it to continue to next definition. +Tue Apr 28 16:24:24 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * Makefile.in (install-gdbtk): Call this 'install-gdb' so that + the right GUI libraries and files are installed along with GDB. + Tue Apr 28 18:11:24 1998 Ian Lance Taylor <ian@cygnus.com> * configure.in: Change alpha to alpha* in several places. @@ -842,6 +847,10 @@ Thu Mar 26 12:53:20 1998 Tom Tromey <tromey@cygnus.com> (noconfigdirs) [various cases]: Likewise. (host_libs): Added intl. +Thu Mar 26 15:00:11 1998 Keith Seitz <keiths@onions.cygnus.com> + + * configure: Do not disable building gdbtk for cygwin32 hosts. + Wed Mar 25 11:49:12 1998 Jason Molenda (crash@bugshack.cygnus.com) * Makefile.in: Revert yesterday's change. @@ -1290,6 +1299,11 @@ Thu Sep 18 21:43:23 1997 Alexandre Oliva <oliva@dcc.unicamp.br> (all-bootstrap): Remove outdated and confusing target. (bootstrap, bootstrap2, bootstrap3): Don't pass BOOT_CFLAGS down. +Thu Sep 18 15:37:42 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * configure (tooldir): enable_gdbtk=YES for cygwin32, NO for + windows. Consistent with gdb/configure. + 1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com> @@ -2383,6 +2397,7 @@ Mon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com> Sat Jun 15 17:13:25 1996 Geoffrey Noer <noer@cygnus.com> + * configure: enable_gdbtk=no for cygwin32-hosted toolchains * configure.in: remove make from disable-if-Can-Cross list enable gdb if ${host} and ${target} are cygwin32 @@ -2775,6 +2790,12 @@ Fri Jan 12 15:25:35 1996 Ian Lance Taylor <ian@cygnus.com> * configure.in: Make sure that ${CC} can be used to compile an executable. +Sat Jan 6 07:23:33 1996 Michael Meissner <meissner@wogglebug.tiac.net> + + * Makefile.in (all-gdb): Depend on $(GDB_TK). + * configure (GDB_TK): Set GDB_TK to either "all-tcl all-tk" or + nothing depending on whether gdbtk is being built. + Wed Jan 3 17:54:41 1996 Doug Evans <dje@canuck.cygnus.com> * Makefile.in (newlib.tar.gz): Delete building of newlib's info files. @@ -3372,6 +3393,11 @@ Mon Aug 7 09:21:35 1995 Doug Evans <dje@canuck.cygnus.com> * configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu). (i386-win32 host): Likewise. Don't build readline. +Sat Aug 5 09:51:49 1995 Fred Fish <fnf@rtl.cygnus.com> + + * Makefile.in (GDBTK_SUPPORT_DIRS): Define and pass as part of + SUPPORT_FILES to submakes. + Fri Aug 4 13:04:36 1995 Fred Fish <fnf@cygnus.com> * Makefile.in (GDB_SUPPORT_DIRS): Add utils. @@ -3550,6 +3576,11 @@ Tue Apr 11 18:55:40 1995 Doug Evans <dje@canuck.cygnus.com> * configure.in: Recognize --with-newlib. (sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target. +Mon Apr 10 14:38:20 1995 Jason Molenda (crash@phydeaux.cygnus.com) + + * Makefile.in: move {all,check,install}-gdb from *_MODULES + to *_X11_MODULES due to gdbtk needing X include files et al. + Mon Apr 10 11:42:22 1995 Stan Shebs <shebs@andros.cygnus.com> Merge in support for Mac MPW as a host. diff --git a/Makefile.in b/Makefile.in index f4e34a4..2d14306 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1632,6 +1632,7 @@ 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) +install-gdb: install-tcl install-tk install-itcl install-tix install-libgui ### other supporting targets MAKEDIRS= \ @@ -1790,9 +1791,10 @@ gnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats .PHONY: gdb.tar.bz2 GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl +GDBTK_SUPPORT_DIRS= `if [ -d tcl -a -d tk ] ; then echo tcl tk itcl tix libgui; fi` gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb $(MAKE) -f Makefile.in taz TOOL=gdb \ - SUPPORT_FILES="$(GDB_SUPPORT_DIRS)" + SUPPORT_FILES="$(GDB_SUPPORT_DIRS) $(GDBTK_SUPPORT_DIRS)" .PHONY: newlib.tar.bz2 NEWLIB_SUPPORT_DIRS=libgloss @@ -1060,6 +1060,21 @@ export CXX export CFLAGS export CXXFLAGS +# FIXME: This should be in configure.in, not configure +case "$host" in + *go32*) + enable_gdbtk=no ;; + *msdosdjgpp*) + enable_gdbtk=no ;; +esac + +# FIXME: This should be in configure.in, not configure +# Determine whether gdb needs tk/tcl or not. +if [ "$enable_gdbtk" != "no" ]; then + GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" +else + GDB_TK="" +fi for subdir in . ${subdirs} ; do @@ -1401,6 +1416,8 @@ EOF -e "s:^DEFAULT_M4[ ]*=.*$:DEFAULT_M4 = ${DEFAULT_M4}:" \ ${subdir}/Makefile.tem >> ${Makefile} + sed -e "s:^GDB_TK[ ]*=.*$:GDB_TK = ${GDB_TK}:" ${Makefile} >${Makefile}.tem + mv -f ${Makefile}.tem ${Makefile} # If this is a Canadian Cross, preset the values of many more # tools. |