aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-12-30 23:42:46 +0000
committerStan Shebs <shebs@codesourcery.com>1994-12-30 23:42:46 +0000
commitd3d75ec97d91fe629105ce3dd96a4cd461561f6e (patch)
tree2cd31fc391f91fa3d793e38065d2a033ab0e4399 /gdb/Makefile.in
parent227fe4adb9b30d8550849e411a44e82e244698c3 (diff)
downloadgdb-d3d75ec97d91fe629105ce3dd96a4cd461561f6e.zip
gdb-d3d75ec97d91fe629105ce3dd96a4cd461561f6e.tar.gz
gdb-d3d75ec97d91fe629105ce3dd96a4cd461561f6e.tar.bz2
Sanitize out gdbtk references unless keep-gdbtk specified
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 782ee45..1917703 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -513,9 +513,11 @@ install-only:
fi ; \
$(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
$(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
+ # start-sanitize-gdbtk
if [ x"$(ENABLE_GDBTK)" != x ] ; then \
$(INSTALL_DATA) $(srcdir)/gdbtk.tcl $(libdir)/gdbtk.tcl ; \
fi
+ # end-sanitize-gdbtk
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
uninstall: force
@@ -1103,10 +1105,12 @@ findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
$(inferior_h) target.h terminal.h thread.h
+# start-sanitize-gdbtk
gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
$(bfd_h) symfile.h objfiles.h target.h
$(CC) -c $(INTERNAL_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(srcdir)/gdbtk.c \
-DGDBTK_FILENAME=\"$(libdir)/gdbtk.tcl\"
+# end-sanitize-gdbtk
gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
$(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \