From: Andrew Cagney Date: Wed, 21 Aug 2002 04:50:20 +0000 (+0000) Subject: 2002-08-21 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d39a69f2fcd89ea4cc0c789738e88b777fe9204;p=binutils-gdb.git 2002-08-21 Andrew Cagney * Makefile.in (install-gdbtk): Move to install section. (rdi-share/libangsd.a): Move to end of file. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57a6f9a8975..72f9baca5a7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-08-21 Andrew Cagney + + * Makefile.in (install-gdbtk): Move to install section. + (rdi-share/libangsd.a): Move to end of file. + 2002-08-19 Andrew Cagney * frame.c (frame_register_unwind): When a register, set addrp to diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b7bea61619e..3c69f1f3866 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -842,6 +842,22 @@ uninstall: force $(CONFIG_UNINSTALL) rm -rf $(GDBTK_LIBRARY) @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do +install-gdbtk: + $(SHELL) $(srcdir)/../mkinstalldirs $(GDBTK_LIBRARY) ; \ + $(SHELL) $(srcdir)/../mkinstalldirs $(libdir)/insight$(GDBTK_VERSION) ; \ + $(INSTALL_DATA) $(srcdir)/gdbtk/plugins/plugins.tcl $(libdir)/insight$(GDBTK_VERSION)/plugins.tcl ; \ + $(SHELL) $(srcdir)/../mkinstalldirs \ + $(GDBTK_LIBRARY)/images \ + $(GDBTK_LIBRARY)/images2 ; \ + $(SHELL) $(srcdir)/../mkinstalldirs $(GDBTK_LIBRARY)/help \ + $(GDBTK_LIBRARY)/help/images \ + $(GDBTK_LIBRARY)/help/trace ; \ + cd $(srcdir)/gdbtk/library ; \ + for i in *.tcl *.itcl *.ith *.itb images/*.gif images2/*.gif images/icons.txt images2/icons.txt tclIndex help/*.html help/trace/*.html help/trace/index.toc help/images/*.gif; \ + do \ + $(INSTALL_DATA) $$i $(GDBTK_LIBRARY)/$$i ; \ + done ; + # We do this by grepping through sources. If that turns out to be too slow, # maybe we could just require every .o file to have an initialization routine # of a given name (top.o -> _initialize_top, etc.). @@ -1583,22 +1599,6 @@ regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(gdbarch_h) \ fork-child.o: fork-child.c $(gdb_wait_h) $(defs_h) $(gdbcore_h) \ $(inferior_h) $(target_h) $(terminal_h) $(gdbthread_h) $(gdb_string_h) -install-gdbtk: - $(SHELL) $(srcdir)/../mkinstalldirs $(GDBTK_LIBRARY) ; \ - $(SHELL) $(srcdir)/../mkinstalldirs $(libdir)/insight$(GDBTK_VERSION) ; \ - $(INSTALL_DATA) $(srcdir)/gdbtk/plugins/plugins.tcl $(libdir)/insight$(GDBTK_VERSION)/plugins.tcl ; \ - $(SHELL) $(srcdir)/../mkinstalldirs \ - $(GDBTK_LIBRARY)/images \ - $(GDBTK_LIBRARY)/images2 ; \ - $(SHELL) $(srcdir)/../mkinstalldirs $(GDBTK_LIBRARY)/help \ - $(GDBTK_LIBRARY)/help/images \ - $(GDBTK_LIBRARY)/help/trace ; \ - cd $(srcdir)/gdbtk/library ; \ - for i in *.tcl *.itcl *.ith *.itb images/*.gif images2/*.gif images/icons.txt images2/icons.txt tclIndex help/*.html help/trace/*.html help/trace/index.toc help/images/*.gif; \ - do \ - $(INSTALL_DATA) $$i $(GDBTK_LIBRARY)/$$i ; \ - done ; - v850ice.o: v850ice.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ $(frame_h) $(breakpoint_h) $(gdbcore_h) $(value_h) $(symfile_h) \ $(gdb_string_h) $(target_h) $(objfiles_h) $(regcache_h) @@ -2000,16 +2000,6 @@ remote-array.o: remote-array.c $(defs_h) $(gdbcore_h) $(target_h) \ remote-rdi.o: remote-rdi.c $(defs_h) $(gdbcore_h) \ $(inferior_h) $(gdb_string_h) $(completer_h) $(arm_tdep_h) -rdi-share/libangsd.a: force - @dir=rdi-share; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`pwd`; export r; \ - srcroot=`cd $(srcdir); pwd`; export srcroot; \ - (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ - else \ - true; \ - fi - remote-rdp.o: remote-rdp.c $(defs_h) $(gdbcore_h) \ $(inferior_h) $(gdb_string_h) $(arm_tdep_h) $(callback_h) @@ -2515,6 +2505,20 @@ nindy.o: nindy-share/nindy.c $(gdb_wait_h) nindy-share/block_io.h \ ttyflush.o: nindy-share/ttyflush.c $(srcdir)/nindy-share/ttyflush.c $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c +# +# rdi-share sub-directory +# + +rdi-share/libangsd.a: force + @dir=rdi-share; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + srcroot=`cd $(srcdir); pwd`; export srcroot; \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ + else \ + true; \ + fi + # # Signals sub-directory #