2002-08-14 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 832103cc2a5a8580cb38c4450a171af1f3d6ff98..81be8c9bb2cfd3500514321bef7409471c2b33bb 100644 (file)
@@ -79,6 +79,11 @@ VPATH = @srcdir@
 
 YACC=@YACC@
 
+# This is used to rebuild ada-lex.c from ada-lex.l.  If the program is 
+# not defined, but ada-lex.c is present, compilation will continue,
+# possibly with a warning.
+FLEX = flex
+
 YLWRAP = $(srcdir)/../ylwrap
 
 # where to find makeinfo, preferably one designed for texinfo-2
@@ -518,7 +523,8 @@ TARGET_FLAGS_TO_PASS = \
 # Links made at configuration time should not be specified here, since
 # SFILES is used in building the distribution archive.
 
-SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \
+SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
+       ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \
        buildsym.c c-exp.y c-lang.c c-typeprint.c c-valprint.c \
        coffread.c \
        complaints.c completer.c corefile.c cp-valprint.c dbxread.c \
@@ -649,7 +655,7 @@ macrotab_h =    macrotab.h
 macroscope_h =  macroscope.h $(macrotab_h) $(symtab_h)
 memattr_h =     memattr.h
 monitor_h =    monitor.h
-objfiles_h =   objfiles.h $(gdb_obstack_h)
+objfiles_h =   objfiles.h $(gdb_obstack_h) $(symfile_h)
 parser_defs_h =        parser-defs.h $(doublest_h)
 ppc_tdep_h =   ppc-tdep.h osabi.h
 regcache_h =   regcache.h
@@ -764,6 +770,7 @@ SUBDIRS = @SUBDIRS@
 
 # For now, shortcut the "configure GDB for fewer languages" stuff.
 YYFILES = c-exp.tab.c \
+       ada-exp.tab.c \
        jv-exp.tab.c \
        f-exp.tab.c m2-exp.tab.c p-exp.tab.c
 YYOBJ = c-exp.tab.o \
@@ -1025,6 +1032,7 @@ local-maintainer-clean:
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."
        rm -f c-exp.tab.c \
+               ada-lex.c ada-exp.tab.c \
                jv-exp.tab \
                f-exp.tab.c m2-exp.tab.c p-exp.tab.c
        rm -f TAGS $(INFOFILES)
@@ -1160,6 +1168,33 @@ m2-exp.tab.c: m2-exp.y
        -rm m2-exp.tmp
        mv m2-exp.new ./m2-exp.tab.c
 
+# ada-exp.tab.c is generated in objdir from ada-exp.y if it doesn't exist
+# in srcdir, then compiled in objdir to ada-exp.tab.o.
+# Remove bogus decls for malloc/realloc/free which conflict with everything
+# else.
+ada-exp.tab.c: ada-exp.y 
+       $(YACC) $(YFLAGS) $(srcdir)/ada-exp.y
+       -sed -e '/extern.*malloc/d' \
+       -e '/extern.*realloc/d' \
+       -e '/extern.*free/d' \
+       -e '/include.*malloc.h/d' \
+       -e 's/malloc/xmalloc/g' \
+       -e 's/realloc/xrealloc/g' \
+       < y.tab.c > ada-exp.new
+       -rm y.tab.c
+       mv ada-exp.new ./ada-exp.tab.c
+
+ada-lex.c: ada-lex.l
+       @if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
+           echo $(FLEX) -Isit $(srcdir)/ada-lex.l ">" ada-lex.c; \
+           $(FLEX) -Isit $(srcdir)/ada-lex.l > ada-lex.c; \
+       elif [ ! -f ada-lex.c -a ! -f $(srcdir)/ada-lex.c ]; then \
+           echo "ada-lex.c missing and flex not available."; \
+           false; \
+       elif [ ! -f ada-lex.c ]; then \
+           echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
+       fi
+
 # p-exp.tab.c is generated in objdir from p-exp.y if it doesn't exist
 # in srcdir, then compiled in objdir to p-exp.tab.o.
 # Remove bogus decls for malloc/realloc/free which conflict with everything
@@ -1180,7 +1215,7 @@ p-exp.tab.c: p-exp.y
 
 # These files are updated atomically, so make never has to remove them
 .PRECIOUS: m2-exp.tab.c f-exp.tab.c c-exp.tab.c
-.PRECIOUS: jv-exp.tab.c p-exp.tab.c
+.PRECIOUS: jv-exp.tab.c p-exp.tab.c ada-exp.tab.c
 
 lint: $(LINTFILES)
        $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
@@ -1221,10 +1256,11 @@ ALLDEPFILES = a68v-nat.c \
        go32-nat.c h8300-tdep.c h8500-tdep.c \
        hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c hpread.c \
        i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c i386-linux-nat.c \
-       i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
+       i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
        i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c \
        i387-tdep.c \
        i386-linux-tdep.c i386-nat.c \
+       i386gnu-nat.c i386gnu-tdep.c \
        i960-tdep.c \
        ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c \
        infptrace.c inftarg.c irix4-nat.c irix5-nat.c \
@@ -1266,6 +1302,38 @@ ALLDEPFILES = a68v-nat.c \
        xstormy16-tdep.c \
        z8k-tdep.c
 
+# Some files need explict build rules (due to -Werror problems) or due
+# to sub-directory fun 'n' games.
+
+# Provide explicit rule/dependency - works for more makes.
+copying.o: $(srcdir)/copying.c
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/copying.c
+
+hpux-thread.o: $(srcdir)/hpux-thread.c
+       $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
+               -I$(srcdir)/osf-share/HP800 -I/usr/include/dce \
+               $(srcdir)/hpux-thread.c
+
+# FIXME: Procfs.o gets -Wformat errors because things like pid_t don't
+# match output format strings.
+procfs.o: $(srcdir)/procfs.c
+       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c
+
+v850ice.o: $(srcdir)/v850ice.c
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
+               $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
+               $(GDBTK_CFLAGS) \
+               $(srcdir)/v850ice.c
+
+# FIXME: z8k-tdep.c calls _initialize_gdbtypes().  Since that isn't
+# declared -Wimplicit fails. It should be using the GDBARCH framework.
+# cagney 1999-09-02.
+z8k-tdep.o: $(srcdir)/z8k-tdep.c
+       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
+               $(srcdir)/z8k-tdep.c
+
+# The dependencies.  In aphabetic order.
+
 a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(regcache_h)
 
@@ -1273,6 +1341,21 @@ aix-thread.o: aix-thread.c $(defs_h) $(gdbcore_h) $(gdbthread_h) \
        $(inferior_h) $(target_h) $(regcache_h) $(gdbcmd_h) $(gdb_assert_h) \
        $(ppc_tdep_h) $(language_h)
 
+ada-lang.o: ada-lang.c ada-lang.h c-lang.h $(defs_h) $(expression_h) \
+       $(gdbtypes_h) $(inferior_h) language.h parser-defs.h $(symtab_h) \
+       $(gdbcmd_h) $(ui_out_h) symfile.h objfiles.h $(gdbcore_h)
+
+ada-tasks.o: ada-tasks.c ada-lang.h $(defs_h) language.h $(value_h) \
+       $(command_h) $(value_h) $(gdbcore_h)
+
+ada-typeprint.o: ada-typeprint.c ada-lang.h $(defs_h) $(expression_h) \
+       $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
+       target.h typeprint.h $(value_h) ada-lang.h
+
+ada-valprint.o: ada-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
+       language.h $(symtab_h) valprint.h $(value_h) c-lang.h ada-lang.h \
+       annotate.h
+
 alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \
        $(regcache_h) $(alpha_tdep_h)
 
@@ -1386,7 +1469,6 @@ complaints.o: complaints.c $(complaints_h) $(defs_h) $(gdbcmd_h)
 
 # Provide explicit rule/dependency - works for more makes.
 copying.o: $(srcdir)/copying.c $(defs_h) $(gdbcmd_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/copying.c
 
 core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h) \
        $(regcache_h)
@@ -1404,8 +1486,8 @@ corefile.o: corefile.c $(dis_asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
 corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(target_h) $(gdbthread_h) $(gdb_string_h) $(regcache_h)
 
-gcore.o: gcore.c $(defs_h) $(command_h) $(inferior_h) $(gdbcore_h) \
-       $(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) 
+gcore.o: gcore.c $(defs_h) $(cli_decode_h) $(inferior_h) $(gdbcore_h) \
+       $(elf_bfd_h) $(symfile_h) $(objfiles_h)
 
 linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(regcache_h) $(gregset_h) \
        $(gdbcore_h) $(gdbthread_h) $(elf_bfd_h) $(cli_decode_h) \
@@ -1495,13 +1577,15 @@ frv-tdep.o: frv-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
        $(arch_utils_h) $(regcache_h)
 
 regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(gdbarch_h) \
-       $(gdbcmd_h) $(regcache_h) $(gdb_assert_h) $(gdb_string_h)
+       $(gdbcmd_h) $(regcache_h) $(gdb_assert_h) $(gdb_string_h) $(gdbcmd_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 ; \
@@ -1514,84 +1598,9 @@ install-gdbtk:
                $(INSTALL_DATA) $$i $(GDBTK_LIBRARY)/$$i ; \
          done ;
 
-gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
-       $(WINDRES) --include $(srcdir)/gdbtk $(srcdir)/gdbtk/gdb.rc gdbres.o
-
-gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
-       $(symtab_h) $(inferior_h) $(command_h) \
-       $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
-       $(tracepoint_h) $(top_h) 
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
-        $(ITK_CFLAGS) $(TIX_CFLAGS) \
-       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/gdbtk/generic/gdbtk.c \
-               -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
-
-gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
-       $(defs_h) $(breakpoint_h) $(tracepoint_h) $(symfile_h) $(symtab_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
-       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
-       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-bp.c \
-       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
-
-gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
-       $(defs_h) $(symtab_h) $(inferior_h)     \
-       $(command_h) $(bfd_h) $(top_h) $(symfile_h) $(objfiles_h) $(target_h) \
-       $(gdb_string_h) $(tracepoint_h) $(source_h) $(regcache_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)        \
-       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)          \
-       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c            \
-       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
-
-gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
-       $(symtab_h) $(inferior_h) $(command_h) \
-       $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
-       $(tracepoint_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
-       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
-
-gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
-       $(defs_h) $(frame_h) $(value_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
-       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
-       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-register.c \
-       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
-
-gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
-       $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
-       $(defs_h) $(frame_h) $(value_h) $(target_h) $(breakpoint_h) \
-       $(linespec_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
-       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
-       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-stack.c \
-       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
-
-gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \
-       $(srcdir)/gdbtk/generic/gdbtk.h \
-       $(defs_h) $(value_h) $(varobj_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
-       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/gdbtk/generic/gdbtk-varobj.c
-
-gdbtk-wrapper.o: $(srcdir)/gdbtk/generic/gdbtk-wrapper.c \
-       $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
-       $(defs_h) $(frame_h) $(value_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/gdbtk/generic/gdbtk-wrapper.c
-
 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)
-       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
-       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/v850ice.c
 
 v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
        $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) $(symfile_h) \
@@ -1654,6 +1663,8 @@ hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \
 hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \
        $(regcache_h)
 
+i386gnu-tdep.o: $(defs_h) $(i386_tdep_h)
+
 i386gnu-nat.o: gnu-nat.h
 
 i386-tdep.o: i386-tdep.c $(defs_h) $(gdb_string_h) $(frame_h)  \
@@ -1663,8 +1674,8 @@ i386-tdep.o: i386-tdep.c $(defs_h) $(gdb_string_h) $(frame_h)     \
 
 i386-nat.o: i386-nat.c $(defs_h) $(breakpoint_h) $(command_h) $(gdbcmd_h)
 
-i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \
-       $(language_h) $(gdbcore_h) $(floatformat_h) $(target_h) $(regcache_h)
+# OBSOLETE i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \
+# OBSOLETE     $(language_h) $(gdbcore_h) $(floatformat_h) $(target_h) $(regcache_h)
 
 i386b-nat.o: i386b-nat.c $(defs_h) $(regcache_h)
 
@@ -1887,21 +1898,10 @@ monitor.o: monitor.c $(monitor_h) $(bfd_h) $(defs_h) $(gdbcmd_h) \
 
 nbsd-tdep.o: nbsd-tdep.c $(defs_h) solib-svr4.h
 
-Onindy.o: nindy-share/Onindy.c $(gdb_wait_h) nindy-share/block_io.h \
-       nindy-share/env.h
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
-
-nindy.o: nindy-share/nindy.c $(gdb_wait_h) nindy-share/block_io.h \
-       nindy-share/env.h
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
-
 nlmread.o: nlmread.c $(bfd_h) $(buildsym_h) $(complaints_h) $(defs_h) \
        $(gdb_stabs_h) $(objfiles_h) $(symfile_h) $(symtab_h) $(stabsread_h) \
        $(gdb_string_h)
 
-ttyflush.o: nindy-share/ttyflush.c
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
-
 nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)  $(gdbcore_h)
 
 ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis_asm_h) $(defs_h)
@@ -1925,8 +1925,6 @@ pa64solib.o: pa64solib.c $(defs_h) $(regcache_h)
 
 hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) inferior.h \
        $(regcache_h)
-       $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
-         -I$(srcdir)/osf-share/HP800 -I/usr/include/dce $(srcdir)/hpux-thread.c
 
 hpread.o: hpread.c $(bfd_h) $(buildsym_h) $(complaints_h) $(defs_h) \
        $(demangle_h) $(gdb_stabs_h) $(gdbtypes_h) $(objfiles_h) \
@@ -1970,7 +1968,6 @@ printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
 # match output format strings.
 procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(target_h) $(gdb_string_h) $(gdbthread_h) proc-utils.h
-       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c
 
 proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) proc-utils.h $(completer_h)
 
@@ -2131,9 +2128,6 @@ sh3-rom.o: sh3-rom.c $(monitor_h) $(bfd_h) $(gdb_wait_h) $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(target_h) $(serial_h) $(terminal_h) $(arch_utils_h) \
        $(regcache_h) $(sh_tdep_h)
 
-signals.o: signals/signals.c $(defs_h) $(target_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $<
-
 mon960-rom.o: mon960-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
        $(serial_h) $(srec_h) $(xmodem_h) $(symtab_h) $(symfile_h) \
        $(inferior_h)
@@ -2196,7 +2190,6 @@ stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
 ui-file.o: ui-file.c $(defs_h) ui-file.h
 tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(srcdir)/tui/tui-file.h \
        $(srcdir)/tui/tuiIO.h
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c
 
 ax-general.o: ax-general.c $(defs_h) $(ax_h) $(value_h)
 
@@ -2301,18 +2294,6 @@ x86-64-linux-nat.o : x86-64-linux-nat.c $(defs_h) $(inferior_h) \
 win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
        $(gdb_string_h) $(regcache_h) $(completer_h)
 
-xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
-       vx-share/vxWorks.h vx-share/xdr_ld.h
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
-
-xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
-       vx-share/vxWorks.h vx-share/xdr_ptrace.h
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
-
-xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
-       vx-share/vxWorks.h vx-share/xdr_rdb.h
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
-
 xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
        $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
        $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h $(buildsym_h) \
@@ -2327,8 +2308,6 @@ xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) $(xcoffsolib_h) $(inferior_h) \
 # cagney 1999-09-02.
 z8k-tdep.o: z8k-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(gdbcmd_h) \
        $(gdbtypes_h) $(dis_asm_h) $(gdbcore_h) $(regcache_h)
-       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
-               $(srcdir)/z8k-tdep.c
 
 c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
        $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) $(bfd_h) \
@@ -2350,6 +2329,11 @@ p-exp.tab.o: p-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
        $(language_h) p-lang.h $(parser_defs_h) $(symtab_h) $(value_h) \
        $(bfd_h) $(objfiles_h) $(symfile_h)
 
+ada-exp.tab.o: ada-exp.tab.c ada-lex.c ada-lang.h \
+       $(defs_h) $(expression_h) \
+       $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
+       $(bfd_h) objfiles.h symfile.h
+
 gdb-events.o: gdb-events.c $(gdb_events_h) $(defs_h) $(gdbcmd_h)
 
 ui-out.o: ui-out.c $(defs_h) $(ui_out_h) $(expression_h) $(language_h)
@@ -2394,6 +2378,85 @@ cli-script.o: $(srcdir)/cli//cli-script.c $(defs_h) $(value_h) $(language_h) \
 cli-utils.o: $(srcdir)/cli/cli-utils.c $(cli_utils_h) $(defs_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-utils.c
 
+#
+# GDBTK sub-directory
+#
+
+gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
+       $(WINDRES) --include $(srcdir)/gdbtk $(srcdir)/gdbtk/gdb.rc gdbres.o
+
+gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
+       $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
+       $(symtab_h) $(inferior_h) $(command_h) \
+       $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
+       $(tracepoint_h) $(top_h) 
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
+        $(ITK_CFLAGS) $(TIX_CFLAGS) \
+       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
+               $(srcdir)/gdbtk/generic/gdbtk.c \
+               -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
+
+gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
+               $(srcdir)/gdbtk/generic/gdbtk.h \
+               $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
+               $(defs_h) $(breakpoint_h) $(tracepoint_h) \
+               $(symfile_h) $(symtab_h) $(gdb_string_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
+       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
+       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-bp.c \
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
+
+gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
+       $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
+       $(defs_h) $(symtab_h) $(inferior_h)     \
+       $(command_h) $(bfd_h) $(top_h) $(symfile_h) $(objfiles_h) $(target_h) \
+       $(gdb_string_h) $(tracepoint_h) $(source_h) $(regcache_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)        \
+       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)          \
+       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c            \
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
+
+gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
+       $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
+       $(symtab_h) $(inferior_h) $(command_h) \
+       $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
+       $(tracepoint_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
+       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
+               $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
+
+gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
+               $(srcdir)/gdbtk/generic/gdbtk.h \
+               $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
+               $(defs_h) $(frame_h) $(value_h) $(gdb_string_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
+       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
+       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-register.c \
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
+
+gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
+       $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
+       $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
+       $(defs_h) $(frame_h) $(value_h) $(target_h) $(breakpoint_h) \
+       $(linespec_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
+       $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
+       $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-stack.c \
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
+
+gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \
+               $(srcdir)/gdbtk/generic/gdbtk.h \
+               $(defs_h) $(value_h) $(varobj_h) $(gdb_string_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
+       $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
+               $(srcdir)/gdbtk/generic/gdbtk-varobj.c
+
+gdbtk-wrapper.o: $(srcdir)/gdbtk/generic/gdbtk-wrapper.c \
+       $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
+       $(defs_h) $(frame_h) $(value_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(GDBTK_CFLAGS)\
+               $(srcdir)/gdbtk/generic/gdbtk-wrapper.c
+
 #
 # MI dependencies
 #
@@ -2436,6 +2499,28 @@ mi-parse.o: $(srcdir)/mi/mi-parse.c $(defs_h) $(mi_parse_h) $(mi_cmds_h)
 mi-getopt.o: $(srcdir)/mi/mi-getopt.c $(mi_getopt_h) $(defs_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-getopt.c
 
+#
+# nindy-share sub-directory
+#
+
+Onindy.o: nindy-share/Onindy.c $(gdb_wait_h) nindy-share/block_io.h \
+       nindy-share/env.h
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
+
+nindy.o: nindy-share/nindy.c $(gdb_wait_h) nindy-share/block_io.h \
+       nindy-share/env.h
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
+
+ttyflush.o: nindy-share/ttyflush.c $(srcdir)/nindy-share/ttyflush.c
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
+
+#
+# Signals sub-directory
+#
+
+signals.o: $(srcdir)/signals/signals.c $(defs_h) $(target_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/signals/signals.c
+
 #
 # TUI dependencies
 #
@@ -2447,12 +2532,14 @@ tui.o: $(srcdir)/tui/tui.c \
                $(srcdir)/tui/tuiLayout.h $(srcdir)/tui/tuiIO.h \
                $(srcdir)/tui/tuiRegs.h $(srcdir)/tui/tuiWin.h
        $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tui.c
-tui-out.o: $(srcdir)/tui/tui-out.c \
-               $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h
-       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tui-out.c
+tui-file.o: $(srcdir)/tui/tui-file.c
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c
 tui-hooks.o: $(srcdir)/tui/tui-hooks.c \
                $(srcdir)/tui/tui.h
        $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tui-hooks.c
+tui-out.o: $(srcdir)/tui/tui-out.c \
+               $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h
+       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tui-out.c
 tuiCommand.o: $(srcdir)/tui/tuiCommand.c \
                $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \
                $(srcdir)/tui/tuiWin.h $(srcdir)/tui/tuiIO.h
@@ -2507,4 +2594,18 @@ tuiWin.o: $(srcdir)/tui/tuiWin.c \
                $(srcdir)/tui/tuiSourceWin.h $(srcdir)/tui/tuiDataWin.h
        $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiWin.c
 
+# vx-share sub-directory
+
+xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
+       vx-share/vxWorks.h vx-share/xdr_ld.h
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
+
+xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
+       vx-share/vxWorks.h vx-share/xdr_ptrace.h
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
+
+xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
+       vx-share/vxWorks.h vx-share/xdr_rdb.h
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
+
 ### end of the gdb Makefile.in.
This page took 0.031122 seconds and 4 git commands to generate.