diff options
author | Martin Hunt <hunt@redhat.com> | 1997-07-10 07:15:26 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1997-07-10 07:15:26 +0000 |
commit | 2476848aafa495e6b9fee09cf15f451a3b5afb41 (patch) | |
tree | ab00963ab366ddf788e1e4457a9532349a4a7378 /gdb/Makefile.in | |
parent | 67bc13a47895b2500107dabb863e7172773b7257 (diff) | |
download | gdb-2476848aafa495e6b9fee09cf15f451a3b5afb41.zip gdb-2476848aafa495e6b9fee09cf15f451a3b5afb41.tar.gz gdb-2476848aafa495e6b9fee09cf15f451a3b5afb41.tar.bz2 |
Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
IDE configuration information.
* gdbtk.c (breakpoint_notify): Send address, linenumber and
filename when a breakpoint is set. Avoids call to bp_info.
(gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
Itcl, Tix and IDE initialization.
* defs.h (init_ui_hook): Change prototype to accept one arg.
* main.c (gdb_init): Change prototype to accept one arg.
* top.c (gdb_init): Accepts one argument which it uses to
call (*init_ui_hook), which will be gdbtk_init(). This is
used for calling Tcl_FindExecutable().
* gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to
accept variable number of args for compatibility with
cchanges in gdbtk.c.
* configure: Regenerated.
* gdbtcl/tclIndex: Regenerated.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 9c38e44..bec9aa8 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -139,11 +139,33 @@ TCL_CFLAGS = @TCLHDIR@ TK = @TK_BUILD_LIB_SPEC@ TK_CFLAGS = @TKHDIR@ +# Where is Itcl? Typically in ../itcl. +ITCL_CFLAGS = @ITCLHDIR@ +ITCL = @ITCLLIB@ + +# Where is Tix? Typically in ../tix. +TIX_CFLAGS = @TIXHDIR@ +TIX = @TIXLIB@ + X11_CFLAGS = @TK_XINCLUDES@ X11_LDFLAGS = X11_LIBS = ENABLE_GDBTK= @ENABLE_GDBTK@ +ENABLE_IDE= @ENABLE_IDE@ + +IDE_CFLAGS_X = ` \ + if [ x"$(ENABLE_IDE)" != x ] ; then \ + echo -DIDE -I$(srcdir)/../libide/src -I$(srcdir)/../ilu/runtime/mainloop;\ + fi` + +IDE_X = ` \ + if [ x"$(ENABLE_IDE)" != x ] ; then \ + echo -L../libide/src -lide -L../ilu/runtime/mainloop -lilu-Tk -L../ilu/runtime/c -lilu-c -L../ilu/runtime/kernel -lilu;\ + fi` + +IDE=$(IDE_X) +IDE_CFLAGS=$(IDE_CFLAGS_X) #end-sanitize-gdbtk ENABLE_CFLAGS= @ENABLE_CFLAGS@ @@ -1162,7 +1184,8 @@ fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \ # start-sanitize-gdbtk gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ $(bfd_h) symfile.h objfiles.h target.h gdb_string.h - $(CC) -c $(INTERNAL_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ + $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ + $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ $(srcdir)/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" # end-sanitize-gdbtk |