diff options
author | Stu Grossman <grossman@cygnus> | 1994-11-02 00:50:12 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-11-02 00:50:12 +0000 |
commit | cd2df226a74a368aa791b797888cfbc6cd7f558f (patch) | |
tree | fb6957ba93b61bb11497d5151e374ada3287a0a8 /gdb/Makefile.in | |
parent | da15a93ea12380a05a34c15377e35d3415137375 (diff) | |
download | gdb-cd2df226a74a368aa791b797888cfbc6cd7f558f.zip gdb-cd2df226a74a368aa791b797888cfbc6cd7f558f.tar.gz gdb-cd2df226a74a368aa791b797888cfbc6cd7f558f.tar.bz2 |
* Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are
available.
* configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of
-ltcl and -ltk.
* gdbtk.c: Get rid of lots of unnecessary #includes.
* (gdbtk_init): Use ConnectionNumber macro instead of referencing
Display structure directly.
* gdbtk.tcl: Change exit button to quit button (makes shebs
happy).
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 2efb7e5..92b6a46 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -120,6 +120,18 @@ OPCODES = ../opcodes/libopcodes.a OP_INCLUDE = $(INCLUDE_DIR)/opcode OPCODES_CFLAGS = -I$(OP_INCLUDE) +# Where is the TCL library? Typically in ../tcl. +TCL_DIR = ../tcl +TCL = -L$(TCL_DIR) -ltcl +TCL_SRC = $(srcdir)/$(TCL_DIR) +TCL_CFLAGS = -I$(TCL_SRC) + +# Where is the TK library? Typically in ../tk. +TK_DIR = ../tk +TK = -L$(TK_DIR) -ltk +TK_SRC = $(srcdir)/$(TK_DIR) +TK_CFLAGS = -I$(TK_SRC) + # All the includes used for CFLAGS and for lint. # -I. for config files. # -I$(srcdir) for gdb internal headers and possibly for regex.h also. @@ -1111,7 +1123,7 @@ fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \ gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ $(bfd_h) symfile.h objfiles.h target.h - $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/gdbtk.c \ + $(CC) -c $(INTERNAL_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(srcdir)/gdbtk.c \ -DGDBTK_FILENAME=\"$(libdir)/gdbtk.tcl\" gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \ |