* 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.
(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.
(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>
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
* 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.
* 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.
* 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.
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= \
.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
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
-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.