2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
[external/binutils.git] / gdb / Makefile.in
1 # Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
2 # 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
3 # Free Software Foundation, Inc.
4
5 # This file is part of GDB.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA.
21
22 prefix = @prefix@
23 exec_prefix = @exec_prefix@
24
25 host_alias = @host_alias@
26 target_alias = @target_alias@
27 program_transform_name = @program_transform_name@
28 bindir = @bindir@
29 libdir = @libdir@
30 tooldir = $(libdir)/$(target_alias)
31
32 datadir = @datadir@
33 localedir = @localedir@
34 mandir = @mandir@
35 man1dir = $(mandir)/man1
36 man2dir = $(mandir)/man2
37 man3dir = $(mandir)/man3
38 man4dir = $(mandir)/man4
39 man5dir = $(mandir)/man5
40 man6dir = $(mandir)/man6
41 man7dir = $(mandir)/man7
42 man8dir = $(mandir)/man8
43 man9dir = $(mandir)/man9
44 infodir = @infodir@
45 htmldir = $(prefix)/html
46 includedir = @includedir@
47
48 # This can be referenced by `LIBINTL' as computed by
49 # ZW_GNU_GETTEXT_SISTER_DIR.
50 top_builddir = .
51
52 SHELL = @SHELL@
53 EXEEXT = @EXEEXT@
54
55 AWK = @AWK@
56 LN_S = @LN_S@
57
58 INSTALL = @INSTALL@
59 INSTALL_PROGRAM = @INSTALL_PROGRAM@
60 INSTALL_DATA = @INSTALL_DATA@
61
62 DESTDIR =
63
64 AR = @AR@
65 AR_FLAGS = qv
66 RANLIB = @RANLIB@
67 DLLTOOL = @DLLTOOL@
68 WINDRES = @WINDRES@
69 MIG = @MIG@
70
71 XGETTEXT = @XGETTEXT@
72 GMSGFMT = @GMSGFMT@
73 MSGMERGE = msgmerge
74
75 PACKAGE = @PACKAGE@
76 CATALOGS = @CATALOGS@
77
78 # If you are compiling with GCC, make sure that either 1) You have the
79 # fixed include files where GCC can reach them, or 2) You use the
80 # -traditional flag.  Otherwise the ioctl calls in inflow.c
81 # will be incorrectly compiled.  The "fixincludes" script in the gcc
82 # distribution will fix your include files up.
83 CC=@CC@
84
85 # Directory containing source files.
86 srcdir = @srcdir@
87 VPATH = @srcdir@
88
89 YACC=@YACC@
90
91 # This is used to rebuild ada-lex.c from ada-lex.l.  If the program is
92 # not defined, but ada-lex.c is present, compilation will continue,
93 # possibly with a warning.
94 FLEX = flex
95
96 YLWRAP = $(srcdir)/../ylwrap
97
98 # where to find makeinfo, preferably one designed for texinfo-2
99 MAKEINFO=makeinfo
100
101 MAKEHTML = texi2html
102
103 MAKEHTMLFLAGS = -glossary -menu -split_chapter
104
105 # Set this up with gcc if you have gnu ld and the loader will print out
106 # line numbers for undefined references.
107 #CC_LD=gcc -static
108 CC_LD=$(CC)
109
110 # Where is our "include" directory?  Typically $(srcdir)/../include.
111 # This is essentially the header file directory for the library
112 # routines in libiberty.
113 INCLUDE_DIR =  $(srcdir)/../include
114 INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
115
116 # Where is the "-liberty" library?  Typically in ../libiberty.
117 LIBIBERTY = ../libiberty/libiberty.a
118
119 # Where is the BFD library?  Typically in ../bfd.
120 BFD_DIR = ../bfd
121 BFD = $(BFD_DIR)/libbfd.a
122 BFD_SRC = $(srcdir)/$(BFD_DIR)
123 BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
124
125 # Where is the READLINE library?  Typically in ../readline.
126 READLINE_DIR = ../readline
127 READLINE = $(READLINE_DIR)/libreadline.a
128 READLINE_SRC = $(srcdir)/$(READLINE_DIR)
129 READLINE_CFLAGS = -I$(READLINE_SRC)/..
130
131 # Where is expat?  This will be empty if expat was not available.
132 LIBEXPAT = @LIBEXPAT@
133
134 WARN_CFLAGS = @WARN_CFLAGS@
135 WERROR_CFLAGS = @WERROR_CFLAGS@
136 GDB_WARN_CFLAGS = $(WARN_CFLAGS)
137 GDB_WERROR_CFLAGS = $(WERROR_CFLAGS)
138
139 GDB_WARN_CFLAGS_NO_FORMAT = `echo " $(GDB_WARN_CFLAGS) " | sed "s/ -Wformat-nonliteral / /g"`
140
141 # Where is the INTL library?  Typically in ../intl.
142 INTL = @LIBINTL@
143 INTL_DEPS = @LIBINTL_DEP@
144 INTL_CFLAGS = @INCINTL@
145
146 # Where is the ICONV library?  This can be empty if libc has iconv.
147 LIBICONV = @LIBICONV@
148
149 # Did the user give us a --with-sysroot option?
150 TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
151 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
152
153 #
154 # CLI sub directory definitons
155 #
156 SUBDIR_CLI_OBS = \
157         cli-dump.o \
158         cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o \
159         cli-logging.o \
160         cli-interp.o
161 SUBDIR_CLI_SRCS = \
162         cli/cli-dump.c \
163         cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
164         cli/cli-logging.c \
165         cli/cli-interp.c \
166         cli/cli-utils.c
167 SUBDIR_CLI_DEPS =
168 SUBDIR_CLI_LDFLAGS=
169 SUBDIR_CLI_CFLAGS=
170
171 #
172 # MI sub directory definitons
173 #
174 SUBDIR_MI_OBS = \
175         mi-out.o mi-console.o \
176         mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o \
177         mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o \
178         mi-interp.o \
179         mi-main.o mi-parse.o mi-getopt.o mi-common.o
180 SUBDIR_MI_SRCS = \
181         mi/mi-out.c mi/mi-console.c \
182         mi/mi-cmds.c mi/mi-cmd-env.c \
183         mi/mi-cmd-var.c mi/mi-cmd-break.c mi/mi-cmd-stack.c \
184         mi/mi-cmd-file.c mi/mi-cmd-disas.c mi/mi-symbol-cmds.c \
185         mi/mi-interp.c \
186         mi/mi-main.c mi/mi-parse.c mi/mi-getopt.c mi/mi-common.c
187 SUBDIR_MI_DEPS =
188 SUBDIR_MI_LDFLAGS=
189 SUBDIR_MI_CFLAGS= \
190         -DMI_OUT=1
191
192 #
193 # TUI sub directory definitions
194 #
195
196 # Name of the TUI program
197 TUI=gdbtui
198
199 SUBDIR_TUI_OBS = \
200         tui-command.o \
201         tui-data.o \
202         tui-disasm.o \
203         tui-file.o tui.o \
204         tui-hooks.o \
205         tui-interp.o \
206         tui-io.o \
207         tui-layout.o \
208         tui-out.o \
209         tui-regs.o \
210         tui-source.o \
211         tui-stack.o \
212         tui-win.o \
213         tui-windata.o \
214         tui-wingeneral.o \
215         tui-winsource.o
216 SUBDIR_TUI_SRCS = \
217         tui/tui-command.c \
218         tui/tui-data.c \
219         tui/tui-disasm.c \
220         tui/tui-file.c \
221         tui/tui-hooks.c \
222         tui/tui-interp.c \
223         tui/tui-io.c \
224         tui/tui-layout.c \
225         tui/tui-out.c \
226         tui/tui-regs.c \
227         tui/tui-source.c \
228         tui/tui-stack.c \
229         tui/tui-win.c \
230         tui/tui-windata.c \
231         tui/tui-wingeneral.c \
232         tui/tui-winsource.c \
233         tui/tui.c
234 SUBDIR_TUI_DEPS =
235 SUBDIR_TUI_LDFLAGS=
236 SUBDIR_TUI_CFLAGS= \
237         -DTUI=1
238
239
240 # Opcodes currently live in one of two places.  Either they are in the
241 # opcode library, typically ../opcodes, or they are in a header file
242 # in INCLUDE_DIR.
243 # Where is the "-lopcodes" library, with (some of) the opcode tables and
244 # disassemblers?
245 OPCODES_DIR = ../opcodes
246 OPCODES_SRC = $(srcdir)/$(OPCODES_DIR)
247 OPCODES = $(OPCODES_DIR)/libopcodes.a
248 # Where are the other opcode tables which only have header file
249 # versions?
250 OP_INCLUDE = $(INCLUDE_DIR)/opcode
251 OPCODES_CFLAGS = -I$(OP_INCLUDE)
252
253 # The simulator is usually nonexistent; targets that include one
254 # should set this to list all the .o or .a files to be linked in.
255 SIM =
256
257 WIN32LIBS = @WIN32LIBS@
258
259 # Where is the TCL library?  Typically in ../tcl.
260 LIB_INSTALL_DIR = $(libdir)
261 # This variable is needed when doing dynamic linking.
262 LIB_RUNTIME_DIR = $(libdir)
263 TCL = @TCL_CC_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
264 TCL_CFLAGS = @TCLHDIR@
265 GDBTKLIBS = @GDBTKLIBS@
266 # Extra flags that the GDBTK files need:
267 GDBTK_CFLAGS = @GDBTK_CFLAGS@
268
269 # Where is the TK library?  Typically in ../tk.
270 TK = @TK_BUILD_LIB_SPEC@
271 TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
272
273 # Where is Itcl?  Typically in ../itcl/itcl.
274 ITCL_CFLAGS = @ITCLHDIR@
275 ITCL = @ITCLLIB@
276
277 # Where is Itk?  Typically in ../itcl/itk.
278 ITK_CFLAGS = @ITKHDIR@
279 ITK = @ITKLIB@
280
281 X11_CFLAGS = @TK_XINCLUDES@
282 X11_LDFLAGS =
283 X11_LIBS =
284
285 WIN32LDAPP = @WIN32LDAPP@
286
287 LIBGUI = @LIBGUI@
288 GUI_CFLAGS_X = @GUI_CFLAGS_X@
289 IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
290
291 # The version of gdbtk we're building. This should be kept
292 # in sync with GDBTK_VERSION and friends in gdbtk.h.
293 GDBTK_VERSION = 1.0
294 GDBTK_LIBRARY = $(datadir)/insight$(GDBTK_VERSION)
295
296 # Gdbtk requires an absolute path to the source directory or
297 # the testsuite won't run properly.
298 GDBTK_SRC_DIR = @GDBTK_SRC_DIR@
299
300 SUBDIR_GDBTK_OBS = \
301         gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o gdbtk-interp.o \
302         gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o
303 SUBDIR_GDBTK_SRCS = \
304         gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-bp.c \
305         gdbtk/generic/gdbtk-cmds.c gdbtk/generic/gdbtk-hooks.c \
306         gdbtk/generic/gdbtk-interp.c \
307         gdbtk/generic/gdbtk-register.c gdbtk/generic/gdbtk-stack.c \
308         gdbtk/generic/gdbtk-varobj.c gdbtk/generic/gdbtk-wrapper.c \
309         gdbtk/generic/gdbtk-main.c
310 SUBDIR_GDBTK_DEPS = \
311         $(LIBGUI) $(ITCL_DEPS) $(ITK_DEPS) $(TK_DEPS) $(TCL_DEPS)
312 SUBDIR_GDBTK_LDFLAGS=
313 SUBDIR_GDBTK_CFLAGS= -DGDBTK
314
315 CONFIG_OBS= @CONFIG_OBS@
316 CONFIG_SRCS= @CONFIG_SRCS@
317 CONFIG_DEPS= @CONFIG_DEPS@
318 CONFIG_LDFLAGS = @CONFIG_LDFLAGS@
319 ENABLE_CFLAGS= @ENABLE_CFLAGS@
320 CONFIG_ALL= @CONFIG_ALL@
321 CONFIG_CLEAN= @CONFIG_CLEAN@
322 CONFIG_INSTALL = @CONFIG_INSTALL@
323 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
324
325 # -I. for config files.
326 # -I$(srcdir) for gdb internal headers.
327 # -I$(srcdir)/config for more generic config files.
328
329 # It is also possible that you will need to add -I/usr/include/sys if
330 # your system doesn't have fcntl.h in /usr/include (which is where it
331 # should be according to Posix).
332 DEFS = @DEFS@
333 GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
334
335 # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
336 # from the config directory.
337 GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
338
339 PROFILE_CFLAGS = @PROFILE_CFLAGS@
340
341 # CFLAGS is specifically reserved for setting from the command line
342 # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
343 CFLAGS = @CFLAGS@
344
345 # Set by configure, for e.g. expat.
346 INTERNAL_CPPFLAGS = @CPPFLAGS@
347
348 # Need to pass this to testsuite for "make check".  Probably should be
349 # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
350 # so "make check" has the same result no matter where it is run.
351 CXXFLAGS = -g -O
352
353 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
354 INTERNAL_CFLAGS_BASE = \
355         $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
356         $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
357         $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
358         $(INTL_CFLAGS) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS)
359 INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS)
360 INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)
361
362 # LDFLAGS is specifically reserved for setting from the command line
363 # when running make.
364 LDFLAGS = @LDFLAGS@
365
366 # Profiling options need to go here to work.
367 # I think it's perfectly reasonable for a user to set -pg in CFLAGS
368 # and have it work; that's why CFLAGS is here.
369 # PROFILE_CFLAGS is _not_ included, however, because we use monstartup.
370 INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_LDFLAGS)
371
372 # If your system is missing alloca(), or, more likely, it's there but
373 # it doesn't work, then refer to libiberty.
374
375 # Libraries and corresponding dependencies for compiling gdb.
376 # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
377 # LIBIBERTY appears twice on purpose.
378 # If you have the Cygnus libraries installed,
379 # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
380 INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \
381         $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
382         -lintl -liberty
383 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) \
384         $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
385         $(LIBICONV) $(LIBEXPAT) \
386         $(LIBIBERTY) $(WIN32LIBS)
387 CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
388         $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS)
389
390 ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
391 ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
392
393 DIST=gdb
394
395 LINT=/usr/5bin/lint
396 LINTFLAGS= $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
397         $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
398         $(INTL_CFLAGS)
399
400 RUNTEST = runtest
401 RUNTESTFLAGS=
402
403 # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
404 # interface to the serial port.  Hopefully if get ported to OS/2, VMS,
405 # etc., then there will be (as part of the C library or perhaps as
406 # part of libiberty) a POSIX interface.  But at least for now the
407 # host-dependent makefile fragment might need to use something else
408 # besides ser-unix.o
409 SER_HARDWIRE = @SER_HARDWIRE@
410
411 # The `remote' debugging target is supported for most architectures,
412 # but not all (e.g. 960)
413 REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o
414
415 # This is remote-sim.o if a simulator is to be linked in.
416 SIM_OBS =
417
418 # Host and target-dependent makefile fragments come in here.
419 @host_makefile_frag@
420 @target_makefile_frag@
421 # End of host and target-dependent makefile fragments
422
423 # Possibly ignore the simulator.  If the simulator is being ignored,
424 # these expand into SIM= and SIM_OBJ=, overriding the entries from
425 # target_makefile_frag
426 #
427 @IGNORE_SIM@
428 @IGNORE_SIM_OBS@
429
430 FLAGS_TO_PASS = \
431         "prefix=$(prefix)" \
432         "exec_prefix=$(exec_prefix)" \
433         "infodir=$(infodir)" \
434         "libdir=$(libdir)" \
435         "mandir=$(mandir)" \
436         "datadir=$(datadir)" \
437         "includedir=$(includedir)" \
438         "against=$(against)" \
439         "DESTDIR=$(DESTDIR)" \
440         "AR=$(AR)" \
441         "AR_FLAGS=$(AR_FLAGS)" \
442         "CC=$(CC)" \
443         "CFLAGS=$(CFLAGS)" \
444         "CXX=$(CXX)" \
445         "CXXFLAGS=$(CXXFLAGS)" \
446         "DLLTOOL=$(DLLTOOL)" \
447         "LDFLAGS=$(LDFLAGS)" \
448         "RANLIB=$(RANLIB)" \
449         "MAKEINFO=$(MAKEINFO)" \
450         "MAKEHTML=$(MAKEHTML)" \
451         "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
452         "INSTALL=$(INSTALL)" \
453         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
454         "INSTALL_DATA=$(INSTALL_DATA)" \
455         "RUNTEST=$(RUNTEST)" \
456         "RUNTESTFLAGS=$(RUNTESTFLAGS)"
457
458 # Flags that we pass when building the testsuite.
459
460 # empty for native, $(target_alias)/ for cross
461 target_subdir = @target_subdir@
462
463 CC_FOR_TARGET = ` \
464   if [ -f $${rootme}/../gcc/xgcc ] ; then \
465     if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
466       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \
467     else \
468       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
469     fi; \
470   else \
471     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
472       echo $(CC); \
473     else \
474       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
475     fi; \
476   fi`
477
478 CXX = gcc
479 CXX_FOR_TARGET = ` \
480   if [ -f $${rootme}/../gcc/xgcc ] ; then \
481     if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
482       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \
483     else \
484       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
485     fi; \
486   else \
487     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
488       echo $(CXX); \
489     else \
490       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
491     fi; \
492   fi`
493
494 # The use of $$(x_FOR_TARGET) reduces the command line length by not
495 # duplicating the lengthy definition.
496 TARGET_FLAGS_TO_PASS = \
497         "prefix=$(prefix)" \
498         "exec_prefix=$(exec_prefix)" \
499         "against=$(against)" \
500         'CC=$$(CC_FOR_TARGET)' \
501         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
502         "CFLAGS=$(CFLAGS)" \
503         'CXX=$$(CXX_FOR_TARGET)' \
504         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
505         "CXXFLAGS=$(CXXFLAGS)" \
506         "INSTALL=$(INSTALL)" \
507         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
508         "INSTALL_DATA=$(INSTALL_DATA)" \
509         "MAKEINFO=$(MAKEINFO)" \
510         "MAKEHTML=$(MAKEHTML)" \
511         "RUNTEST=$(RUNTEST)" \
512         "RUNTESTFLAGS=$(RUNTESTFLAGS)"
513
514 # All source files that go into linking GDB.
515 # Links made at configuration time should not be specified here, since
516 # SFILES is used in building the distribution archive.
517
518 SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c  \
519         auxv.c ax-general.c ax-gdb.c \
520         bcache.c \
521         bfd-target.c \
522         block.c blockframe.c breakpoint.c buildsym.c \
523         c-exp.y c-lang.c c-typeprint.c c-valprint.c \
524         charset.c cli-out.c coffread.c coff-pe-read.c \
525         complaints.c completer.c corefile.c \
526         cp-abi.c cp-support.c cp-namespace.c cp-valprint.c \
527         cp-name-parser.y \
528         dbxread.c demangle.c dictionary.c disasm.c doublest.c dummy-frame.c \
529         dwarfread.c dwarf2expr.c dwarf2loc.c dwarf2read.c dwarf2-frame.c \
530         elfread.c environ.c eval.c event-loop.c event-top.c expprint.c \
531         f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c frame.c \
532         frame-base.c \
533         frame-unwind.c \
534         gdbarch.c arch-utils.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
535         hpacc-abi.c \
536         inf-loop.c \
537         infcall.c \
538         infcmd.c inflow.c infrun.c \
539         interps.c \
540         jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
541         language.c linespec.c \
542         m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c \
543         macrotab.c macroexp.c macrocmd.c macroscope.c main.c maint.c \
544         mdebugread.c memattr.c mem-break.c minsyms.c mipsread.c memory-map.c \
545         nlmread.c \
546         objc-exp.y objc-lang.c \
547         objfiles.c osabi.c observer.c \
548         p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
549         prologue-value.c \
550         regcache.c reggroups.c remote.c remote-fileio.c \
551         scm-exp.c scm-lang.c scm-valprint.c \
552         sentinel-frame.c \
553         serial.c ser-base.c ser-unix.c \
554         solib.c solib-null.c source.c \
555         stabsread.c stack.c std-regs.c symfile.c symfile-mem.c symmisc.c \
556         symtab.c \
557         target.c target-descriptions.c target-memory.c \
558         thread.c top.c tracepoint.c \
559         trad-frame.c \
560         tramp-frame.c \
561         typeprint.c \
562         ui-out.c utils.c ui-file.h ui-file.c \
563         user-regs.c \
564         valarith.c valops.c valprint.c value.c varobj.c vec.c \
565         wrapper.c \
566         xml-support.c
567
568 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
569
570 # "system" headers.  Using these in dependencies is a rather personal
571 # choice. (-rich, summer 1993)
572 # (Why would we not want to depend on them?  If one of these changes in a
573 # non-binary-compatible way, it is a real pain to remake the right stuff
574 # without these dependencies -kingdon, 13 Mar 1994)
575 aout_aout64_h = $(INCLUDE_DIR)/aout/aout64.h
576 aout_stabs_gnu_h =      $(INCLUDE_DIR)/aout/stabs_gnu.h
577 getopt_h =      $(INCLUDE_DIR)/getopt.h
578 floatformat_h = $(INCLUDE_DIR)/floatformat.h
579 bfd_h =         $(BFD_DIR)/bfd.h
580 coff_sym_h =    $(INCLUDE_DIR)/coff/sym.h
581 coff_symconst_h =       $(INCLUDE_DIR)/coff/symconst.h
582 coff_ecoff_h =  $(INCLUDE_DIR)/coff/ecoff.h
583 coff_internal_h =       $(INCLUDE_DIR)/coff/internal.h
584 dis_asm_h =     $(INCLUDE_DIR)/dis-asm.h $(bfd_h)
585 elf_common_h =  $(INCLUDE_DIR)/elf/common.h
586 elf_reloc_macros_h =    $(INCLUDE_DIR)/elf/reloc-macros.h
587 elf_sh_h =      $(INCLUDE_DIR)/elf/sh.h
588 elf_arm_h =     $(INCLUDE_DIR)/elf/arm.h $(elf_reloc_macros_h)
589 elf_bfd_h =     $(BFD_SRC)/elf-bfd.h
590 elf_frv_h =     $(INCLUDE_DIR)/elf/frv.h $(elf_reloc_macros_h)
591 elf_m32c_h =    $(INCLUDE_DIR)/elf/m32c.h $(elf_reloc_macros_h)
592 libaout_h =     $(BFD_SRC)/libaout.h
593 libiberty_h =   $(INCLUDE_DIR)/libiberty.h
594 libbfd_h =      $(BFD_SRC)/libbfd.h
595 remote_sim_h =  $(INCLUDE_DIR)/gdb/remote-sim.h
596 demangle_h =    $(INCLUDE_DIR)/demangle.h
597 obstack_h =     $(INCLUDE_DIR)/obstack.h
598 opcode_m68hc11_h = $(INCLUDE_DIR)/opcode/m68hc11.h
599 readline_h =    $(READLINE_SRC)/readline.h
600 readline_tilde_h =      $(READLINE_SRC)/tilde.h
601 readline_history_h =    $(READLINE_SRC)/history.h
602 frv_desc_h =    $(OPCODES_SRC)/frv-desc.h
603 sh_opc_h =      $(OPCODES_SRC)/sh-opc.h
604 gdb_callback_h = $(INCLUDE_DIR)/gdb/callback.h
605 gdb_sim_arm_h = $(INCLUDE_DIR)/gdb/sim-arm.h
606 gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h
607 gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h
608 gdb_sim_m32c_h = $(INCLUDE_DIR)/gdb/sim-m32c.h
609 gdb_sim_ppc_h = $(INCLUDE_DIR)/gdb/sim-ppc.h
610 gdb_sim_sh_h =  $(INCLUDE_DIR)/gdb/sim-sh.h
611 splay_tree_h =  $(INCLUDE_DIR)/splay-tree.h
612 safe_ctype_h =  $(INCLUDE_DIR)/safe-ctype.h
613 hashtab_h =     $(INCLUDE_DIR)/hashtab.h
614
615 #
616 # $BUILD/ headers
617 #
618
619 config_h = config.h
620 exc_request_U_h = exc_request_U.h
621 exc_request_S_h = exc_request_S.h
622 gdb_stdint_h = gdb_stdint.h
623 msg_reply_S_h = msg_reply_S.h
624 msg_U_h = msg_U.h
625 notify_S_h = notify_S.h
626 observer_h = observer.h
627 observer_inc = observer.inc
628 process_reply_S_h = process_reply_S.h
629
630 #
631 # config/ headers
632 #
633
634 xm_h =          @xm_h@
635 tm_h =          @tm_h@
636 nm_h =          @nm_h@
637
638 #
639 # gdb/ headers
640 #
641
642 ada_lang_h = ada-lang.h $(value_h) $(gdbtypes_h) $(breakpoint_h)
643 ada_lex_c = ada-lex.c $(gdb_string_h)
644 alphabsd_tdep_h = alphabsd-tdep.h
645 alpha_tdep_h = alpha-tdep.h
646 amd64_linux_tdep_h = amd64-linux-tdep.h
647 amd64_nat_h = amd64-nat.h
648 amd64_tdep_h = amd64-tdep.h $(i386_tdep_h)
649 annotate_h = annotate.h $(symtab_h) $(gdbtypes_h)
650 arch_utils_h = arch-utils.h
651 arm_linux_tdep_h = arm-linux-tdep.h
652 arm_tdep_h = arm-tdep.h
653 auxv_h = auxv.h
654 ax_gdb_h = ax-gdb.h
655 ax_h = ax.h $(doublest_h)
656 bcache_h = bcache.h
657 bfd_target_h = bfd-target.h
658 block_h = block.h
659 breakpoint_h = breakpoint.h $(frame_h) $(value_h) $(gdb_events_h)
660 bsd_kvm_h = bsd-kvm.h
661 bsd_uthread_h = bsd-uthread.h
662 buildsym_h = buildsym.h
663 call_cmds_h = call-cmds.h
664 charset_h = charset.h
665 c_lang_h = c-lang.h $(value_h) $(macroexp_h)
666 cli_out_h = cli-out.h
667 coff_pe_read_h = coff-pe-read.h
668 coff_solib_h = coff-solib.h
669 command_h = command.h
670 complaints_h = complaints.h
671 completer_h = completer.h
672 cp_abi_h = cp-abi.h
673 cp_support_h = cp-support.h $(symtab_h)
674 dcache_h = dcache.h
675 defs_h = defs.h $(config_h) $(ansidecl_h) $(gdb_locale_h) $(gdb_signals_h) \
676         $(libiberty_h) $(bfd_h) $(ui_file_h) $(xm_h) $(nm_h) $(tm_h) \
677         $(fopen_bin_h) $(gdbarch_h)
678 dictionary_h = dictionary.h
679 disasm_h = disasm.h
680 doublest_h = doublest.h $(floatformat_h)
681 dummy_frame_h = dummy-frame.h
682 dwarf2expr_h = dwarf2expr.h
683 dwarf2_frame_h = dwarf2-frame.h
684 dwarf2loc_h = dwarf2loc.h
685 environ_h = environ.h
686 event_loop_h = event-loop.h
687 event_top_h = event-top.h
688 exceptions_h = exceptions.h $(ui_out_h)
689 exec_h = exec.h $(target_h)
690 expression_h = expression.h $(symtab_h) $(doublest_h)
691 fbsd_nat_h = fbsd-nat.h
692 f_lang_h = f-lang.h
693 frame_base_h = frame-base.h
694 frame_h = frame.h
695 frame_unwind_h = frame-unwind.h $(frame_h)
696 frv_tdep_h = frv-tdep.h
697 gdbarch_h = gdbarch.h
698 gdb_assert_h = gdb_assert.h
699 gdbcmd_h = gdbcmd.h $(command_h) $(ui_out_h)
700 gdbcore_h = gdbcore.h $(bfd_h)
701 gdb_curses_h = gdb_curses.h
702 gdb_dirent_h = gdb_dirent.h
703 gdb_events_h = gdb-events.h
704 gdb_h = gdb.h
705 gdb_expat_h = gdb_expat.h
706 gdb_locale_h = gdb_locale.h
707 gdb_obstack_h = gdb_obstack.h $(obstack_h)
708 gdb_proc_service_h = gdb_proc_service.h $(gregset_h)
709 gdb_ptrace_h = gdb_ptrace.h
710 gdb_regex_h = gdb_regex.h $(xregex_h)
711 gdb_select_h = gdb_select.h
712 gdb_stabs_h = gdb-stabs.h
713 gdb_stat_h = gdb_stat.h
714 gdb_string_h = gdb_string.h
715 gdb_thread_db_h = gdb_thread_db.h
716 gdbthread_h = gdbthread.h $(breakpoint_h) $(frame_h)
717 gdbtypes_h = gdbtypes.h $(hashtab_h)
718 gdb_vfork_h = gdb_vfork.h
719 gdb_wait_h = gdb_wait.h
720 glibc_tdep_h = glibc-tdep.h
721 gnu_nat_h = gnu-nat.h
722 gnu_v2_abi_h = gnu-v2-abi.h
723 gregset_h = gregset.h
724 hppa_tdep_h = hppa-tdep.h
725 i386bsd_nat_h = i386bsd-nat.h
726 i386_linux_tdep_h = i386-linux-tdep.h
727 i386_tdep_h = i386-tdep.h
728 i387_tdep_h = i387-tdep.h
729 ia64_tdep_h = ia64-tdep.h
730 infcall_h = infcall.h
731 inf_child_h = inf-child.h
732 inferior_h = inferior.h $(breakpoint_h) $(target_h) $(frame_h)
733 inf_loop_h = inf-loop.h
734 inflow_h = inflow.h $(terminal_h)
735 inf_ptrace_h = inf-ptrace.h
736 inf_ttrace_h = inf-ttrace.h
737 interps_h = interps.h $(exceptions_h)
738 jv_lang_h = jv-lang.h
739 language_h = language.h
740 libunwind_frame_h = libunwind-frame.h $(libunwind_h)
741 linespec_h = linespec.h
742 linux_fork_h = linux-fork.h
743 linux_nat_h = linux-nat.h $(target_h)
744 m2_lang_h = m2-lang.h
745 m32r_tdep_h = m32r-tdep.h
746 m68k_tdep_h = m68k-tdep.h
747 m88k_tdep_h = m88k-tdep.h
748 macroexp_h = macroexp.h
749 macroscope_h = macroscope.h $(macrotab_h) $(symtab_h)
750 macrotab_h = macrotab.h
751 main_h = main.h
752 mdebugread_h = mdebugread.h $(coff_sym_h) $(coff_symconst_h)
753 memattr_h = memattr.h $(vec_h)
754 mips_linux_tdep_h = mips-linux-tdep.h
755 mips_mdebug_tdep_h = mips-mdebug-tdep.h
756 mipsnbsd_tdep_h = mipsnbsd-tdep.h
757 mips_tdep_h = mips-tdep.h
758 memory_map_h = memory-map.h $(memattr_h)
759 mn10300_tdep_h = mn10300-tdep.h
760 monitor_h = monitor.h
761 nbsd_nat_h = nbsd-nat.h
762 nbsd_tdep_h = nbsd-tdep.h
763 nto_tdep_h = nto-tdep.h $(defs_h) $(solist_h) $(osabi_h) $(regset_h)
764 objc_lang_h = objc-lang.h
765 objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h)
766 obsd_tdep_h = obsd-tdep.h
767 ocd_h = ocd.h
768 osabi_h = osabi.h
769 parser_defs_h = parser-defs.h $(doublest_h)
770 p_lang_h = p-lang.h
771 ppcnbsd_tdep_h = ppcnbsd-tdep.h
772 ppcobsd_tdep_h = ppcobsd-tdep.h
773 ppc_tdep_h = ppc-tdep.h
774 proc_utils_h = proc-utils.h
775 prologue_value_h = prologue-value.h
776 regcache_h = regcache.h
777 reggroups_h = reggroups.h
778 regset_h = regset.h
779 remote_fileio_h = remote-fileio.h
780 remote_h = remote.h
781 remote_utils_h = remote-utils.h $(target_h)
782 rs6000_tdep_h = rs6000-tdep.h $(defs_h)
783 s390_tdep_h = s390-tdep.h
784 scm_lang_h = scm-lang.h $(scm_tags_h)
785 scm_tags_h = scm-tags.h
786 score_tdep_h = score-tdep.h
787 sentinel_frame_h = sentinel-frame.h
788 serial_h = serial.h
789 ser_base_h = ser-base.h
790 ser_tcp_h = ser-tcp.h
791 ser_unix_h = ser-unix.h
792 shnbsd_tdep_h = shnbsd-tdep.h
793 sh_tdep_h = sh-tdep.h
794 sim_regno_h = sim-regno.h
795 sol2_tdep_h = sol2-tdep.h
796 solib_h = solib.h
797 solib_pa64_h = solib-pa64.h
798 solib_som_h = solib-som.h
799 solib_svr4_h = solib-svr4.h
800 solist_h = solist.h
801 source_h = source.h
802 sparc64_tdep_h = sparc64-tdep.h $(sparc_tdep_h)
803 sparc_nat_h = sparc-nat.h
804 sparc_tdep_h = sparc-tdep.h
805 spu_tdep_h = spu-tdep.h
806 srec_h = srec.h
807 stabsread_h = stabsread.h
808 stack_h = stack.h
809 symfile_h = symfile.h
810 symtab_h = symtab.h
811 target_h = target.h $(bfd_h) $(symtab_h) $(dcache_h) $(memattr_h) $(vec_h)
812 target_descriptions_h = target-descriptions.h
813 terminal_h = terminal.h
814 top_h = top.h
815 tracepoint_h = tracepoint.h
816 trad_frame_h = trad-frame.h $(frame_h)
817 tramp_frame_h = tramp-frame.h $(frame_h)
818 typeprint_h = typeprint.h
819 ui_file_h = ui-file.h
820 ui_out_h = ui-out.h
821 user_regs_h = user-regs.h
822 valprint_h = valprint.h
823 value_h = value.h $(doublest_h) $(frame_h) $(symtab_h) $(gdbtypes_h) \
824         $(expression_h)
825 varobj_h = varobj.h $(symtab_h) $(gdbtypes_h)
826 vax_tdep_h = vax-tdep.h
827 vec_h = vec.h $(gdb_assert_h) $(gdb_string_h)
828 version_h = version.h
829 wince_stub_h = wince-stub.h
830 wrapper_h = wrapper.h $(gdb_h)
831 xcoffsolib_h = xcoffsolib.h
832 xml_support_h = xml-support.h $(gdb_expat_h)
833 xtensa_tdep_h = xtensa-tdep.h 
834
835 #
836 # gdb/cli/ headers
837 #
838
839 cli_cmds_h = $(srcdir)/cli/cli-cmds.h
840 cli_decode_h = $(srcdir)/cli/cli-decode.h $(command_h)
841 cli_dump_h = $(srcdir)/cli/cli-dump.h
842 cli_script_h = $(srcdir)/cli/cli-script.h
843 cli_setshow_h = $(srcdir)/cli/cli-setshow.h
844 cli_utils_h = $(srcdir)/cli/cli-utils.h
845
846 #
847 # gdb/mi/ headers
848 #
849
850 mi_cmds_h = $(srcdir)/mi/mi-cmds.h
851 mi_console_h = $(srcdir)/mi/mi-console.h
852 mi_getopt_h = $(srcdir)/mi/mi-getopt.h
853 mi_main_h = $(srcdir)/mi/mi-main.h
854 mi_out_h = $(srcdir)/mi/mi-out.h
855 mi_parse_h = $(srcdir)/mi/mi-parse.h
856 mi_common_h = $(srcdir)/mi/mi-common.h
857
858 #
859 # gdb/tui/ headers
860 #
861
862 tui_command_h = $(srcdir)/tui/tui-command.h
863 tui_data_h = $(srcdir)/tui/tui-data.h $(tui_h) $(gdb_curses_h)
864 tui_disasm_h = $(srcdir)/tui/tui-disasm.h $(tui_h) $(tui_data_h)
865 tui_file_h = $(srcdir)/tui/tui-file.h
866 tui_h = $(srcdir)/tui/tui.h
867 tui_hooks_h = $(srcdir)/tui/tui-hooks.h
868 tui_io_h = $(srcdir)/tui/tui-io.h
869 tui_layout_h = $(srcdir)/tui/tui-layout.h $(tui_h) $(tui_data_h)
870 tui_regs_h = $(srcdir)/tui/tui-regs.h $(tui_data_h)
871 tui_source_h = $(srcdir)/tui/tui-source.h $(tui_data_h)
872 tui_stack_h = $(srcdir)/tui/tui-stack.h
873 tui_windata_h = $(srcdir)/tui/tui-windata.h $(tui_data_h)
874 tui_wingeneral_h = $(srcdir)/tui/tui-wingeneral.h
875 tui_win_h = $(srcdir)/tui/tui-win.h $(tui_data_h)
876 tui_winsource_h = $(srcdir)/tui/tui-winsource.h $(tui_data_h)
877
878 # Header files that need to have srcdir added.  Note that in the cases
879 # where we use a macro like $(gdbcmd_h), things are carefully arranged
880 # so that each .h file is listed exactly once (M-x tags-search works
881 # wrong if TAGS has files twice).  Because this is tricky to get
882 # right, it is probably easiest just to list .h files here directly.
883
884 HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
885         exceptions.h \
886         environ.h $(gdbcmd_h) gdb.h gdbcore.h \
887         gdb-stabs.h $(inferior_h) language.h monitor.h \
888         objfiles.h parser-defs.h serial.h solib.h \
889         symfile.h stabsread.h target.h terminal.h typeprint.h \
890         xcoffsolib.h \
891         macrotab.h macroexp.h macroscope.h \
892         prologue-value.h \
893         ada-lang.h c-lang.h f-lang.h \
894         jv-lang.h \
895         m2-lang.h  p-lang.h \
896         complaints.h valprint.h \
897         gdbthread.h \
898         dcache.h remote-utils.h top.h solib-som.h
899
900 # Header files that already have srcdir in them, or which are in objdir.
901
902 HFILES_WITH_SRCDIR = ../bfd/bfd.h
903
904
905 # GDB "info" files, which should be included in their entirety
906 INFOFILES = gdb.info*
907
908 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
909
910 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
911 # default their values the way we do for SER_HARDWIRE; in the future
912 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
913 # variables analogous to SER_HARDWIRE which get defaulted in this
914 # Makefile.in
915
916 DEPFILES = $(TDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
917            $(REMOTE_OBS) $(SIM_OBS)
918
919 SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
920 # Don't include YYFILES (*.c) because we already include *.y in SFILES,
921 # and it's more useful to see it in the .y file.
922 TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
923         $(CONFIG_SRCS)
924 TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
925
926 COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
927         version.o \
928         annotate.o \
929         auxv.o \
930         bfd-target.o \
931         blockframe.o breakpoint.o findvar.o regcache.o \
932         charset.o disasm.o dummy-frame.o \
933         source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o \
934         block.o symtab.o symfile.o symmisc.o linespec.o dictionary.o \
935         infcall.o \
936         infcmd.o infrun.o \
937         expprint.o environ.o stack.o thread.o \
938         exceptions.o \
939         inf-child.o \
940         interps.o \
941         main.o \
942         macrotab.o macrocmd.o macroexp.o macroscope.o \
943         event-loop.o event-top.o inf-loop.o completer.o \
944         gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o \
945         memattr.o mem-break.o target.o parse.o language.o buildsym.o \
946         std-regs.o \
947         signals.o \
948         gdb-events.o \
949         exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
950         dbxread.o coffread.o coff-pe-read.o elfread.o \
951         dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
952         dwarf2expr.o dwarf2loc.o dwarf2-frame.o \
953         ada-lang.o c-lang.o f-lang.o objc-lang.o \
954         ui-out.o cli-out.o \
955         varobj.o vec.o wrapper.o \
956         jv-lang.o jv-valprint.o jv-typeprint.o \
957         m2-lang.o p-lang.o p-typeprint.o p-valprint.o \
958         scm-exp.o scm-lang.o scm-valprint.o \
959         sentinel-frame.o \
960         complaints.o typeprint.o \
961         ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o \
962         ada-valprint.o c-valprint.o cp-valprint.o f-valprint.o m2-valprint.o \
963         nlmread.o serial.o mdebugread.o top.o utils.o \
964         ui-file.o \
965         user-regs.o \
966         frame.o frame-unwind.o doublest.o \
967         frame-base.o \
968         gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o \
969         cp-namespace.o \
970         reggroups.o regset.o \
971         trad-frame.o \
972         tramp-frame.o \
973         solib.o solib-null.o \
974         prologue-value.o memory-map.o xml-support.o \
975         target-descriptions.o target-memory.o
976
977 TSOBS = inflow.o
978
979 SUBDIRS = @subdirs@
980
981 # For now, shortcut the "configure GDB for fewer languages" stuff.
982 YYFILES = c-exp.c \
983         cp-name-parser.c \
984         objc-exp.c \
985         ada-lex.c \
986         ada-exp.c \
987         jv-exp.c \
988         f-exp.c m2-exp.c p-exp.c
989 YYOBJ = c-exp.o \
990         cp-name-parser.o \
991         objc-exp.o \
992         ada-exp.o \
993         jv-exp.o \
994         f-exp.o m2-exp.o p-exp.o
995
996 # Things which need to be built when making a distribution.
997
998 DISTSTUFF = $(YYFILES)
999
1000 # Prevent Sun make from putting in the machine type.  Setting
1001 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
1002 .c.o:
1003         $(CC) -c $(INTERNAL_CFLAGS) $<
1004
1005 all: gdb$(EXEEXT) $(CONFIG_ALL)
1006         @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
1007 .PHONY: all-tui
1008 all-tui: $(TUI)$(EXEEXT)
1009
1010 installcheck:
1011
1012 # The check target can not use subdir_do, because subdir_do does not
1013 # use TARGET_FLAGS_TO_PASS.
1014 check: force
1015         @if [ -f testsuite/Makefile ]; then \
1016           rootme=`pwd`; export rootme; \
1017           rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
1018           cd testsuite; \
1019           $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
1020         else true; fi
1021
1022 # The idea is to parallelize testing of multilibs, for example:
1023 #   make -j3 check//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
1024 # will run 3 concurrent sessions of check, eventually testing all 10
1025 # combinations.  GNU make is required for the % pattern to work, as is
1026 # a shell that expands alternations within braces.  If GNU make is not
1027 # used, this rule will harmlessly fail to match.
1028 check//%: force
1029         @if [ -f testsuite/config.status ]; then \
1030           rootme=`pwd`; export rootme; \
1031           rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
1032           target=`echo "$@" | sed 's,//.*,,'`; \
1033           variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
1034           vardots=`echo "$$variant" | sed 's,/,.,g'`; \
1035           testdir=testsuite.$$vardots; \
1036           if [ ! -f $$testdir/Makefile ]; then \
1037             (cd testsuite && find . -name config.status) | \
1038             sed s,/config.status$$,, | sort | while read subdir; do \
1039               $(SHELL) $(srcdir)/../mkinstalldirs $$testdir/$$subdir && \
1040               (cd $$testdir/$$subdir && \
1041                $(SHELL) $$rootme/testsuite/$$subdir/config.status \
1042                  --recheck && \
1043                $(SHELL) ./config.status); done; \
1044           else :; fi && cd $$testdir && \
1045           $(MAKE) $(TARGET_FLAGS_TO_PASS) \
1046             RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
1047             "$$target"; \
1048         else true; fi
1049
1050 info dvi install-info clean-info html install-html: force
1051         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
1052
1053 gdb.z:gdb.1
1054         nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
1055         pack gdb.t ; rm -f gdb.t
1056         mv gdb.t.z gdb.z
1057
1058 # Traditionally "install" depends on "all".  But it may be useful
1059 # not to; for example, if the user has made some trivial change to a
1060 # source file and doesn't care about rebuilding or just wants to save the
1061 # time it takes for make to check that all is up to date.
1062 # install-only is intended to address that need.
1063 install: all install-only
1064 install-only: $(CONFIG_INSTALL)
1065         transformed_name=`t='$(program_transform_name)'; \
1066                           echo gdb | sed -e "$$t"` ; \
1067                 if test "x$$transformed_name" = x; then \
1068                   transformed_name=gdb ; \
1069                 else \
1070                   true ; \
1071                 fi ; \
1072                 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
1073                 $(INSTALL_PROGRAM) gdb$(EXEEXT) \
1074                         $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
1075                 $(SHELL) $(srcdir)/../mkinstalldirs \
1076                         $(DESTDIR)$(man1dir) ; \
1077                 $(INSTALL_DATA) $(srcdir)/gdb.1 \
1078                         $(DESTDIR)$(man1dir)/$$transformed_name.1
1079         @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
1080 .PHONY: install-tui
1081 install-tui:
1082         transformed_name=`t='$(program_transform_name)'; \
1083                           echo $(TUI) | sed -e "$$t"` ; \
1084                 if test "x$$transformed_name" = x; then \
1085                   transformed_name=$(TUI) ; \
1086                 else \
1087                   true ; \
1088                 fi ; \
1089                 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
1090                 $(INSTALL_PROGRAM) $(TUI)$(EXEEXT) \
1091                         $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
1092                 $(SHELL) $(srcdir)/../mkinstalldirs \
1093                         $(DESTDIR)$(man1dir) ; \
1094                 $(INSTALL_DATA) $(srcdir)/gdb.1 \
1095                         $(DESTDIR)$(man1dir)/$$transformed_name.1
1096
1097
1098 uninstall: force $(CONFIG_UNINSTALL)
1099         transformed_name=`t='$(program_transform_name)'; \
1100                           echo gdb | sed -e $$t` ; \
1101                 if test "x$$transformed_name" = x; then \
1102                   transformed_name=gdb ; \
1103                 else \
1104                   true ; \
1105                 fi ; \
1106                 rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
1107                       $(DESTDIR)$(man1dir)/$$transformed_name.1
1108         @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
1109 .PHONY: uninstall-tui
1110 uninstall-tui:
1111         transformed_name=`t='$(program_transform_name)'; \
1112                           echo $(TUI) | sed -e $$t` ; \
1113                 if test "x$$transformed_name" = x; then \
1114                   transformed_name=$(TUI) ; \
1115                 else \
1116                   true ; \
1117                 fi ; \
1118                 rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
1119                       $(DESTDIR)$(man1dir)/$$transformed_name.1
1120
1121 # The C++ name parser can be built standalone for testing.
1122 test-cp-name-parser.o: cp-name-parser.c $(safe_ctype_h) $(libiberty_h) \
1123   $(demangle_h)
1124         $(CC) -c $(INTERNAL_CFLAGS) -DTEST_CPNAMES \
1125                 -o test-cp-name-parser.o cp-name-parser.c
1126
1127 test-cp-name-parser$(EXEEXT): test-cp-name-parser.o $(LIBIBERTY)
1128         $(CC_LD) $(INTERNAL_LDFLAGS) -o test-cp-name-parser$(EXEEXT) \
1129                 test-cp-name-parser.o $(LIBIBERTY)
1130
1131 # We do this by grepping through sources.  If that turns out to be too slow,
1132 # maybe we could just require every .o file to have an initialization routine
1133 # of a given name (top.o -> _initialize_top, etc.).
1134 #
1135 # Formatting conventions:  The name of the _initialize_* routines must start
1136 # in column zero, and must not be inside #if.
1137 #
1138 # Note that the set of files with init functions might change, or the names
1139 # of the functions might change, so this files needs to depend on all the
1140 # object files that will be linked into gdb.
1141
1142 # FIXME: There is a problem with this approach - init.c may force
1143 # unnecessary files to be linked in.
1144
1145 # FIXME: cagney/2002-06-09: gdb/564: gdb/563: Force the order so that
1146 # the first call is to _initialize_gdbtypes (implemented by explicitly
1147 # putting that function's name first in the init.l-tmp file).  This is
1148 # a hack to ensure that all the architecture dependant global
1149 # builtin_type_* variables are initialized before anything else
1150 # (per-architecture code is called in the same order that it is
1151 # registered).  The ``correct fix'' is to have all the builtin types
1152 # made part of the architecture and initialize them on-demand (using
1153 # gdbarch_data) just like everything else.  The catch is that other
1154 # modules still take the address of these builtin types forcing them
1155 # to be variables, sigh!
1156
1157 # NOTE: cagney/2003-03-18: The sed pattern ``s|^\([^ /]...'' is
1158 # anchored on the first column and excludes the ``/'' character so
1159 # that it doesn't add the $(srcdir) prefix to any file that already
1160 # has an absolute path.  It turns out that $(DEC)'s True64 make
1161 # automatically adds the $(srcdir) prefixes when it encounters files
1162 # in sub-directories such as cli/ and mi/.
1163
1164 # NOTE: cagney/2004-02-08: The ``case "$$fs" in'' eliminates
1165 # duplicates.  Files in the gdb/ directory can end up appearing in
1166 # COMMON_OBS (as a .o file) and CONFIG_SRCS (as a .c file).
1167
1168 INIT_FILES = $(COMMON_OBS) $(TSOBS) $(CONFIG_SRCS)
1169 init.c: $(INIT_FILES)
1170         @echo Making init.c
1171         @rm -f init.c-tmp init.l-tmp
1172         @touch init.c-tmp
1173         @echo gdbtypes > init.l-tmp
1174         @-LANG=c ; export LANG ; \
1175         LC_ALL=c ; export LC_ALL ; \
1176         echo $(INIT_FILES) | \
1177         tr ' ' '\012' | \
1178         sed \
1179             -e '/^gdbtypes.[co]$$/d' \
1180             -e '/^init.[co]$$/d' \
1181             -e '/xdr_ld.[co]$$/d' \
1182             -e '/xdr_ptrace.[co]$$/d' \
1183             -e '/xdr_rdb.[co]$$/d' \
1184             -e '/udr.[co]$$/d' \
1185             -e '/udip2soc.[co]$$/d' \
1186             -e '/udi2go32.[co]$$/d' \
1187             -e '/version.[co]$$/d' \
1188             -e '/^[a-z0-9A-Z_]*_[SU].[co]$$/d' \
1189             -e '/[a-z0-9A-Z_]*-exp.tab.[co]$$/d' \
1190             -e 's/\.[co]$$/.c/' \
1191             -e 's,signals\.c,signals/signals\.c,' \
1192             -e 's|^\([^  /][^     ]*\)|$(srcdir)/\1|g' | \
1193         while read f; do \
1194             sed -n -e 's/^_initialize_\([a-z_0-9A-Z]*\).*/\1/p' $$f 2>/dev/null; \
1195         done | \
1196         while read f; do \
1197             case " $$fs " in \
1198                 *" $$f "* ) ;; \
1199                 * ) echo $$f ; fs="$$fs $$f";; \
1200             esac; \
1201         done >> init.l-tmp
1202         @echo '/* Do not modify this file.  */' >>init.c-tmp
1203         @echo '/* It is created automatically by the Makefile.  */'>>init.c-tmp
1204         @echo '#include "defs.h"      /* For initialize_file_ftype.  */' >>init.c-tmp
1205         @echo '#include "call-cmds.h" /* For initialize_all_files.  */' >>init.c-tmp
1206         @sed -e 's/\(.*\)/extern initialize_file_ftype _initialize_\1;/' <init.l-tmp >>init.c-tmp
1207         @echo 'void' >>init.c-tmp
1208         @echo 'initialize_all_files (void)' >>init.c-tmp
1209         @echo '{' >>init.c-tmp
1210         @sed -e 's/\(.*\)/  _initialize_\1 ();/' <init.l-tmp >>init.c-tmp
1211         @echo '}' >>init.c-tmp
1212         @rm init.l-tmp
1213         @mv init.c-tmp init.c
1214
1215 .PRECIOUS: init.c
1216
1217 init.o: init.c $(defs_h) $(call_cmds_h)
1218
1219 # Removing the old gdb first works better if it is running, at least on SunOS.
1220 gdb$(EXEEXT): gdb.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
1221         rm -f gdb$(EXEEXT)
1222         $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
1223                 -o gdb$(EXEEXT) gdb.o libgdb.a \
1224                 $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
1225
1226 $(TUI)$(EXEEXT): tui-main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
1227         rm -f $(TUI)$(EXEEXT)
1228         $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
1229                 -o $(TUI)$(EXEEXT) tui-main.o libgdb.a \
1230                 $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
1231
1232 # Create a library of the gdb object files and build GDB by linking
1233 # against that.
1234 #
1235 # init.o is very important.  It pulls in the rest of GDB.
1236 LIBGDB_OBS= $(COMMON_OBS) $(TSOBS) $(ADD_FILES) init.o
1237 libgdb.a: $(LIBGDB_OBS)
1238         -rm -f libgdb.a
1239         $(AR) q libgdb.a $(LIBGDB_OBS)
1240         $(RANLIB) libgdb.a
1241
1242 # A Mach 3.0 program to force gdb back to command level
1243
1244 stop-gdb: stop-gdb.o
1245         ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
1246         stop-gdb.o $(CLIBS) $(LOADLIBES)
1247
1248 # This is useful when debugging GDB, because some Unix's don't let you run GDB
1249 # on itself without copying the executable.  So "make gdb1" will make
1250 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
1251 # Removing gdb1 before the copy is the right thing if gdb1 is open
1252 # in another process.
1253 gdb1$(EXEEXT): gdb$(EXEEXT)
1254         rm -f gdb1$(EXEEXT)
1255         cp gdb$(EXEEXT) gdb1$(EXEEXT)
1256
1257 # Put the proper machine-specific files first, so M-. on a machine
1258 # specific routine gets the one for the correct machine.  (FIXME: those
1259 # files go in twice; we should be removing them from the main list).
1260
1261 # TAGS depends on all the files that go into it so you can rebuild TAGS
1262 # with `make TAGS' and not have to say `rm TAGS' first.
1263
1264 TAGS: $(DEPFILES) $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
1265         @echo Making TAGS
1266         @etags $(srcdir)/$(DEPRECATED_TM_FILE) \
1267           $(srcdir)/$(XM_FILE) \
1268           $(srcdir)/$(NAT_FILE) \
1269         `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
1270                 echo $(srcdir)/$$i ; \
1271         done ; for i in $(TAGFILES_WITH_SRCDIR); do \
1272                 echo $$i ; \
1273         done) | sed -e 's/\.o$$/\.c/'` \
1274         `find $(srcdir)/config -name '*.h' -print`
1275
1276 tags: TAGS
1277
1278 clean mostlyclean: $(CONFIG_CLEAN)
1279         @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
1280         rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp version.c-tmp
1281         rm -f init.c version.c
1282         rm -f gdb$(EXEEXT) core make.log
1283         rm -f gdb[0-9]$(EXEEXT)
1284         rm -f test-cp-name-parser$(EXEEXT)
1285
1286 .PHONY: clean-tui
1287 clean-tui:
1288         rm -f $(TUI)$(EXEEXT)
1289
1290 # This used to depend on c-exp.c m2-exp.c TAGS
1291 # I believe this is wrong; the makefile standards for distclean just
1292 # describe removing files; the only sort of "re-create a distribution"
1293 # functionality described is if the distributed files are unmodified.
1294 # NB: While GDBSERVER might be configured on native systems, it isn't
1295 # always included in SUBDIRS.  Remove the gdbserver files explicitly.
1296 distclean: clean
1297         @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
1298         rm -f gdbserver/config.status gdbserver/config.log
1299         rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
1300         rm -f gdbserver/Makefile gdbserver/config.cache
1301         rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
1302         rm -f gdb_stdint.h
1303         rm -f y.output yacc.acts yacc.tmp y.tab.h
1304         rm -f config.log config.cache
1305         rm -f Makefile
1306
1307 maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
1308 realclean: maintainer-clean
1309
1310 local-maintainer-clean:
1311         @echo "This command is intended for maintainers to use;"
1312         @echo "it deletes files that may require special tools to rebuild."
1313         rm -f c-exp.c \
1314                 cp-name-parser.c \
1315                 ada-lex.c ada-exp.c \
1316                 objc-exp.c \
1317                 jv-exp.tab \
1318                 f-exp.c m2-exp.c p-exp.c
1319         rm -f TAGS $(INFOFILES)
1320         rm -f $(YYFILES)
1321         rm -f nm.h tm.h xm.h config.status
1322
1323 do-maintainer-clean:
1324         @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" \
1325                 subdir_do
1326
1327 diststuff: $(DISTSTUFF) $(PACKAGE).pot $(CATALOGS)
1328         cd doc; $(MAKE) $(MFLAGS) diststuff
1329
1330 subdir_do: force
1331         @for i in $(DODIRS); do \
1332                 if [ -f ./$$i/Makefile ] ; then \
1333                         if (cd ./$$i; \
1334                                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
1335                         else exit 1 ; fi ; \
1336                 else true ; fi ; \
1337         done
1338
1339 Makefile: Makefile.in config.status @frags@
1340         # Regenerate the Makefile and the tm.h / nm.h links.
1341         CONFIG_FILES=Makefile \
1342           CONFIG_COMMANDS= \
1343           CONFIG_HEADERS= \
1344           $(SHELL) config.status
1345
1346 config.h: stamp-h ; @true
1347 stamp-h: config.in config.status
1348         CONFIG_HEADERS=config.h:config.in \
1349           CONFIG_COMMANDS=default \
1350           CONFIG_FILES= \
1351           CONFIG_LINKS= \
1352           $(SHELL) config.status
1353
1354 gdb_stdint.h: stamp-int ; @true
1355 stamp-int: config.status
1356         CONFIG_COMMANDS=gdb_stdint.h \
1357           CONFIG_FILES= \
1358           CONFIG_HEADERS= \
1359           CONFIG_LINKS= \
1360           $(SHELL) config.status
1361         echo stamp > stamp-int
1362
1363 config.status: configure configure.tgt configure.host
1364         $(SHELL) config.status --recheck
1365
1366 force:
1367
1368 # Documentation!
1369 # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
1370 doc/refcard.dvi:
1371         cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS)
1372
1373 # GDB QUICK REFERENCE (PostScript output, common PS fonts)
1374 doc/refcard.ps:
1375         cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS)
1376
1377 # GDB MANUAL: TeX dvi file
1378 doc/gdb.dvi:
1379         cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS)
1380
1381 # GDB MANUAL: info file
1382 doc/gdb.info:
1383         cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS)
1384
1385 # Make copying.c from COPYING
1386 $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \
1387                 $(srcdir)/COPYING $(srcdir)/copying.awk
1388         awk -f $(srcdir)/copying.awk \
1389                 < $(srcdir)/COPYING > $(srcdir)/copying.tmp
1390         mv $(srcdir)/copying.tmp $(srcdir)/copying.c
1391
1392 version.c: Makefile version.in
1393         rm -f version.c-tmp version.c
1394         echo '#include "version.h"' >> version.c-tmp
1395         echo 'const char version[] = "'"`sed q ${srcdir}/version.in`"'";' >> version.c-tmp
1396         echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
1397         echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp
1398         mv version.c-tmp version.c
1399 version.o: version.c $(version_h)
1400
1401 observer.h: observer.sh doc/observer.texi
1402         ${srcdir}/observer.sh h ${srcdir}/doc/observer.texi observer.h
1403
1404 observer.inc: observer.sh doc/observer.texi
1405         ${srcdir}/observer.sh inc ${srcdir}/doc/observer.texi observer.inc
1406
1407 lint: $(LINTFILES)
1408         $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
1409            `echo $(DEPFILES) $(CONFIG_OBS) | sed 's/\.o /\.c /g'`
1410
1411 gdb.cxref: $(SFILES)
1412         cxref -I. $(SFILES) >gdb.cxref
1413
1414 force_update:
1415
1416 # GNU Make has an annoying habit of putting *all* the Makefile variables
1417 # into the environment, unless you include this target as a circumvention.
1418 # Rumor is that this will be fixed (and this target can be removed)
1419 # in GNU Make 4.0.
1420 .NOEXPORT:
1421
1422 # GNU Make 3.63 has a different problem: it keeps tacking command line
1423 # overrides onto the definition of $(MAKE).  This variable setting
1424 # will remove them.
1425 MAKEOVERRIDES=
1426
1427 ALLDEPFILES = \
1428         aix-thread.c \
1429         alpha-nat.c alphabsd-nat.c alpha-linux-nat.c \
1430         alpha-tdep.c alpha-mdebug-tdep.c \
1431         alpha-linux-tdep.c alpha-osf1-tdep.c \
1432         alphabsd-tdep.c alphafbsd-tdep.c alphanbsd-tdep.c alphaobsd-tdep.c \
1433         amd64-nat.c amd64-tdep.c \
1434         amd64bsd-nat.c amd64fbsd-nat.c amd64fbsd-tdep.c \
1435         amd64nbsd-nat.c amd64nbsd-tdep.c \
1436         amd64obsd-nat.c amd64obsd-tdep.c \
1437         amd64-linux-nat.c amd64-linux-tdep.c \
1438         amd64-sol2-tdep.c \
1439         arm-linux-nat.c arm-linux-tdep.c arm-tdep.c \
1440         armnbsd-nat.c armbsd-tdep.c armnbsd-tdep.c armobsd-tdep.c \
1441         avr-tdep.c \
1442         bsd-uthread.c bsd-kvm.c \
1443         coff-solib.c \
1444         core-regset.c core-aout.c corelow.c \
1445         dcache.c exec.c \
1446         fbsd-nat.c \
1447         fork-child.c \
1448         glibc-tdep.c \
1449         go32-nat.c h8300-tdep.c \
1450         hppa-tdep.c hppa-hpux-tdep.c hppa-hpux-nat.c \
1451         hppa-linux-tdep.c hppa-linux-nat.c \
1452         hppabsd-nat.c hppabsd-tdep.c \
1453         hpread.c \
1454         i386-tdep.c i386v-nat.c i386-linux-nat.c \
1455         i386v4-nat.c i386-cygwin-tdep.c \
1456         i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
1457         i386nbsd-nat.c i386nbsd-tdep.c i386obsd-nat.c i386obsd-tdep.c \
1458         i387-tdep.c \
1459         i386-linux-tdep.c i386-nat.c \
1460         i386-sol2-nat.c i386-sol2-tdep.c \
1461         i386gnu-nat.c i386gnu-tdep.c \
1462         ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c \
1463         inf-ptrace.c inf-ttrace.c \
1464         infptrace.c inftarg.c irix5-nat.c \
1465         libunwind-frame.c \
1466         linux-fork.c \
1467         lynx-nat.c \
1468         m68hc11-tdep.c \
1469         m32r-tdep.c \
1470         m32r-linux-nat.c m32r-linux-tdep.c \
1471         m68k-tdep.c \
1472         m68kbsd-nat.c m68kbsd-tdep.c \
1473         m68klinux-nat.c m68klinux-tdep.c \
1474         m88k-tdep.c m88kbsd-nat.c \
1475         mingw-hdep.c \
1476         mips-linux-nat.c mips-linux-tdep.c \
1477         mips-irix-tdep.c \
1478         mips-tdep.c \
1479         mipsnbsd-nat.c mipsnbsd-tdep.c \
1480         mips64obsd-nat.c mips64obsd-tdep.c \
1481         nbsd-nat.c nbsd-tdep.c obsd-tdep.c \
1482         solib-osf.c \
1483         somread.c solib-som.c $(HPREAD_SOURCE) \
1484         posix-hdep.c \
1485         ppc-sysv-tdep.c ppc-linux-nat.c ppc-linux-tdep.c \
1486         ppcnbsd-nat.c ppcnbsd-tdep.c \
1487         ppcobsd-nat.c ppcobsd-tdep.c \
1488         procfs.c \
1489         remote-e7000.c \
1490         remote-hms.c remote-m32r-sdi.c remote-mips.c \
1491         remote-sim.c \
1492         remote-st.c remote-utils.c dcache.c \
1493         rs6000-nat.c rs6000-tdep.c \
1494         s390-tdep.c s390-nat.c \
1495         score-tdep.c \
1496         ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c \
1497         sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
1498         sol2-tdep.c \
1499         solib-irix.c solib-svr4.c solib-sunos.c \
1500         sparc-linux-nat.c \
1501         sparc-linux-tdep.c sparc-nat.c sparc-sol2-nat.c sparc-sol2-tdep.c \
1502         sparc-tdep.c sparc-sol2-nat.c sparc-sol2-tdep.c sparc64-linux-nat.c \
1503         sparc64-linux-tdep.c sparc64-nat.c sparc64-sol2-tdep.c \
1504         sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
1505         sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
1506         sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
1507         spu-linux-nat.c spu-tdep.c \
1508         v850-tdep.c \
1509         vax-nat.c vax-tdep.c vaxbsd-nat.c vaxnbsd-tdep.c \
1510         win32-nat.c \
1511         xcoffread.c xcoffsolib.c \
1512         xstormy16-tdep.c \
1513         xtensa-tdep.c xtensa-config.c
1514
1515 # Some files need explicit build rules (due to -Werror problems) or due
1516 # to sub-directory fun 'n' games.
1517
1518 # Provide explicit rule/dependency - works for more makes.
1519 copying.o: $(srcdir)/copying.c
1520         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/copying.c
1521
1522 hpux-thread.o: $(srcdir)/hpux-thread.c
1523         $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
1524                 -I$(srcdir)/osf-share/HP800 -I/usr/include/dce \
1525                 $(srcdir)/hpux-thread.c
1526
1527 # main.o needs an explicit build rule to get TARGET_SYSTEM_ROOT and BINDIR.
1528 main.o: main.c
1529         $(CC) -c $(INTERNAL_CFLAGS) $(TARGET_SYSTEM_ROOT_DEFINE) \
1530                 -DBINDIR=\"$(bindir)\" $(srcdir)/main.c
1531
1532 # FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral
1533 # errors.  It turns out that that is the least of monitor.c's
1534 # problems.  The function print_vsprintf appears to be using
1535 # va_arg(long) to extract CORE_ADDR parameters - something that
1536 # definitly will not work.  "monitor.c" needs to be rewritten so that
1537 # it doesn't use format strings and instead uses callbacks.
1538 monitor.o: $(srcdir)/monitor.c
1539         $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/monitor.c
1540
1541 # Do not try to build "printcmd.c" with -Wformat-nonliteral.  It manually
1542 # checks format strings.
1543 printcmd.o: $(srcdir)/printcmd.c
1544         $(CC) -c $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS_NO_FORMAT) \
1545            $(GDB_WERROR_CFLAGS) $(srcdir)/printcmd.c
1546
1547 # FIXME: Procfs.o gets -Wformat errors because things like pid_t don't
1548 # match output format strings.
1549 procfs.o: $(srcdir)/procfs.c
1550         $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/procfs.c
1551
1552 v850ice.o: $(srcdir)/v850ice.c
1553         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
1554                 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
1555                 $(GDBTK_CFLAGS) \
1556                 $(srcdir)/v850ice.c
1557
1558 # Message files.  Based on code in gcc/Makefile.in.
1559
1560 # Rules for generating translated message descriptions.  Disabled by
1561 # autoconf if the tools are not available.
1562
1563 .SUFFIXES: .po .gmo .pox .pot
1564 .PHONY: all-po install-po uninstall-po clean-po update-po $(PACKAGE).pot
1565
1566 all-po: $(CATALOGS)
1567
1568 # This notation should be acceptable to all Make implementations used
1569 # by people who are interested in updating .po files.
1570 update-po: $(CATALOGS:.gmo=.pox)
1571
1572 # N.B. We do not attempt to copy these into $(srcdir).  The snapshot
1573 # script does that.
1574 .po.gmo:
1575         -test -d po || mkdir po
1576         $(GMSGFMT) --statistics -o $@ $<
1577
1578 # The new .po has to be gone over by hand, so we deposit it into
1579 # build/po with a different extension.  If build/po/$(PACKAGE).pot
1580 # exists, use it (it was just created), else use the one in srcdir.
1581 .po.pox:
1582         -test -d po || mkdir po
1583         $(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \
1584                         then echo po/$(PACKAGE).pot; \
1585                         else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@
1586
1587 # This rule has to look for .gmo modules in both srcdir and the cwd,
1588 # and has to check that we actually have a catalog for each language,
1589 # in case they weren't built or included with the distribution.
1590 install-po:
1591         $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(datadir)
1592         cats="$(CATALOGS)"; for cat in $$cats; do \
1593           lang=`basename $$cat | sed 's/\.gmo$$//'`; \
1594           if [ -f $$cat ]; then :; \
1595           elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
1596           else continue; \
1597           fi; \
1598           dir=$(localedir)/$$lang/LC_MESSAGES; \
1599           echo $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$$dir; \
1600           $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$$dir || exit 1; \
1601           echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
1602           $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
1603         done
1604 uninstall-po:
1605         cats="$(CATALOGS)"; for cat in $$cats; do \
1606           lang=`basename $$cat | sed 's/\.gmo$$//'`; \
1607           if [ -f $$cat ]; then :; \
1608           elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
1609           else continue; \
1610           fi; \
1611           dir=$(localedir)/$$lang/LC_MESSAGES; \
1612           rm -f $(DESTDIR)$$dir/$(PACKAGE).mo; \
1613         done
1614 # Delete po/*.gmo only if we are not building in the source directory.
1615 clean-po:
1616         -if [ ! -f Makefile.in ]; then rm -f po/*.gmo; fi
1617
1618 # Rule for regenerating the message template (gdb.pot).  Instead of
1619 # forcing everyone to edit POTFILES.in, which proved impractical, this
1620 # rule has no dependencies and always regenerates gdb.pot.  This is
1621 # relatively harmless since the .po files do not directly depend on
1622 # it.  The .pot file is left in the build directory.  Since GDB's
1623 # Makefile lacks a cannonical list of sources (missing xm, tm and nm
1624 # files) force this rule.
1625 $(PACKAGE).pot: po/$(PACKAGE).pot
1626 po/$(PACKAGE).pot: force
1627         -test -d po || mkdir po
1628         sh -e $(srcdir)/po/gdbtext $(XGETTEXT) $(PACKAGE) . $(srcdir)
1629
1630
1631 #
1632 # YACC/LEX dependencies
1633 #
1634 # LANG-exp.c is generated in objdir from LANG-exp.y if it doesn't
1635 # exist in srcdir, then compiled in objdir to LANG-exp.o.  If we
1636 # said LANG-exp.c rather than ./c-exp.c some makes would
1637 # sometimes re-write it into $(srcdir)/c-exp.c.  Remove bogus
1638 # decls for malloc/realloc/free which conflict with everything else.
1639 # Strictly speaking c-exp.c should therefore depend on
1640 # Makefile.in, but that was a pretty big annoyance.
1641
1642 .SUFFIXES: .y .l
1643 .y.c: 
1644         $(SHELL) $(YLWRAP) $< y.tab.c $@.tmp -- $(YACC) $(YFLAGS)
1645         -sed -e '/extern.*malloc/d' \
1646              -e '/extern.*realloc/d' \
1647              -e '/extern.*free/d' \
1648              -e '/include.*malloc.h/d' \
1649              -e 's/\([^x]\)malloc/\1xmalloc/g' \
1650              -e 's/\([^x]\)realloc/\1xrealloc/g' \
1651              -e '/^#line.*y.tab.c/d' \
1652           < $@.tmp > $@.new
1653         -rm $@.tmp
1654         mv $@.new ./$*.c
1655 .l.c:
1656         if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
1657             $(FLEX) -o$@ $< && \
1658             rm -f $@.new && \
1659             sed -e '/extern.*malloc/d' \
1660                 -e '/extern.*realloc/d' \
1661                 -e '/extern.*free/d' \
1662                 -e '/include.*malloc.h/d' \
1663                 -e 's/\([^x]\)malloc/\1xmalloc/g' \
1664                 -e 's/\([^x]\)realloc/\1xrealloc/g' \
1665                 -e 's/yy_flex_xrealloc/yyxrealloc/g' \
1666               < $@ > $@.new && \
1667             rm -f $@ && \
1668             mv $@.new $@; \
1669         elif [ -f $@ ]; then \
1670             echo "Warning: $*.c older than $*.l and flex not available."; \
1671         else \
1672             echo "$@ missing and flex not available."; \
1673             false; \
1674         fi
1675
1676 .PRECIOUS: ada-exp.c ada-lex.c
1677 .PRECIOUS: c-exp.c
1678 .PRECIOUS: f-exp.c
1679 .PRECIOUS: jv-exp.c
1680 .PRECIOUS: m2-exp.c
1681 .PRECIOUS: objc-exp.c
1682 .PRECIOUS: p-exp.c
1683
1684 #
1685 # gdb/ dependencies
1686 #
1687
1688 abug-rom.o: abug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
1689         $(serial_h) $(regcache_h) $(m68k_tdep_h)
1690 ada-exp.o: ada-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
1691         $(parser_defs_h) $(language_h) $(ada_lang_h) $(bfd_h) $(symfile_h) \
1692         $(objfiles_h) $(frame_h) $(block_h) $(ada_lex_c)
1693 ada-lang.o: ada-lang.c $(defs_h) $(gdb_string_h) $(demangle_h) \
1694         $(gdb_regex_h) $(frame_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) \
1695         $(expression_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
1696         $(inferior_h) $(symfile_h) $(objfiles_h) $(breakpoint_h) \
1697         $(gdbcore_h) $(hashtab_h) $(gdb_obstack_h) $(ada_lang_h) \
1698         $(completer_h) $(gdb_stat_h) $(ui_out_h) $(block_h) $(infcall_h) \
1699         $(dictionary_h) $(exceptions_h) $(annotate_h) $(valprint_h)
1700 ada-typeprint.o: ada-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) \
1701         $(symtab_h) $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) \
1702         $(target_h) $(command_h) $(gdbcmd_h) $(language_h) $(demangle_h) \
1703         $(c_lang_h) $(typeprint_h) $(ada_lang_h) $(gdb_string_h)
1704 ada-valprint.o: ada-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
1705         $(gdbtypes_h) $(expression_h) $(value_h) $(demangle_h) $(valprint_h) \
1706         $(language_h) $(annotate_h) $(ada_lang_h) $(c_lang_h) $(infcall_h) \
1707         $(exceptions_h)
1708 aix-thread.o: aix-thread.c $(defs_h) $(gdb_assert_h) $(gdbthread_h) \
1709         $(target_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) $(ppc_tdep_h) \
1710         $(gdb_string_h)
1711 alphabsd-nat.o: alphabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1712         $(alpha_tdep_h) $(alphabsd_tdep_h) $(inf_ptrace_h) $(gregset_h) \
1713         $(bsd_kvm_h)
1714 alphabsd-tdep.o: alphabsd-tdep.c $(defs_h) $(alpha_tdep_h) \
1715         $(alphabsd_tdep_h)
1716 alphafbsd-tdep.o: alphafbsd-tdep.c $(defs_h) $(value_h) $(osabi_h) \
1717         $(alpha_tdep_h) $(solib_svr4_h)
1718 alpha-linux-nat.o: alpha-linux-nat.c $(defs_h) $(target_h) $(linux_nat_h)
1719 alpha-linux-tdep.o: alpha-linux-tdep.c $(defs_h) $(frame_h) $(gdb_assert_h) \
1720         $(osabi_h) $(solib_svr4_h) $(symtab_h) $(alpha_tdep_h)
1721 alpha-mdebug-tdep.o: alpha-mdebug-tdep.c $(defs_h) $(frame_h) \
1722         $(frame_unwind_h) $(frame_base_h) $(symtab_h) $(gdbcore_h) \
1723         $(block_h) $(gdb_assert_h) $(alpha_tdep_h) $(mdebugread_h)
1724 alpha-nat.o: alpha-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
1725         $(gdbcore_h) $(target_h) $(regcache_h) $(alpha_tdep_h) $(gregset_h)
1726 alphanbsd-tdep.o: alphanbsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
1727         $(regcache_h) $(regset_h) $(value_h) $(osabi_h) $(gdb_string_h) \
1728         $(gdb_assert_h) $(alpha_tdep_h) $(alphabsd_tdep_h) $(nbsd_tdep_h) \
1729         $(solib_svr4_h)
1730 alphaobsd-tdep.o: alphaobsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
1731         $(osabi_h) $(obsd_tdep_h) $(alpha_tdep_h) $(alphabsd_tdep_h) \
1732         $(solib_svr4_h)
1733 alpha-osf1-tdep.o: alpha-osf1-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
1734         $(value_h) $(osabi_h) $(gdb_string_h) $(objfiles_h) $(alpha_tdep_h)
1735 alpha-tdep.o: alpha-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
1736         $(frame_unwind_h) $(frame_base_h) $(dwarf2_frame_h) $(inferior_h) \
1737         $(symtab_h) $(value_h) $(gdbcmd_h) $(gdbcore_h) $(dis_asm_h) \
1738         $(symfile_h) $(objfiles_h) $(gdb_string_h) $(linespec_h) \
1739         $(regcache_h) $(reggroups_h) $(arch_utils_h) $(osabi_h) $(block_h) \
1740         $(infcall_h) $(elf_bfd_h) $(alpha_tdep_h)
1741 amd64bsd-nat.o: amd64bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1742         $(target_h) $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h) \
1743         $(inf_ptrace_h)
1744 amd64fbsd-nat.o: amd64fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1745         $(target_h) $(gdb_assert_h) $(fbsd_nat_h) $(amd64_tdep_h) \
1746         $(amd64_nat_h) $(bsd_kvm_h)
1747 amd64fbsd-tdep.o: amd64fbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
1748         $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_assert_h) \
1749         $(gdb_string_h) $(amd64_tdep_h) $(bsd_uthread_h) $(solib_svr4_h)
1750 amd64-linux-nat.o: amd64-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
1751         $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
1752         $(gdb_proc_service_h) $(gregset_h) $(amd64_tdep_h) \
1753         $(i386_linux_tdep_h) $(amd64_nat_h) $(target_h) $(amd64_linux_tdep_h)
1754 amd64-linux-tdep.o: amd64-linux-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
1755         $(regcache_h) $(osabi_h) $(symtab_h) $(gdb_string_h) $(amd64_tdep_h) \
1756         $(solib_svr4_h) $(gdbtypes_h) $(reggroups_h) $(amd64_linux_tdep_h)
1757 amd64-nat.o: amd64-nat.c $(defs_h) $(gdbarch_h) $(regcache_h) \
1758         $(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) $(amd64_tdep_h)
1759 amd64nbsd-nat.o: amd64nbsd-nat.c $(defs_h) $(target_h) $(gdb_assert_h) \
1760         $(amd64_tdep_h) $(amd64_nat_h)
1761 amd64nbsd-tdep.o: amd64nbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
1762         $(gdbcore_h) $(osabi_h) $(symtab_h) $(gdb_assert_h) $(amd64_tdep_h) \
1763         $(nbsd_tdep_h) $(solib_svr4_h)
1764 amd64obsd-nat.o: amd64obsd-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
1765         $(target_h) $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h) \
1766         $(bsd_kvm_h)
1767 amd64obsd-tdep.o: amd64obsd-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
1768         $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
1769         $(regset_h) $(target_h) $(trad_frame_h) $(gdb_assert_h) \
1770         $(gdb_string_h) $(amd64_tdep_h) $(i387_tdep_h) $(solib_svr4_h) \
1771         $(bsd_uthread_h)
1772 amd64-sol2-tdep.o: amd64-sol2-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
1773         $(regcache_h) $(osabi_h) $(symtab_h) $(gdb_string_h) \
1774         $(sol2_tdep_h) $(amd64_tdep_h) $(solib_svr4_h)
1775 amd64-tdep.o: amd64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \
1776         $(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
1777         $(inferior_h) $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(regcache_h) \
1778         $(regset_h) $(symfile_h) $(gdb_assert_h) $(amd64_tdep_h) \
1779         $(i387_tdep_h)
1780 annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) \
1781         $(gdbtypes_h) $(breakpoint_h)
1782 arch-utils.o: arch-utils.c $(defs_h) $(arch_utils_h) $(buildsym_h) \
1783         $(gdbcmd_h) $(inferior_h) $(gdb_string_h) $(regcache_h) \
1784         $(gdb_assert_h) $(sim_regno_h) $(gdbcore_h) $(osabi_h) $(version_h) \
1785         $(floatformat_h) $(target_descriptions_h)
1786 arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
1787         $(gdb_string_h) $(regcache_h) $(arm_tdep_h) $(gregset_h) \
1788         $(target_h) $(linux_nat_h) $(gdb_proc_service_h) $(arm_linux_tdep_h)
1789 arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
1790         $(gdbtypes_h) $(floatformat_h) $(gdbcore_h) $(frame_h) $(regcache_h) \
1791         $(doublest_h) $(solib_svr4_h) $(osabi_h) $(arm_tdep_h) \
1792         $(regset_h) $(arm_linux_tdep_h) \
1793         $(glibc_tdep_h) $(trad_frame_h) $(tramp_frame_h) $(gdb_string_h)
1794 armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1795         $(regcache_h) $(target_h) $(gdb_string_h) $(arm_tdep_h) $(inf_ptrace_h)
1796 armbsd-tdep.o: armbsd-tdep.c $(defs_h) $(osabi_h) $(regcache_h) $(regset_h) \
1797         $(gdb_assert_h) $(gdb_string_h) $(arm_tdep_h)
1798 armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \
1799         $(arm_tdep_h) $(solib_svr4_h)
1800 armobsd-tdep.o: armobsd-tdep.c $(defs_h) $(osabi_h) $(trad_frame_h) \
1801         $(tramp_frame_h) $(gdb_string_h) $(obsd_tdep_h) $(arm_tdep_h) \
1802         $(solib_svr4_h)
1803 arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \
1804         $(gdbcore_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \
1805         $(doublest_h) $(value_h) $(arch_utils_h) $(osabi_h) \
1806         $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(arm_tdep_h) \
1807         $(gdb_sim_arm_h) $(elf_bfd_h) $(coff_internal_h) $(elf_arm_h) \
1808         $(gdb_assert_h) $(bfd_in2_h) $(libcoff_h) $(objfiles_h) \
1809         $(dwarf2_frame_h) $(gdbtypes_h) $(prologue_value_h)
1810 auxv.o: auxv.c $(defs_h) $(target_h) $(gdbtypes_h) $(command_h) \
1811         $(inferior_h) $(valprint_h) $(gdb_assert_h) $(auxv_h) \
1812         $(elf_common_h)
1813 avr-tdep.o: avr-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
1814         $(frame_base_h) $(trad_frame_h) $(gdbcmd_h) $(gdbcore_h) \
1815         $(inferior_h) $(symfile_h) $(arch_utils_h) $(regcache_h) \
1816         $(gdb_string_h) $(dis_asm_h)
1817 ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) \
1818         $(value_h) $(expression_h) $(command_h) $(gdbcmd_h) $(frame_h) \
1819         $(target_h) $(ax_h) $(ax_gdb_h) $(gdb_string_h) $(block_h) \
1820         $(regcache_h)
1821 ax-general.o: ax-general.c $(defs_h) $(ax_h) $(value_h) $(gdb_string_h)
1822 bcache.o: bcache.c $(defs_h) $(gdb_obstack_h) $(bcache_h) $(gdb_string_h) \
1823         $(gdb_assert_h)
1824 bfd-target.o: bfd-target.c $(defs_h) $(target_h) $(bfd_target_h) \
1825         $(gdb_assert_h) $(gdb_string_h)
1826 block.o: block.c $(defs_h) $(block_h) $(symtab_h) $(symfile_h) \
1827         $(gdb_obstack_h) $(cp_support_h)
1828 blockframe.o: blockframe.c $(defs_h) $(symtab_h) $(bfd_h) $(objfiles_h) \
1829         $(frame_h) $(gdbcore_h) $(value_h) $(target_h) $(inferior_h) \
1830         $(annotate_h) $(regcache_h) $(gdb_assert_h) $(dummy_frame_h) \
1831         $(command_h) $(gdbcmd_h) $(block_h)
1832 breakpoint.o: breakpoint.c $(defs_h) $(symtab_h) $(frame_h) $(breakpoint_h) \
1833         $(gdbtypes_h) $(expression_h) $(gdbcore_h) $(gdbcmd_h) $(value_h) \
1834         $(command_h) $(inferior_h) $(gdbthread_h) $(target_h) $(language_h) \
1835         $(gdb_string_h) $(demangle_h) $(annotate_h) $(symfile_h) \
1836         $(objfiles_h) $(source_h) $(linespec_h) $(completer_h) $(gdb_h) \
1837         $(ui_out_h) $(cli_script_h) $(gdb_assert_h) $(block_h) $(solib_h) \
1838         $(solist_h) $(observer_h) $(exceptions_h) $(gdb_events_h) $(mi_common_h) \
1839         $(memattr_h) $(ada_lang_h)
1840 bsd-kvm.o: bsd-kvm.c $(defs_h) $(cli_cmds_h) $(command_h) $(frame_h) \
1841         $(regcache_h) $(target_h) $(value_h) $(gdbcore_h) $(gdb_assert_h) \
1842         $(readline_h) $(bsd_kvm_h)
1843 bsd-uthread.o: bsd-uthread.c $(defs_h) $(gdbcore_h) $(gdbthread_h) \
1844         $(inferior_h) $(objfiles_h) $(observer_h) $(regcache_h) $(solib_h) \
1845         $(solist_h) $(symfile_h) $(target_h) $(gdb_assert_h) \
1846         $(gdb_obstack_h) $(bsd_uthread_h)
1847 buildsym.o: buildsym.c $(defs_h) $(bfd_h) $(gdb_obstack_h) $(symtab_h) \
1848         $(symfile_h) $(objfiles_h) $(gdbtypes_h) $(gdb_assert_h) \
1849         $(complaints_h) $(gdb_string_h) $(expression_h) $(bcache_h) \
1850         $(filenames_h) $(macrotab_h) $(demangle_h) $(block_h) \
1851         $(cp_support_h) $(dictionary_h) $(buildsym_h) $(stabsread_h)
1852 c-exp.o: c-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
1853         $(parser_defs_h) $(language_h) $(c_lang_h) $(bfd_h) $(symfile_h) \
1854         $(objfiles_h) $(charset_h) $(block_h) $(cp_support_h)
1855 charset.o: charset.c $(defs_h) $(charset_h) $(gdbcmd_h) $(gdb_assert_h) \
1856         $(gdb_string_h)
1857 c-lang.o: c-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
1858         $(parser_defs_h) $(language_h) $(c_lang_h) $(valprint_h) \
1859         $(macroscope_h) $(gdb_assert_h) $(charset_h) $(gdb_string_h) \
1860         $(demangle_h) $(cp_support_h)
1861 cli-out.o: cli-out.c $(defs_h) $(ui_out_h) $(cli_out_h) $(gdb_string_h) \
1862         $(gdb_assert_h)
1863 coff-pe-read.o: coff-pe-read.c $(coff_pe_read_h) $(bfd_h) $(defs_h) \
1864         $(gdbtypes_h) $(symtab_h) $(symfile_h) $(objfiles_h)
1865 coffread.o: coffread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(demangle_h) \
1866         $(breakpoint_h) $(bfd_h) $(gdb_obstack_h) $(gdb_string_h) \
1867         $(coff_internal_h) $(libcoff_h) $(objfiles_h) $(buildsym_h) \
1868         $(gdb_stabs_h) $(stabsread_h) $(complaints_h) $(target_h) \
1869         $(gdb_assert_h) $(block_h) $(dictionary_h) $(coff_pe_read_h)
1870 coff-solib.o: coff-solib.c $(defs_h) $(frame_h) $(bfd_h) $(gdbcore_h) \
1871         $(symtab_h) $(symfile_h) $(objfiles_h)
1872 complaints.o: complaints.c $(defs_h) $(complaints_h) $(gdb_assert_h) \
1873         $(command_h) $(gdbcmd_h)
1874 completer.o: completer.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
1875         $(filenames_h) $(language_h) $(cli_decode_h) $(gdbcmd_h) \
1876         $(readline_h) $(completer_h)
1877 copying.o: copying.c $(defs_h) $(command_h) $(gdbcmd_h)
1878 core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(regcache_h) \
1879         $(gdb_dirent_h) $(gdb_stat_h)
1880 corefile.o: corefile.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symtab_h) \
1881         $(command_h) $(gdbcmd_h) $(bfd_h) $(target_h) $(gdbcore_h) \
1882         $(dis_asm_h) $(gdb_stat_h) $(completer_h) $(exceptions_h)
1883 corelow.o: corelow.c $(defs_h) $(arch_utils_h) $(gdb_string_h) $(frame_h) \
1884         $(inferior_h) $(symtab_h) $(command_h) $(bfd_h) $(target_h) \
1885         $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(regset_h) $(symfile_h) \
1886         $(exec_h) $(readline_h) $(gdb_assert_h) \
1887         $(exceptions_h) $(solib_h)
1888 core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \
1889         $(inferior_h) $(target_h) $(gdb_string_h) $(gregset_h)
1890 cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(command_h) $(gdbcmd_h) \
1891         $(ui_out_h) $(gdb_string_h)
1892 cp-name-parser.o: cp-name-parser.c $(safe_ctype_h) $(libiberty_h) $(demangle_h)
1893 cp-namespace.o: cp-namespace.c $(defs_h) $(cp_support_h) $(gdb_obstack_h) \
1894         $(symtab_h) $(symfile_h) $(gdb_assert_h) $(block_h) $(objfiles_h) \
1895         $(gdbtypes_h) $(dictionary_h) $(command_h) $(frame_h)
1896 cp-support.o: cp-support.c $(defs_h) $(cp_support_h) $(gdb_string_h) \
1897         $(demangle_h) $(gdb_assert_h) $(gdbcmd_h) $(dictionary_h) \
1898         $(objfiles_h) $(frame_h) $(symtab_h) $(block_h) $(complaints_h) \
1899         $(gdbtypes_h)
1900 cpu32bug-rom.o: cpu32bug-rom.c $(defs_h) $(gdbcore_h) $(target_h) \
1901         $(monitor_h) $(serial_h) $(regcache_h) $(m68k_tdep_h)
1902 cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
1903         $(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
1904         $(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \
1905         $(cp_abi_h) $(valprint_h) $(cp_support_h) $(language_h)
1906 cris-tdep.o: cris-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
1907         $(frame_base_h) $(trad_frame_h) $(dwarf2_frame_h) $(symtab_h) \
1908         $(inferior_h) $(gdbtypes_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) \
1909         $(value_h) $(opcode_cris_h) $(arch_utils_h) $(regcache_h) \
1910         $(gdb_assert_h) $(objfiles_h) $(solib_h) $(solib_svr4_h) \
1911         $(gdb_string_h) $(dis_asm_h)
1912 c-typeprint.o: c-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
1913         $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
1914         $(language_h) $(demangle_h) $(c_lang_h) $(typeprint_h) $(cp_abi_h) \
1915         $(gdb_string_h)
1916 c-valprint.o: c-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
1917         $(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) $(language_h) \
1918         $(c_lang_h) $(cp_abi_h) $(target_h)
1919 # OBSOLETE d10v-tdep.o: d10v-tdep.c
1920 dbug-rom.o: dbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
1921         $(serial_h) $(regcache_h) $(m68k_tdep_h)
1922 dbxread.o: dbxread.c $(defs_h) $(gdb_string_h) $(gdb_obstack_h) \
1923         $(gdb_stat_h) $(symtab_h) $(breakpoint_h) $(target_h) $(gdbcore_h) \
1924         $(libaout_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
1925         $(gdb_stabs_h) $(demangle_h) $(complaints_h) $(cp_abi_h) \
1926         $(gdb_assert_h) $(gdb_string_h) $(aout_aout64_h) $(aout_stab_gnu_h)
1927 dcache.o: dcache.c $(defs_h) $(dcache_h) $(gdbcmd_h) $(gdb_string_h) \
1928         $(gdbcore_h) $(target_h)
1929 demangle.o: demangle.c $(defs_h) $(command_h) $(gdbcmd_h) $(demangle_h) \
1930         $(gdb_string_h)
1931 dictionary.o: dictionary.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
1932         $(buildsym_h) $(gdb_assert_h) $(dictionary_h)
1933 dink32-rom.o: dink32-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
1934         $(serial_h) $(symfile_h) $(inferior_h) $(regcache_h)
1935 disasm.o: disasm.c $(defs_h) $(target_h) $(value_h) $(ui_out_h) \
1936         $(gdb_string_h) $(disasm_h) $(gdbcore_h) $(dis_asm_h)
1937 doublest.o: doublest.c $(defs_h) $(doublest_h) $(floatformat_h) \
1938         $(gdb_assert_h) $(gdb_string_h) $(gdbtypes_h)
1939 dsrec.o: dsrec.c $(defs_h) $(serial_h) $(srec_h) $(gdb_assert_h) \
1940         $(gdb_string_h)
1941 dummy-frame.o: dummy-frame.c $(defs_h) $(dummy_frame_h) $(regcache_h) \
1942         $(frame_h) $(inferior_h) $(gdb_assert_h) $(frame_unwind_h) \
1943         $(command_h) $(gdbcmd_h) $(gdb_string_h)
1944 dwarf2expr.o: dwarf2expr.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(value_h) \
1945         $(gdbcore_h) $(elf_dwarf2_h) $(dwarf2expr_h)
1946 dwarf2-frame.o: dwarf2-frame.c $(defs_h) $(dwarf2expr_h) $(elf_dwarf2_h) \
1947         $(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \
1948         $(gdbtypes_h) $(symtab_h) $(objfiles_h) $(regcache_h) \
1949         $(gdb_assert_h) $(gdb_string_h) $(complaints_h) $(dwarf2_frame_h) \
1950         $(value_h)
1951 dwarf2loc.o: dwarf2loc.c $(defs_h) $(ui_out_h) $(value_h) $(frame_h) \
1952         $(gdbcore_h) $(target_h) $(inferior_h) $(ax_h) $(ax_gdb_h) \
1953         $(regcache_h) $(objfiles_h) $(exceptions_h) $(elf_dwarf2_h) \
1954         $(dwarf2expr_h) $(dwarf2loc_h) $(gdb_string_h)
1955 dwarf2read.o: dwarf2read.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
1956         $(objfiles_h) $(elf_dwarf2_h) $(buildsym_h) $(demangle_h) \
1957         $(expression_h) $(filenames_h) $(macrotab_h) $(language_h) \
1958         $(complaints_h) $(bcache_h) $(dwarf2expr_h) $(dwarf2loc_h) \
1959         $(cp_support_h) $(hashtab_h) $(command_h) $(gdbcmd_h) \
1960         $(gdb_string_h) $(gdb_assert_h)
1961 dwarfread.o: dwarfread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(objfiles_h) \
1962         $(elf_dwarf_h) $(buildsym_h) $(demangle_h) $(expression_h) \
1963         $(language_h) $(complaints_h) $(gdb_string_h)
1964 elfread.o: elfread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(elf_bfd_h) \
1965         $(elf_mips_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
1966         $(stabsread_h) $(gdb_stabs_h) $(complaints_h) $(demangle_h)
1967 environ.o: environ.c $(defs_h) $(environ_h) $(gdb_string_h)
1968 eval.o: eval.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
1969         $(value_h) $(expression_h) $(target_h) $(frame_h) $(language_h) \
1970         $(f_lang_h) $(cp_abi_h) $(infcall_h) $(objc_lang_h) $(block_h) \
1971         $(parser_defs_h) $(cp_support_h) $(gdb_assert_h)
1972 event-loop.o: event-loop.c $(defs_h) $(event_loop_h) $(event_top_h) \
1973         $(gdb_string_h) $(exceptions_h) $(gdb_assert_h) $(gdb_select_h)
1974 event-top.o: event-top.c $(defs_h) $(top_h) $(inferior_h) $(target_h) \
1975         $(terminal_h) $(event_loop_h) $(event_top_h) $(interps_h) \
1976         $(exceptions_h) $(gdbcmd_h) $(readline_h) $(readline_history_h)
1977 exceptions.o: exceptions.c $(defs_h) $(exceptions_h) $(breakpoint_h) \
1978         $(target_h) $(inferior_h) $(annotate_h) $(ui_out_h) $(gdb_assert_h) \
1979         $(gdb_string_h) $(serial_h)
1980 exec.o: exec.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcmd_h) \
1981         $(language_h) $(symfile_h) $(objfiles_h) $(completer_h) $(value_h) \
1982         $(exec_h) $(readline_h) $(gdb_string_h) $(gdbcore_h) $(gdb_stat_h) \
1983         $(xcoffsolib_h) $(observer_h)
1984 expprint.o: expprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
1985         $(value_h) $(language_h) $(parser_defs_h) $(user_regs_h) $(target_h) \
1986         $(gdb_string_h) $(block_h) $(objfiles_h)
1987 fbsd-nat.o: fbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(regcache_h) \
1988         $(regset_h) $(gdb_assert_h) $(gdb_string_h) $(elf_bfd_h) \
1989         $(fbsd_nat_h)
1990 f-exp.o: f-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
1991         $(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) $(symfile_h) \
1992         $(objfiles_h) $(block_h)
1993 findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \
1994         $(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \
1995         $(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \
1996         $(user_regs_h) $(block_h)
1997 f-lang.o: f-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
1998         $(expression_h) $(parser_defs_h) $(language_h) $(f_lang_h) \
1999         $(valprint_h) $(value_h)
2000 fork-child.o: fork-child.c $(defs_h) $(gdb_string_h) $(frame_h) \
2001         $(inferior_h) $(target_h) $(gdb_wait_h) $(gdb_vfork_h) $(gdbcore_h) \
2002         $(terminal_h) $(gdbthread_h) $(command_h) $(solib_h)
2003 frame-base.o: frame-base.c $(defs_h) $(frame_base_h) $(frame_h) \
2004         $(gdb_obstack_h)
2005 frame.o: frame.c $(defs_h) $(frame_h) $(target_h) $(value_h) $(inferior_h) \
2006         $(regcache_h) $(gdb_assert_h) $(gdb_string_h) $(user_regs_h) \
2007         $(gdb_obstack_h) $(dummy_frame_h) $(sentinel_frame_h) $(gdbcore_h) \
2008         $(annotate_h) $(language_h) $(frame_unwind_h) $(frame_base_h) \
2009         $(command_h) $(gdbcmd_h) $(observer_h) $(objfiles_h) $(exceptions_h)
2010 frame-unwind.o: frame-unwind.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2011         $(gdb_assert_h) $(dummy_frame_h) $(gdb_obstack_h)
2012 frv-linux-tdep.o: frv-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
2013         $(frame_h) $(osabi_h) $(regcache_h) $(elf_bfd_h) $(elf_frv_h) \
2014         $(frv_tdep_h) $(trad_frame_h) $(frame_unwind_h) $(regset_h) \
2015         $(gdb_string_h)
2016 frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(gdbcore_h) \
2017         $(arch_utils_h) $(regcache_h) $(frame_h) $(frame_unwind_h) \
2018         $(frame_base_h) $(trad_frame_h) $(dis_asm_h) $(gdb_assert_h) \
2019         $(sim_regno_h) $(gdb_sim_frv_h) $(opcodes_frv_desc_h) $(symtab_h) \
2020         $(elf_bfd_h) $(elf_frv_h) $(osabi_h) $(infcall_h) $(frv_tdep_h)
2021 f-typeprint.o: f-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
2022         $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
2023         $(f_lang_h) $(gdb_string_h)
2024 f-valprint.o: f-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
2025         $(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) $(language_h) \
2026         $(f_lang_h) $(frame_h) $(gdbcore_h) $(command_h) $(block_h)
2027 gcore.o: gcore.c $(defs_h) $(elf_bfd_h) $(infcall_h) $(inferior_h) \
2028         $(gdbcore_h) $(objfiles_h) $(symfile_h) $(cli_decode_h) \
2029         $(gdb_assert_h)
2030 gdbarch.o: gdbarch.c $(defs_h) $(arch_utils_h) $(gdbcmd_h) $(inferior_h) \
2031         $(symcat_h) $(floatformat_h) $(gdb_assert_h) $(gdb_string_h) \
2032         $(gdb_events_h) $(reggroups_h) $(osabi_h) $(gdb_obstack_h)
2033 gdb.o: gdb.c $(defs_h) $(main_h) $(gdb_string_h) $(interps_h)
2034 gdb-events.o: gdb-events.c $(defs_h) $(gdb_events_h) $(gdbcmd_h)
2035 gdbtypes.o: gdbtypes.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
2036         $(symfile_h) $(objfiles_h) $(gdbtypes_h) $(expression_h) \
2037         $(language_h) $(target_h) $(value_h) $(demangle_h) $(complaints_h) \
2038         $(gdbcmd_h) $(wrapper_h) $(cp_abi_h) $(gdb_assert_h) $(hashtab_h)
2039 glibc-tdep.o: glibc-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \
2040         $(objfiles_h) $(glibc_tdep_h)
2041 gnu-nat.o: gnu-nat.c $(gdb_string_h) $(defs_h) $(inferior_h) $(symtab_h) \
2042         $(value_h) $(language_h) $(target_h) $(gdb_wait_h) $(gdbcmd_h) \
2043         $(gdbcore_h) $(gdbthread_h) $(gdb_assert_h) $(gdb_obstack_h) \
2044         $(gnu_nat_h) $(exc_request_S_h) $(notify_S_h) $(process_reply_S_h) \
2045         $(msg_reply_S_h) $(exc_request_U_h) $(msg_U_h)
2046 gnu-v2-abi.o: gnu-v2-abi.c $(defs_h) $(gdb_string_h) $(symtab_h) \
2047         $(gdbtypes_h) $(value_h) $(demangle_h) $(cp_abi_h) $(cp_support_h) \
2048         $(gnu_v2_abi_h)
2049 gnu-v3-abi.o: gnu-v3-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(cp_support_h) \
2050         $(demangle_h) $(valprint_h) $(gdb_assert_h) $(gdb_string_h)
2051 go32-nat.o: go32-nat.c $(defs_h) $(inferior_h) $(gdb_wait_h) $(gdbcore_h) \
2052         $(command_h) $(gdbcmd_h) $(floatformat_h) $(buildsym_h) \
2053         $(i387_tdep_h) $(i386_tdep_h) $(value_h) $(regcache_h) \
2054         $(gdb_string_h) $(top_h)
2055 h8300-tdep.o: h8300-tdep.c $(defs_h) $(value_h) $(arch_utils_h) $(regcache_h) \
2056         $(gdbcore_h) $(objfiles_h) $(gdb_assert_h) $(dis_asm_h) \
2057          $(dwarf2_frame_h) $(frame_base_h) $(frame_unwind_h)
2058 hpacc-abi.o: hpacc-abi.c $(defs_h) $(value_h) $(gdb_regex_h) $(gdb_string_h) \
2059         $(gdbtypes_h) $(gdbcore_h) $(cp_abi_h) $(gnu_v2_abi_h)
2060 hppabsd-nat.o: hppabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2061         $(target_h) $(hppa_tdep_h) $(inf_ptrace_h)
2062 hppabsd-tdep.o: hppabsd-tdep.c $(defs_h) $(arch_utils_h) $(symtab_h) \
2063         $(objfiles_h) $(osabi_h) $(regcache_h) $(regset_h) $(target_h) \
2064         $(value_h) $(gdb_assert_h) $(gdb_string_h) $(elf_common_h) \
2065         $(hppa_tdep_h) $(solib_svr4_h)
2066 hppa-hpux-nat.o: hppa-hpux-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2067         $(target_h) $(gdb_assert_h) $(hppa_tdep_h) $(inf_ptrace_h) \
2068         $(inf_ttrace_h)
2069 hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
2070         $(osabi_h) $(frame_h) $(frame_unwind_h) $(trad_frame_h) $(symtab_h) \
2071         $(objfiles_h) $(inferior_h) $(infcall_h) $(observer_h) \
2072         $(hppa_tdep_h) $(solib_som_h) $(solib_pa64_h) $(regset_h) \
2073         $(exceptions_h) $(gdb_string_h)
2074 hppa-linux-nat.o: hppa-linux-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
2075         $(gdb_string_h) $(inferior_h) $(hppa_tdep_h) $(gregset_h) \
2076         $(target_h) $(linux_nat_h)
2077 hppa-linux-tdep.o: hppa-linux-tdep.c $(defs_h) $(gdbcore_h) $(osabi_h) \
2078         $(target_h) $(objfiles_h) $(solib_svr4_h) $(glibc_tdep_h) \
2079         $(frame_unwind_h) $(trad_frame_h) $(dwarf2_frame_h) $(value_h) \
2080         $(hppa_tdep_h) $(elf_common_h) $(regset_h)
2081 hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd_h) $(inferior_h) $(regcache_h) \
2082         $(completer_h) $(osabi_h) $(gdb_assert_h) $(arch_utils_h) \
2083         $(symtab_h) $(dis_asm_h) $(trad_frame_h) $(frame_unwind_h) \
2084         $(frame_base_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
2085         $(hppa_tdep_h)
2086 hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
2087         $(syms_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
2088         $(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
2089         $(solib_som_h) $(gdb_assert_h) $(hppa_tdep_h) $(gdb_string_h)
2090 hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
2091         $(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h) \
2092         $(hppa_tdep_h)
2093 i386bsd-nat.o: i386bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2094         $(gdb_assert_h) $(i386_tdep_h) $(i387_tdep_h) $(i386bsd_nat_h) \
2095         $(inf_ptrace_h)
2096 i386bsd-tdep.o: i386bsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
2097         $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) $(i386_tdep_h)
2098 i386-cygwin-tdep.o: i386-cygwin-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \
2099         $(i386_tdep_h)
2100 i386fbsd-nat.o: i386fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2101         $(target_h) $(fbsd_nat_h) $(i386_tdep_h) $(i386bsd_nat_h) \
2102         $(bsd_kvm_h)
2103 i386fbsd-tdep.o: i386fbsd-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
2104         $(osabi_h) $(regcache_h) $(gdb_assert_h) $(i386_tdep_h) \
2105         $(i387_tdep_h) $(bsd_uthread_h) $(solib_svr4_h)
2106 i386gnu-nat.o: i386gnu-nat.c $(defs_h) $(inferior_h) $(floatformat_h) \
2107         $(regcache_h) $(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) \
2108         $(gnu_nat_h) $(i387_tdep_h) $(gregset_h)
2109 i386gnu-tdep.o: i386gnu-tdep.c $(defs_h) $(osabi_h) $(i386_tdep_h)
2110 i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
2111         $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
2112         $(gregset_h) $(i387_tdep_h) $(i386_tdep_h) $(i386_linux_tdep_h) \
2113         $(gdb_proc_service_h) $(target_h)
2114 i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
2115         $(value_h) $(regcache_h) $(inferior_h) $(osabi_h) $(reggroups_h) \
2116         $(dwarf2_frame_h) $(gdb_string_h) $(i386_tdep_h) \
2117         $(i386_linux_tdep_h) $(glibc_tdep_h) $(solib_svr4_h) $(symtab_h)
2118 i386-nat.o: i386-nat.c $(defs_h) $(breakpoint_h) $(command_h) $(gdbcmd_h)
2119 i386nbsd-nat.o: i386nbsd-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
2120         $(target_h) $(i386_tdep_h) $(i386bsd_nat_h) $(bsd_kvm_h)
2121 i386nbsd-tdep.o: i386nbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
2122         $(gdbcore_h) $(regcache_h) $(regset_h) $(osabi_h) $(symtab_h) \
2123         $(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h) \
2124         $(nbsd_tdep_h) $(solib_svr4_h)
2125 i386-nto-tdep.o: i386-nto-tdep.c $(defs_h) $(frame_h) $(osabi_h) \
2126         $(regcache_h) $(target_h) $(gdb_assert_h) $(gdb_string_h) \
2127         $(i386_tdep_h) $(i387_tdep_h) $(nto_tdep_h) $(solib_svr4_h)
2128 i386obsd-nat.o: i386obsd-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
2129         $(target_h) $(i386_tdep_h) $(i386bsd_nat_h) $(bsd_kvm_h)
2130 i386obsd-tdep.o: i386obsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
2131         $(frame_unwind_h) $(gdbcore_h) $(regcache_h) $(regset_h) $(symtab_h) \
2132         $(objfiles_h) $(osabi_h) $(target_h) $(trad_frame_h) $(gdb_assert_h) \
2133         $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h) $(solib_svr4_h) \
2134         $(bsd_uthread_h)
2135 i386-sol2-nat.o: i386-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
2136         $(amd64_nat_h) $(amd64_tdep_h)
2137 i386-sol2-tdep.o: i386-sol2-tdep.c $(defs_h) $(value_h) $(osabi_h) \
2138         $(gdb_string_h) $(sol2_tdep_h) $(i386_tdep_h) $(solib_svr4_h)
2139 i386-stub.o: i386-stub.c
2140 i386-tdep.o: i386-tdep.c $(defs_h) $(arch_utils_h) $(command_h) \
2141         $(dummy_frame_h) $(dwarf2_frame_h) $(doublest_h) $(floatformat_h) \
2142         $(frame_h) $(frame_base_h) $(frame_unwind_h) $(inferior_h) \
2143         $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
2144         $(reggroups_h) $(regset_h) $(symfile_h) $(symtab_h) $(target_h) \
2145         $(value_h) $(dis_asm_h) $(gdb_assert_h) $(gdb_string_h) \
2146         $(i386_tdep_h) $(i387_tdep_h)
2147 i386v4-nat.o: i386v4-nat.c $(defs_h) $(value_h) $(inferior_h) $(regcache_h) \
2148         $(i386_tdep_h) $(i387_tdep_h) $(gregset_h)
2149 i386v-nat.o: i386v-nat.c $(defs_h) $(frame_h) $(inferior_h) $(language_h) \
2150         $(gdbcore_h) $(gdb_stat_h) $(floatformat_h) $(target_h) \
2151         $(i386_tdep_h)
2152 i387-tdep.o: i387-tdep.c $(defs_h) $(doublest_h) $(floatformat_h) $(frame_h) \
2153         $(gdbcore_h) $(inferior_h) $(language_h) $(regcache_h) $(value_h) \
2154         $(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h)
2155 ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
2156         $(target_h) $(gdbcore_h) $(regcache_h) $(ia64_tdep_h) $(gdb_wait_h) \
2157         $(gregset_h) $(linux_nat_h)
2158 ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(ia64_tdep_h) \
2159         $(arch_utils_h) $(gdbcore_h) $(regcache_h) $(osabi_h) $(solib_svr4_h) \
2160         $(symtab_h)
2161 ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) \
2162         $(arch_utils_h) $(floatformat_h) $(regcache_h) $(reggroups_h) \
2163         $(frame_h) $(frame_base_h) $(frame_unwind_h) $(doublest_h) \
2164         $(value_h) $(gdb_assert_h) $(objfiles_h) $(elf_common_h) \
2165         $(elf_bfd_h) $(dis_asm_h) $(infcall_h) $(osabi_h) $(ia64_tdep_h) \
2166         $(elf_ia64_h) $(libunwind_frame_h) $(libunwind_ia64_h) \
2167         $(cp_abi_h)
2168 infcall.o: infcall.c $(defs_h) $(breakpoint_h) $(target_h) $(regcache_h) \
2169         $(inferior_h) $(gdb_assert_h) $(block_h) $(gdbcore_h) $(language_h) \
2170         $(objfiles_h) $(gdbcmd_h) $(command_h) $(gdb_string_h) $(infcall_h) \
2171         $(dummy_frame_h)
2172 inf-child.o: inf-child.c $(defs_h) $(regcache_h) $(memattr_h) $(symtab_h) \
2173         $(target_h) $(inferior_h) $(gdb_string_h)
2174 infcmd.o: infcmd.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2175         $(frame_h) $(inferior_h) $(environ_h) $(value_h) $(gdbcmd_h) \
2176         $(symfile_h) $(gdbcore_h) $(target_h) $(language_h) $(symfile_h) \
2177         $(objfiles_h) $(completer_h) $(ui_out_h) $(event_top_h) \
2178         $(parser_defs_h) $(regcache_h) $(reggroups_h) $(block_h) \
2179         $(solib_h) $(gdb_assert_h) $(observer_h) $(target_descriptions_h)
2180 inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(target_h) $(event_loop_h) \
2181         $(event_top_h) $(inf_loop_h) $(remote_h) $(exceptions_h)
2182 inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \
2183         $(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \
2184         $(inflow_h) $(gdb_select_h)
2185 inf-ptrace.o: inf-ptrace.c $(defs_h) $(command_h) $(inferior_h) $(inflow_h) \
2186         $(gdbcore_h) $(regcache_h) $(gdb_assert_h) \
2187         $(gdb_string_h) $(gdb_ptrace_h) $(gdb_wait_h) $(inf_child_h)
2188 infptrace.o: infptrace.c $(defs_h) $(command_h) $(frame_h) $(gdbcore_h) \
2189         $(inferior_h) $(regcache_h) $(target_h) $(gdb_assert_h) \
2190         $(gdb_wait_h) $(gdb_string_h) $(gdb_dirent_h) $(gdb_ptrace_h)
2191 infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
2192         $(inferior_h) $(exceptions_h) $(breakpoint_h) $(gdb_wait_h) \
2193         $(gdbcore_h) $(gdbcmd_h) $(cli_script_h) $(target_h) $(gdbthread_h) \
2194         $(annotate_h) $(symfile_h) $(top_h) $(inf_loop_h) $(regcache_h) \
2195         $(value_h) $(observer_h) $(language_h) $(solib_h) $(gdb_assert_h) \
2196         $(mi_common_h) $(main_h)
2197 inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2198         $(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_h) \
2199         $(inflow_h)
2200 inf-ttrace.o: inf-ttrace.c $(defs_h) $(command_h) $(gdbcore_h) \
2201         $(gdbthread_h) $(inferior_h) $(target_h) \
2202         $(gdb_assert_h) $(gdb_string_h) $(inf_child_h) $(inf_ttrace_h)
2203 interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
2204         $(event_top_h) $(interps_h) $(completer_h) $(gdb_string_h) \
2205         $(gdb_events_h) $(gdb_assert_h) $(top_h) $(exceptions_h)
2206 iq2000-tdep.o: iq2000-tdep.c $(defs_h) $(frame_h) $(frame_base_h) \
2207         $(frame_unwind_h) $(dwarf2_frame_h) $(gdbtypes_h) $(value_h) \
2208         $(dis_asm_h) $(gdb_string_h) $(arch_utils_h) $(regcache_h) \
2209         $(osabi_h) $(gdbcore_h)
2210 irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
2211         $(regcache_h) $(gdb_string_h) $(gregset_h) $(mips_tdep_h)
2212 jv-exp.o: jv-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
2213         $(parser_defs_h) $(language_h) $(jv_lang_h) $(bfd_h) $(symfile_h) \
2214         $(objfiles_h) $(block_h)
2215 jv-lang.o: jv-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2216         $(parser_defs_h) $(language_h) $(gdbtypes_h) $(symtab_h) \
2217         $(symfile_h) $(objfiles_h) $(gdb_string_h) $(value_h) $(c_lang_h) \
2218         $(jv_lang_h) $(gdbcore_h) $(block_h) $(demangle_h) $(dictionary_h)
2219 jv-typeprint.o: jv-typeprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
2220         $(value_h) $(demangle_h) $(jv_lang_h) $(gdb_string_h) $(typeprint_h) \
2221         $(c_lang_h) $(cp_abi_h)
2222 jv-valprint.o: jv-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
2223         $(gdbcore_h) $(expression_h) $(value_h) $(demangle_h) $(valprint_h) \
2224         $(language_h) $(jv_lang_h) $(c_lang_h) $(annotate_h) $(gdb_string_h)
2225 language.o: language.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2226         $(value_h) $(gdbcmd_h) $(expression_h) $(language_h) $(target_h) \
2227         $(parser_defs_h) $(jv_lang_h) $(demangle_h)
2228 libunwind-frame.o: libunwind-frame.c $(defs_h) $(inferior_h) $(frame_h) \
2229         $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) $(gdbtypes_h) \
2230         $(symtab_h) $(objfiles_h) $(regcache_h) $(gdb_assert_h) \
2231         $(gdb_string_h) $(libunwind_frame_h) $(complaints_h)
2232 linespec.o: linespec.c $(defs_h) $(symtab_h) $(frame_h) $(command_h) \
2233         $(symfile_h) $(objfiles_h) $(source_h) $(demangle_h) $(value_h) \
2234         $(completer_h) $(cp_abi_h) $(parser_defs_h) $(block_h) \
2235         $(objc_lang_h) $(linespec_h) $(exceptions_h)
2236 linux-fork.o: linux-fork.c $(defs_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) \
2237         $(infcall_h) $(gdb_assert_h) $(gdb_string_h) $(linux_fork_h) \
2238         $(linux_nat_h)
2239 linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \
2240         $(gdb_wait_h) $(gdb_assert_h) $(linux_nat_h) $(gdbthread_h) \
2241         $(gdbcmd_h) $(regcache_h) $(regset_h) $(inf_ptrace_h) $(auxv_h) \
2242         $(elf_bfd_h) $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(gdb_stat_h) \
2243         $(linux_fork_h)
2244 linux-thread-db.o: linux-thread-db.c $(defs_h) $(gdb_assert_h) \
2245         $(gdb_proc_service_h) $(gdb_thread_db_h) $(bfd_h) $(exceptions_h) \
2246         $(gdbthread_h) $(inferior_h) $(symfile_h) $(objfiles_h) $(target_h) \
2247         $(regcache_h) $(solib_svr4_h) $(gdbcore_h) $(linux_nat_h)
2248 lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2249         $(gdbcore_h) $(regcache_h)
2250 m2-exp.o: m2-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(language_h) \
2251         $(value_h) $(parser_defs_h) $(m2_lang_h) $(bfd_h) $(symfile_h) \
2252         $(objfiles_h) $(block_h)
2253 m2-lang.o: m2-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2254         $(parser_defs_h) $(language_h) $(m2_lang_h) $(c_lang_h) \
2255         $(valprint_h)
2256 m2-typeprint.o: m2-typeprint.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
2257         $(expression_h) $(value_h) $(gdbcore_h) $(target_h) $(m2_lang_h)
2258 m2-valprint.o: m2-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
2259         $(m2_lang_h) $(c_lang_h)
2260 m32c-tdep.o: m32c-tdep.c $(defs_h) $(gdb_assert_h) $(elf_bfd_h)         \
2261         $(elf_m32c_h) $(gdb_sim_m32c_h) $(dis_asm_h) $(gdbtypes_h)      \
2262         $(regcache_h) $(arch_utils_h) $(frame_h) $(frame_unwind_h)      \
2263         $(dwarf2_frame_h) $(dwarf2expr_h) $(symtab_h) $(gdbcore_h)      \
2264         $(value_h) $(reggroups_h) $(prologue_value_h) $(target_h)
2265 m32r-linux-nat.o: m32r-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
2266         $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
2267         $(gregset_h) $(m32r_tdep_h) $(target_h)
2268 m32r-linux-tdep.o: m32r-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
2269         $(value_h) $(regcache_h) $(inferior_h) $(osabi_h) $(reggroups_h) \
2270         $(regset_h) $(gdb_string_h) $(glibc_tdep_h) $(solib_svr4_h) \
2271         $(symtab_h) $(trad_frame_h) $(frame_unwind_h) $(m32r_tdep_h)
2272 m32r-rom.o: m32r-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(exceptions_h) \
2273         $(monitor_h) $(serial_h) $(symtab_h) $(command_h) $(gdbcmd_h) \
2274         $(symfile_h) $(gdb_string_h) $(objfiles_h) $(inferior_h) \
2275         $(regcache_h)
2276 m32r-stub.o: m32r-stub.c $(syscall_h)
2277 m32r-tdep.o: m32r-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2278         $(frame_base_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
2279         $(gdb_string_h) $(value_h) $(inferior_h) $(symfile_h) $(objfiles_h) \
2280         $(osabi_h) $(language_h) $(arch_utils_h) $(regcache_h) \
2281         $(trad_frame_h) $(dis_asm_h) $(gdb_assert_h) $(m32r_tdep_h)
2282 m68hc11-tdep.o: m68hc11-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2283         $(frame_base_h) $(dwarf2_frame_h) $(trad_frame_h) $(symtab_h) \
2284         $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(gdb_string_h) $(value_h) \
2285         $(inferior_h) $(dis_asm_h) $(symfile_h) $(objfiles_h) \
2286         $(arch_utils_h) $(regcache_h) $(reggroups_h) $(target_h) \
2287         $(opcode_m68hc11_h) $(elf_m68hc11_h) $(elf_bfd_h)
2288 m68kbsd-nat.o: m68kbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
2289         $(regcache_h) $(gdb_assert_h) $(m68k_tdep_h) $(inf_ptrace_h) \
2290         $(bsd_kvm_h)
2291 m68kbsd-tdep.o: m68kbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
2292         $(osabi_h) $(regcache_h) $(regset_h) $(trad_frame_h) \
2293         $(tramp_frame_h) $(gdb_assert_h) $(gdb_string_h) $(m68k_tdep_h) \
2294         $(solib_svr4_h)
2295 m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
2296         $(language_h) $(gdbcore_h) $(gdb_string_h) $(regcache_h) \
2297         $(m68k_tdep_h) $(gdb_stat_h) $(floatformat_h) $(target_h) \
2298         $(gregset_h) $(target_h) $(linux_nat_h)
2299 m68klinux-tdep.o: m68klinux-tdep.c $(defs_h) $(gdbcore_h) $(doublest_h) \
2300         $(floatformat_h) $(frame_h) $(target_h) $(gdb_string_h) \
2301         $(gdbtypes_h) $(osabi_h) $(regcache_h) $(objfiles_h) $(symtab_h) \
2302         $(m68k_tdep_h) $(trad_frame_h) $(frame_unwind_h) $(glibc_tdep_h) \
2303         $(solib_svr4_h)
2304 m68k-stub.o: m68k-stub.c
2305 m68k-tdep.o: m68k-tdep.c $(defs_h) $(dwarf2_frame_h) $(frame_h) \
2306         $(frame_base_h) $(frame_unwind_h) $(floatformat_h) $(symtab_h) \
2307         $(gdbcore_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \
2308         $(inferior_h) $(regcache_h) $(arch_utils_h) $(osabi_h) $(dis_asm_h) \
2309         $(m68k_tdep_h) $(gregset_h)
2310 m88kbsd-nat.o: m88kbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2311         $(target_h) $(m88k_tdep_h) $(inf_ptrace_h)
2312 m88k-tdep.o: m88k-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) $(frame_h) \
2313         $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) $(gdbtypes_h) \
2314         $(regcache_h) $(regset_h) $(symtab_h) $(trad_frame_h) $(value_h) \
2315         $(gdb_assert_h) $(gdb_string_h) $(m88k_tdep_h)
2316 macrocmd.o: macrocmd.c $(defs_h) $(macrotab_h) $(macroexp_h) $(macroscope_h) \
2317         $(command_h) $(gdbcmd_h)
2318 macroexp.o: macroexp.c $(defs_h) $(gdb_obstack_h) $(bcache_h) $(macrotab_h) \
2319         $(macroexp_h) $(gdb_assert_h)
2320 macroscope.o: macroscope.c $(defs_h) $(macroscope_h) $(symtab_h) $(source_h) \
2321         $(target_h) $(frame_h) $(inferior_h) $(complaints_h)
2322 macrotab.o: macrotab.c $(defs_h) $(gdb_obstack_h) $(splay_tree_h) \
2323         $(symtab_h) $(symfile_h) $(objfiles_h) $(macrotab_h) $(gdb_assert_h) \
2324         $(bcache_h) $(complaints_h)
2325 main.o: main.c $(defs_h) $(top_h) $(target_h) $(inferior_h) $(symfile_h) \
2326         $(gdbcore_h) $(exceptions_h) $(getopt_h) $(gdb_stat_h) \
2327         $(gdb_string_h) $(event_loop_h) $(ui_out_h) $(interps_h) $(main_h)
2328 maint.o: maint.c $(defs_h) $(command_h) $(gdbcmd_h) $(symtab_h) \
2329         $(gdbtypes_h) $(demangle_h) $(gdbcore_h) $(expression_h) \
2330         $(language_h) $(symfile_h) $(objfiles_h) $(value_h) $(cli_decode_h)
2331 mdebugread.o: mdebugread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
2332         $(objfiles_h) $(gdb_obstack_h) $(buildsym_h) $(stabsread_h) \
2333         $(complaints_h) $(demangle_h) $(gdb_assert_h) $(block_h) \
2334         $(dictionary_h) $(mdebugread_h) $(gdb_stat_h) $(gdb_string_h) \
2335         $(bfd_h) $(coff_ecoff_h) $(libaout_h) $(aout_aout64_h) \
2336         $(aout_stab_gnu_h) $(expression_h)
2337 memattr.o: memattr.c $(defs_h) $(command_h) $(gdbcmd_h) $(memattr_h) \
2338         $(target_h) $(value_h) $(language_h) $(vec_h) $(gdb_string_h)
2339 mem-break.o: mem-break.c $(defs_h) $(symtab_h) $(breakpoint_h) $(inferior_h) \
2340         $(target_h)
2341 mingw-hdep.o: mingw-hdep.c $(defs_h) $(serial_h) $(gdb_assert_h) \
2342         $(gdb_select_h) $(gdb_string_h)
2343 minsyms.o: minsyms.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
2344         $(symfile_h) $(objfiles_h) $(demangle_h) $(value_h) $(cp_abi_h)
2345 mips64obsd-nat.o: mips64obsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2346         $(target_h) $(mips_tdep_h) $(inf_ptrace_h)
2347 mips64obsd-tdep.o: mips64obsd-tdep.c $(defs_h) $(osabi_h) $(regcache_h) \
2348         $(regset_h) $(trad_frame_h) $(tramp_frame_h) $(gdb_assert_h) \
2349         $(gdb_string_h) $(mips_tdep_h) $(solib_svr4_h)
2350 mips-irix-tdep.o: mips-irix-tdep.c $(defs_h) $(osabi_h) $(elf_bfd_h)
2351 mips-linux-nat.o: mips-linux-nat.c $(defs_h) $(mips_tdep_h) $(target_h) \
2352         $(linux_nat_h) $(gdb_proc_service_h) $(mips_linux_tdep_h) \
2353         $(inferior_h)
2354 mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
2355         $(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \
2356         $(gdb_assert_h) $(frame_h) $(regcache_h) $(trad_frame_h) \
2357         $(tramp_frame_h) $(floatformat_h) $(solib_h) $(symtab_h) \
2358         $(mips_linux_tdep_h)
2359 mips-mdebug-tdep.o: mips-mdebug-tdep.c $(defs_h) $(frame_h) $(mips_tdep_h) \
2360         $(trad_frame_h) $(block_h) $(symtab_h) $(objfiles_h) $(elf_mips_h) \
2361         $(elf_bfd_h) $(gdb_assert_h) $(frame_unwind_h) $(frame_base_h) \
2362         $(mips_mdebug_tdep_h) $(mdebugread_h)
2363 mipsnbsd-nat.o: mipsnbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
2364         $(target_h) $(mips_tdep_h) $(mipsnbsd_tdep_h) $(inf_ptrace_h)
2365 mipsnbsd-tdep.o: mipsnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
2366         $(regset_h) $(target_h) $(value_h) $(osabi_h) $(gdb_assert_h) \
2367         $(gdb_string_h) $(nbsd_tdep_h) $(mipsnbsd_tdep_h) $(mips_tdep_h) \
2368         $(solib_svr4_h)
2369 mipsread.o: mipsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
2370         $(objfiles_h) $(buildsym_h) $(stabsread_h) $(coff_sym_h) \
2371         $(coff_internal_h) $(coff_ecoff_h) $(libcoff_h) $(libecoff_h) \
2372         $(elf_common_h) $(elf_mips_h)
2373 mips-tdep.o: mips-tdep.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
2374         $(frame_h) $(inferior_h) $(symtab_h) $(value_h) $(gdbcmd_h) \
2375         $(language_h) $(gdbcore_h) $(symfile_h) $(objfiles_h) $(gdbtypes_h) \
2376         $(target_h) $(arch_utils_h) $(regcache_h) $(osabi_h) $(mips_tdep_h) \
2377         $(block_h) $(reggroups_h) $(opcode_mips_h) $(elf_mips_h) \
2378         $(elf_bfd_h) $(symcat_h) $(sim_regno_h) $(dis_asm_h) \
2379         $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(infcall_h) \
2380         $(floatformat_h) $(remote_h) $(target_descriptions_h)
2381 memory-map.o: memory-map.c $(defs_h) $(memory_map_h) $(xml_support_h) \
2382         $(gdb_assert_h) $(exceptions_h) $(gdb_string_h) $(gdb_expat_h)
2383 mn10300-linux-tdep.o: mn10300-linux-tdep.c $(defs_h) $(gdbcore_h) \
2384         $(gdb_string_h) $(regcache_h) $(mn10300_tdep_h) $(gdb_assert_h) \
2385         $(bfd_h) $(elf_bfd_h) $(osabi_h) $(regset_h) $(solib_svr4_h) \
2386         $(frame_h) $(trad_frame_h) $(tramp_frame_h)
2387 mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
2388         $(gdbtypes_h) $(regcache_h) $(gdb_string_h) $(gdb_assert_h) \
2389         $(gdbcore_h) $(value_h) $(gdbtypes_h) \
2390         $(frame_h) $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) \
2391         $(symtab_h) $(dwarf2_frame_h) $(osabi_h) $(mn10300_tdep_h)
2392 monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(exceptions_h) \
2393         $(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) \
2394         $(inferior_h) $(gdb_regex_h) $(srec_h) $(regcache_h)
2395 ms1-tdep.o: ms1-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) $(frame_base_h) \
2396         $(symtab_h) $(dis_asm_h) $(arch_utils_h) $(gdbtypes_h) \
2397         $(gdb_string_h) $(regcache_h) $(reggroups_h) $(gdbcore_h) \
2398         $(trad_frame_h) $(inferior_h) $(dwarf2_frame_h) $(infcall_h) \
2399         $(gdb_assert_h)
2400 nbsd-nat.o: nbsd-nat.c $(defs_h) $(nbsd_nat_h)
2401 nbsd-tdep.o: nbsd-tdep.c $(defs_h) $(gdb_string_h) $(solib_svr4_h)
2402 nlmread.o: nlmread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
2403         $(objfiles_h) $(buildsym_h) $(stabsread_h) $(block_h)
2404 nto-procfs.o: nto-procfs.c $(defs_h) $(gdb_dirent_h) $(exceptions_h) \
2405         $(gdb_string_h) $(gdbcore_h) $(inferior_h) $(target_h) $(objfiles_h) \
2406         $(gdbthread_h) $(nto_tdep_h) $(command_h) $(regcache_h) $(solib_h)
2407 nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \
2408         $(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \
2409         $(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h) $(objfiles_h)
2410 objc-exp.o: objc-exp.c $(defs_h) $(gdb_string_h) $(expression_h) \
2411         $(objc_lang_h) $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
2412         $(bfd_h) $(symfile_h) $(objfiles_h) $(top_h) $(completer_h) \
2413         $(block_h)
2414 objc-lang.o: objc-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2415         $(parser_defs_h) $(language_h) $(c_lang_h) $(objc_lang_h) \
2416         $(exceptions_h) $(complaints_h) $(value_h) $(symfile_h) \
2417         $(objfiles_h) $(gdb_string_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) \
2418         $(frame_h) $(gdb_regex_h) $(regcache_h) $(block_h) $(infcall_h) \
2419         $(valprint_h) $(gdb_assert_h)
2420 objfiles.o: objfiles.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
2421         $(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(mdebugread_h) \
2422         $(gdb_assert_h) $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) \
2423         $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h) \
2424         $(parser_defs_h) $(expression_h)
2425 observer.o: observer.c $(defs_h) $(observer_h) $(command_h) $(gdbcmd_h) \
2426         $(observer_inc)
2427 obsd-tdep.o: obsd-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(obsd_tdep_h)
2428 ocd.o: ocd.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) $(inferior_h) \
2429         $(bfd_h) $(symfile_h) $(target_h) $(exceptions_h) $(gdbcmd_h) \
2430         $(objfiles_h) $(gdb_stabs_h) $(serial_h) $(ocd_h) $(regcache_h)
2431 osabi.o: osabi.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(osabi_h) \
2432         $(arch_utils_h) $(gdbcmd_h) $(command_h) $(elf_bfd_h)
2433 parse.o: parse.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2434         $(frame_h) $(expression_h) $(value_h) $(command_h) $(language_h) \
2435         $(f_lang_h) $(parser_defs_h) $(gdbcmd_h) $(symfile_h) $(inferior_h) \
2436         $(doublest_h) $(gdb_assert_h) $(block_h) $(source_h) $(objfiles_h)
2437 p-exp.o: p-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
2438         $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) $(symfile_h) \
2439         $(objfiles_h) $(block_h)
2440 p-lang.o: p-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2441         $(expression_h) $(parser_defs_h) $(language_h) $(p_lang_h) \
2442         $(valprint_h) $(value_h)
2443 posix-hdep.o: posix-hdep.c $(defs_h) $(gdb_string_h) $(gdb_select_h)
2444 ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \
2445         $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
2446         $(objfiles_h) $(gdb_stabs_h) $(serial_h) $(ocd_h) $(ppc_tdep_h) \
2447         $(regcache_h) $(gdb_assert_h)
2448 ppcbug-rom.o: ppcbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2449         $(serial_h) $(regcache_h)
2450 ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdb_string_h) $(frame_h) \
2451         $(inferior_h) $(gdbcore_h) $(regcache_h) $(gdb_assert_h) \
2452         $(gdb_wait_h) $(gregset_h) $(ppc_tdep_h) $(target_h) \
2453         $(linux_nat_h)
2454 ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
2455         $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
2456         $(objfiles_h) $(regcache_h) $(value_h) $(osabi_h) $(regset_h) \
2457         $(solib_svr4_h) $(ppc_tdep_h) $(trad_frame_h) $(frame_unwind_h) \
2458         $(tramp_frame_h)
2459 ppcnbsd-nat.o: ppcnbsd-nat.c $(defs_h) $(inferior_h) $(gdb_assert_h) \
2460         $(gdbcore_h) $(regcache_h) $(bsd_kvm_h) $(ppc_tdep_h) \
2461         $(ppcnbsd_tdep_h) $(inf_ptrace_h)
2462 ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(gdb_types_h) \
2463         $(osabi_h) $(regcache_h) $(regset_h) $(trad_frame_h) \
2464         $(tramp_frame_h) $(gdb_assert_h) $(gdb_string_h) \
2465         $(ppc_tdep_h) $(ppcnbsd_tdep_h) $(solib_svr4_h)
2466 ppcobsd-nat.o: ppcobsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
2467         $(regcache_h) $(gdb_assert_h) $(ppc_tdep_h) $(ppcobsd_tdep_h) \
2468         $(bsd_kvm_h) $(inf_ptrace_h)
2469 ppcobsd-tdep.o: ppcobsd-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \
2470         $(frame_h) $(frame_unwind_h) $(osabi_h) $(regcache_h) $(regset_h) \
2471         $(symtab_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
2472         $(ppc_tdep_h) $(ppcobsd_tdep_h) $(solib_svr4_h)
2473 ppc-sysv-tdep.o: ppc-sysv-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
2474         $(regcache_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \
2475         $(ppc_tdep_h) $(target_h) $(objfiles_h) $(infcall_h)
2476 printcmd.o: printcmd.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
2477         $(gdbtypes_h) $(value_h) $(language_h) $(expression_h) $(gdbcore_h) \
2478         $(gdbcmd_h) $(target_h) $(breakpoint_h) $(demangle_h) $(valprint_h) \
2479         $(annotate_h) $(symfile_h) $(objfiles_h) $(completer_h) $(ui_out_h) \
2480         $(gdb_assert_h) $(block_h) $(disasm_h) $(tui_h)
2481 proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) $(completer_h) $(gdb_wait_h) \
2482         $(proc_utils_h)
2483 proc-events.o: proc-events.c $(defs_h)
2484 proc-flags.o: proc-flags.c $(defs_h)
2485 procfs.o: procfs.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
2486         $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) \
2487         $(gdb_string_h) $(gdb_assert_h) $(inflow_h) $(auxv_h) \
2488         $(gdb_dirent_h) $(gdb_stat_h) $(proc_utils_h) $(gregset_h)
2489 proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \
2490         $(symtab_h) $(target_h) $(gregset_h)
2491 proc-why.o: proc-why.c $(defs_h) $(proc_utils_h)
2492 prologue-value.o: prologue-value.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
2493         $(prologue_value_h) $(regcache_h)
2494 p-typeprint.o: p-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
2495         $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
2496         $(language_h) $(p_lang_h) $(typeprint_h) $(gdb_string_h)
2497 p-valprint.o: p-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
2498         $(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
2499         $(gdbcore_h) $(demangle_h) $(valprint_h) $(typeprint_h) \
2500         $(language_h) $(target_h) $(annotate_h) $(p_lang_h) $(cp_abi_h) \
2501         $(cp_support_h)
2502 regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(gdbarch_h) \
2503         $(gdbcmd_h) $(regcache_h) $(reggroups_h) $(gdb_assert_h) \
2504         $(gdb_string_h) $(gdbcmd_h) $(observer_h)
2505 reggroups.o: reggroups.c $(defs_h) $(reggroups_h) $(gdbtypes_h) \
2506         $(gdb_assert_h) $(regcache_h) $(command_h) $(gdbcmd_h)
2507 regset.o: regset.c $(defs_h) $(regset_h) $(gdb_assert_h)
2508 remote.o: remote.c $(defs_h) $(gdb_string_h) $(inferior_h) $(bfd_h) \
2509         $(symfile_h) $(exceptions_h) $(target_h) $(gdbcmd_h) $(objfiles_h) \
2510         $(gdb_stabs_h) $(gdbthread_h) $(remote_h) $(regcache_h) $(value_h) \
2511         $(gdb_assert_h) $(event_loop_h) $(event_top_h) $(inf_loop_h) \
2512         $(serial_h) $(gdbcore_h) $(remote_fileio_h) $(solib_h) $(observer_h) \
2513         $(cli_decode_h) $(cli_setshow_h) $(memory_map_h) $(target_descriptions_h)
2514 remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(gdbarch_h) \
2515         $(inferior_h) $(target_h) $(value_h) $(command_h) $(gdb_string_h) \
2516         $(exceptions_h) $(gdbcmd_h) $(serial_h) $(remote_utils_h) \
2517         $(symfile_h) $(regcache_h)
2518 remote-est.o: remote-est.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2519         $(serial_h) $(regcache_h) $(m68k_tdep_h)
2520 remote-fileio.o: remote-fileio.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
2521         $(remote_h) $(gdb_fileio_h) $(gdb_wait_h) $(gdb_stat_h) \
2522         $(exceptions_h) $(remote_fileio_h)
2523 remote-hms.o: remote-hms.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2524         $(serial_h) $(regcache_h)
2525 remote-m32r-sdi.o: remote-m32r-sdi.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
2526         $(inferior_h) $(target_h) $(regcache_h) $(gdb_string_h) $(serial_h)
2527 remote-mips.o: remote-mips.c $(defs_h) $(inferior_h) $(bfd_h) $(symfile_h) \
2528         $(gdbcmd_h) $(gdbcore_h) $(serial_h) $(target_h) $(exceptions_h) \
2529         $(remote_utils_h) $(gdb_string_h) $(gdb_stat_h) $(regcache_h) \
2530         $(mips_tdep_h)
2531 remote-sim.o: remote-sim.c $(defs_h) $(inferior_h) $(value_h) \
2532         $(gdb_string_h) $(terminal_h) $(target_h) $(gdbcore_h) \
2533         $(gdb_callback_h) $(gdb_remote_sim_h) $(remote_utils_h) $(command_h) \
2534         $(regcache_h) $(gdb_assert_h) $(sim_regno_h) $(arch_utils_h) \
2535         $(readline_h)
2536 remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \
2537         $(serial_h) $(regcache_h)
2538 remote-utils.o: remote-utils.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
2539         $(target_h) $(serial_h) $(gdbcore_h) $(inferior_h) $(remote_utils_h) \
2540         $(regcache_h)
2541 rom68k-rom.o: rom68k-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2542         $(serial_h) $(regcache_h) $(value_h) $(m68k_tdep_h)
2543 rs6000-nat.o: rs6000-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
2544         $(xcoffsolib_h) $(symfile_h) $(objfiles_h) $(libbfd_h) $(bfd_h) \
2545         $(exceptions_h) $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) \
2546         $(ppc_tdep_h) $(exec_h) $(gdb_stat_h)
2547 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \
2548         $(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) $(arch_utils_h) \
2549         $(regcache_h) $(regset_h) $(doublest_h) $(value_h) $(parser_defs_h) \
2550         $(osabi_h) $(infcall_h) $(sim_regno_h) $(gdb_sim_ppc_h) \
2551         $(reggroups_h) $(libbfd_h) $(coff_internal_h) $(libcoff_h) \
2552         $(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) $(solib_svr4_h) \
2553         $(ppc_tdep_h) $(gdb_assert_h) $(dis_asm_h) $(trad_frame_h) \
2554         $(frame_unwind_h) $(frame_base_h) $(rs6000_tdep_h)
2555 rs6000-aix-tdep.o: rs6000-aix-tdep.c $(defs_h) $(osabi_h) $(rs6000_tdep_h)
2556 s390-nat.o: s390-nat.c $(defs_h) $(regcache_h) $(inferior_h) \
2557         $(s390_tdep_h) $(target_h) $(linux_nat_h)
2558 s390-tdep.o: s390-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) $(inferior_h) \
2559         $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
2560         $(floatformat_h) $(regcache_h) $(trad_frame_h) $(frame_base_h) \
2561         $(frame_unwind_h) $(dwarf2_frame_h) $(reggroups_h) $(regset_h) \
2562         $(value_h) $(gdb_assert_h) $(dis_asm_h) $(solib_svr4_h) \
2563         $(prologue_value_h) $(s390_tdep_h)
2564 scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2565         $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
2566         $(scm_tags_h)
2567 scm-lang.o: scm-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2568         $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
2569         $(scm_tags_h) $(source_h) $(gdb_string_h) $(gdbcore_h) $(infcall_h)
2570 scm-valprint.o: scm-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
2571         $(expression_h) $(parser_defs_h) $(language_h) $(value_h) \
2572         $(scm_lang_h) $(valprint_h) $(gdbcore_h) $(c_lang_h)
2573 score-tdep.o: score-tdep.c $(defs_h) $(gdb_assert_h) $(inferior_h) \
2574         $(symtab_h) $(objfiles_h) $(gdbcore_h) $(target_h) \
2575         $(arch_utils_h) $(regcache_h) $(dis_asm_h) $(frame_unwind_h) \
2576         $(frame_base_h) $(trad_frame_h) $(dwarf2_frame_h) $(score_tdep_h)
2577 sentinel-frame.o: sentinel-frame.c $(defs_h) $(regcache_h) \
2578         $(sentinel_frame_h) $(inferior_h) $(frame_unwind_h)
2579 ser-e7kpc.o: ser-e7kpc.c $(defs_h) $(serial_h) $(gdb_string_h)
2580 ser-go32.o: ser-go32.c $(defs_h) $(gdbcmd_h) $(serial_h) $(gdb_string_h)
2581 serial.o: serial.c $(defs_h) $(serial_h) $(gdb_string_h) $(gdbcmd_h)
2582 ser-base.o: ser-base.c $(defs_h) $(serial_h) $(ser_base_h) $(event_loop_h) \
2583         $(gdb_select_h) $(gdb_string_h)
2584 ser-pipe.o: ser-pipe.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \
2585         $(gdb_vfork_h) $(gdb_string_h)
2586 ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_tcp_h) \
2587         $(gdb_string_h)
2588 ser-unix.o: ser-unix.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \
2589         $(terminal_h) $(gdb_select_h) $(gdb_string_h)
2590 ser-mingw.o: ser-mingw.c $(defs_h) $(serial_h) $(ser_base_h) \
2591         $(ser_tcp_h) $(gdb_assert_h) $(gdb_string_h)
2592 sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2593         $(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \
2594         $(sh_tdep_h)
2595 sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(frame_base_h) \
2596         $(frame_unwind_h) $(dwarf2_frame_h) $(symtab_h) $(gdbtypes_h) \
2597         $(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) \
2598         $(gdb_string_h) $(gdb_assert_h) $(arch_utils_h) $(regcache_h) \
2599         $(osabi_h) $(elf_bfd_h) $(elf_sh_h) $(gdb_sim_sh_h)
2600 shnbsd-nat.o: shnbsd-nat.c $(defs_h) $(inferior_h) $(sh_tdep_h) \
2601         $(shnbsd_tdep_h) $(inf_ptrace_h)
2602 shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \
2603         $(osabi_h) $(solib_svr4_h) $(nbsd_tdep_h) $(sh_tdep_h) \
2604         $(shnbsd_tdep_h)
2605 sh-stub.o: sh-stub.c
2606 sh-linux-tdep.o: sh-linux-tdep.c $(defs_h) $(osabi_h) $(solib_svr4_h) \
2607         $(symtab_h)
2608 sh-tdep.o: sh-tdep.c $(defs_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
2609         $(dwarf2_frame_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
2610         $(value_h) $(dis_asm_h) $(inferior_h) $(gdb_string_h) \
2611         $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) $(regcache_h) \
2612         $(doublest_h) $(osabi_h) $(sh_tdep_h) $(elf_bfd_h) $(solib_svr4_h) \
2613         $(elf_sh_h) $(gdb_sim_sh_h) $(reggroups_h)
2614 sol2-tdep.o: sol2-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(sol2_tdep_h)
2615 solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \
2616         $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(gdbcore_h) \
2617         $(command_h) $(target_h) $(frame_h) $(gdb_regex_h) $(inferior_h) \
2618         $(environ_h) $(language_h) $(gdbcmd_h) $(solist_h)
2619 solib.o: solib.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) $(symfile_h) \
2620         $(objfiles_h) $(exceptions_h) $(gdbcore_h) $(command_h) $(target_h) \
2621         $(frame_h) $(gdb_regex_h) $(inferior_h) $(environ_h) $(language_h) \
2622         $(gdbcmd_h) $(completer_h) $(filenames_h) $(exec_h) $(solist_h) \
2623         $(observer_h) $(readline_h)
2624 solib-frv.o: solib-frv.c $(defs_h) $(gdb_string_h) $(inferior_h) \
2625         $(gdbcore_h) $(solist_h) $(frv_tdep_h) $(objfiles_h) $(symtab_h) \
2626         $(language_h) $(command_h) $(gdbcmd_h) $(elf_frv_h)
2627 solib-irix.o: solib-irix.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
2628         $(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(solist_h)
2629 solib-legacy.o: solib-legacy.c $(defs_h) $(gdbcore_h) $(solib_svr4_h)
2630 solib-null.o: solib-null.c $(defs_h) $(solist_h)
2631 solib-osf.o: solib-osf.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
2632         $(symfile_h) $(objfiles_h) $(target_h) $(inferior_h) $(solist_h)
2633 solib-pa64.o: solib-pa64.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
2634         $(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(hppa_tdep_h) \
2635         $(solist_h) $(solib_pa64_h)
2636 solib-som.o: solib-som.c $(defs_h) $(som_h) $(symtab_h) $(bfd_h) \
2637         $(symfile_h) $(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) \
2638         $(hppa_tdep_h) $(solist_h)
2639 solib-sunos.o: solib-sunos.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
2640         $(symfile_h) $(objfiles_h) $(gdbcore_h) $(inferior_h) $(solist_h) \
2641         $(bcache_h) $(regcache_h)
2642 solib-svr4.o: solib-svr4.c $(defs_h) $(elf_external_h) $(elf_common_h) \
2643         $(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
2644         $(gdbcore_h) $(target_h) $(inferior_h) $(gdb_assert_h) \
2645         $(solist_h) $(solib_h) $(solib_svr4_h) $(bfd_target_h) $(elf_bfd_h) \
2646         $(exec_h)
2647 sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
2648         $(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \
2649         $(solib_h) $(symfile_h) $(gdb_string_h) $(gregset_h)
2650 somread.o: somread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
2651         $(objfiles_h) $(buildsym_h) $(stabsread_h) $(gdb_stabs_h) \
2652         $(complaints_h) $(gdb_string_h) $(demangle_h) $(som_h) $(libhppa_h) \
2653         $(solib_som_h)
2654 source.o: source.c $(defs_h) $(symtab_h) $(expression_h) $(language_h) \
2655         $(command_h) $(source_h) $(gdbcmd_h) $(frame_h) $(value_h) \
2656         $(gdb_string_h) $(gdb_stat_h) $(gdbcore_h) $(gdb_regex_h) \
2657         $(symfile_h) $(objfiles_h) $(annotate_h) $(gdbtypes_h) $(linespec_h) \
2658         $(filenames_h) $(completer_h) $(ui_out_h) $(readline_h) \
2659         $(gdb_assert_h)
2660 sparc64fbsd-nat.o: sparc64fbsd-nat.c $(defs_h) $(regcache_h) $(target_h) \
2661         $(fbsd_nat_h) $(sparc64_tdep_h) $(sparc_nat_h) $(bsd_kvm_h)
2662 sparc64fbsd-tdep.o: sparc64fbsd-tdep.c $(defs_h) $(frame_h) \
2663         $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2664         $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
2665         $(sparc64_tdep_h) $(solib_svr4_h)
2666 sparc64-linux-nat.o: sparc64-linux-nat.c $(defs_h) $(regcache_h) \
2667         $(gregset_h) $(sparc64_tdep_h) $(sparc_tdep_h) \
2668         $(sparc_nat_h) $(inferior_h) $(target_h) $(linux_nat_h)
2669 sparc64-linux-tdep.o: sparc64-linux-tdep.c $(defs_h) $(frame_h) \
2670         $(frame_unwind_h) $(dwarf2-frame_h) $(regset_h) $(regcache_h) \
2671         $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \
2672         $(trad_frame_h) $(tramp_frame_h) $(sparc64_tdep_h)
2673 sparc64-nat.o: sparc64-nat.c $(defs_h) $(gdbarch_h) $(sparc64_tdep_h) \
2674         $(sparc_nat_h)
2675 sparc64nbsd-nat.o: sparc64nbsd-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
2676         $(target_h) $(sparc64_tdep_h) $(sparc_nat_h) $(bsd_kvm_h)
2677 sparc64nbsd-tdep.o: sparc64nbsd-tdep.c $(defs_h) $(frame_h) \
2678         $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2679         $(symtab_h) $(objfiles_h) $(solib_svr4_h) $(trad_frame_h) \
2680         $(gdb_assert_h) $(gdb_string_h) $(sparc64_tdep_h) $(nbsd_tdep_h)
2681 sparc64obsd-tdep.o: sparc64obsd-tdep.c $(defs_h) $(frame_h) \
2682         $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2683         $(symtab_h) $(objfiles_h) $(trad_frame_h) $(gdb_assert_h) \
2684         $(obsd_tdep_h) $(sparc64_tdep_h) $(solib_svr4_h) $(bsd_uthread_h)
2685 sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \
2686         $(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
2687         $(trad_frame_h) $(gdb_assert_h) $(sol2_tdep_h) $(sparc64_tdep_h) \
2688         $(solib_svr4_h)
2689 sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(dwarf2_frame_h) \
2690         $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
2691         $(gdbcore_h) $(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) \
2692         $(osabi_h) $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) \
2693         $(gdb_string_h) $(sparc64_tdep_h)
2694 sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
2695         $(sparc_tdep_h) $(sparc_nat_h) $(inferior_h) $(target_h) \
2696         $(linux_nat_h)
2697 sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(dwarf2_frame_h) \
2698         $(floatformat_h) $(frame_h) $(frame_unwind_h) $(regset_h) \
2699         $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(solib_svr4_h) \
2700         $(symtab_h) $(trad_frame_h) $(tramp_frame_h) $(sparc_tdep_h)
2701 sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \
2702         $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) \
2703         $(sparc_nat_h) $(inf_ptrace_h)
2704 sparcnbsd-nat.o: sparcnbsd-nat.c $(defs_h) $(regcache_h) $(target_h) \
2705         $(sparc_tdep_h) $(sparc_nat_h) $(bsd_kvm_h)
2706 sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
2707         $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2708         $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(gdb_assert_h) \
2709         $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h)
2710 sparcobsd-tdep.o: sparcobsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
2711         $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \
2712         $(symtab_h) $(trad_frame_h) $(gdb_assert_h) $(obsd_tdep_h) \
2713         $(sparc_tdep_h) $(solib_svr4_h) $(bsd_uthread_h)
2714 sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
2715         $(sparc_tdep_h) $(sparc64_tdep_h)
2716 sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2717         $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
2718         $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
2719         $(sol2_tdep_h) $(sparc_tdep_h) $(solib_svr4_h)
2720 sparc-stub.o: sparc-stub.c
2721 sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
2722         $(dwarf2_frame_h) $(floatformat_h) $(frame_h) $(frame_base_h) \
2723         $(frame_unwind_h) $(gdbcore_h) $(gdbtypes_h) $(inferior_h) \
2724         $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) $(target_h) \
2725         $(value_h) $(gdb_assert_h) $(gdb_string_h) $(sparc_tdep_h)
2726 spu-linux-nat.o: spu-linux-nat.c $(defs_h) $(gdbcore_h) $(gdb_string_h) \
2727         $(target_h) $(inferior_h) $(inf_ptrace_h) $(regcache_h) $(symfile_h) \
2728         $(gdb_wait_h) $(spu_tdep_h)
2729 spu-tdep.o: spu-tdep.c $(defs_h) $(arch_utils_h) $(gdbtypes_h) $(gdbcmd_h) \
2730         $(gdbcore_h) $(gdb_string_h) $(gdb_assert_h) $(frame_h) \
2731         $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(symtab_h) \
2732         $(symfile_h) $(value_h) $(inferior_h) $(dis_asm_h) $(objfiles_h) \
2733         $(language_h) $(regcache_h) $(reggroups_h) $(floatformat_h) \
2734         $(spu_tdep_h)
2735 stabsread.o: stabsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(gdb_obstack_h) \
2736         $(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \
2737         $(aout_stab_gnu_h) $(libaout_h) $(aout_aout64_h) $(gdb_stabs_h) \
2738         $(buildsym_h) $(complaints_h) $(demangle_h) $(language_h) \
2739         $(doublest_h) $(cp_abi_h) $(cp_support_h) $(stabsread_h)
2740 stack.o: stack.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
2741         $(expression_h) $(language_h) $(frame_h) $(gdbcmd_h) $(gdbcore_h) \
2742         $(target_h) $(source_h) $(breakpoint_h) $(demangle_h) $(inferior_h) \
2743         $(annotate_h) $(ui_out_h) $(block_h) $(stack_h) $(dictionary_h) \
2744         $(exceptions_h) $(reggroups_h) $(regcache_h) $(solib_h) \
2745         $(valprint_h) $(gdb_assert_h) $(gdb_string_h)
2746 std-regs.o: std-regs.c $(defs_h) $(user_regs_h) $(frame_h) $(gdbtypes_h) \
2747         $(value_h) $(gdb_string_h)
2748 stop-gdb.o: stop-gdb.c $(defs_h)
2749 symfile.o: symfile.c $(defs_h) $(bfdlink_h) $(symtab_h) $(gdbtypes_h) \
2750         $(gdbcore_h) $(frame_h) $(target_h) $(value_h) $(symfile_h) \
2751         $(objfiles_h) $(source_h) $(gdbcmd_h) $(breakpoint_h) $(language_h) \
2752         $(complaints_h) $(demangle_h) $(inferior_h) $(filenames_h) \
2753         $(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
2754         $(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) \
2755         $(gdb_string_h) $(gdb_stat_h) $(observer_h) $(exec_h) \
2756         $(parser_defs_h)
2757 symfile-mem.o: symfile-mem.c $(defs_h) $(symtab_h) $(gdbcore_h) \
2758         $(objfiles_h) $(exceptions_h) $(gdbcmd_h) $(target_h) $(value_h) \
2759         $(symfile_h) $(observer_h) $(auxv_h) $(elf_common_h)
2760 symmisc.o: symmisc.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(bfd_h) \
2761         $(symfile_h) $(objfiles_h) $(breakpoint_h) $(command_h) \
2762         $(gdb_obstack_h) $(exceptions_h) $(language_h) $(bcache_h) \
2763         $(block_h) $(gdb_regex_h) $(gdb_stat_h) $(dictionary_h) \
2764         $(gdb_string_h) $(readline_h)
2765 symtab.o: symtab.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
2766         $(frame_h) $(target_h) $(value_h) $(symfile_h) $(objfiles_h) \
2767         $(gdbcmd_h) $(call_cmds_h) $(gdb_regex_h) $(expression_h) \
2768         $(language_h) $(demangle_h) $(inferior_h) $(linespec_h) $(source_h) \
2769         $(filenames_h) $(objc_lang_h) $(ada_lang_h) $(hashtab_h) \
2770         $(gdb_obstack_h) $(block_h) $(dictionary_h) $(gdb_string_h) \
2771         $(gdb_stat_h) $(cp_abi_h) $(observer_h) $(gdb_assert_h)
2772 target.o: target.c $(defs_h) $(gdb_string_h) $(target_h) $(gdbcmd_h) \
2773         $(symtab_h) $(inferior_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
2774         $(gdb_wait_h) $(dcache_h) $(regcache_h) $(gdb_assert_h) $(gdbcore_h) \
2775         $(exceptions_h) $(target_descriptions_h)
2776 target-descriptions.o: target-descriptions.c $(defs_h) $(arch_utils_h) \
2777         $(target_h) $(target_descriptions_h) $(vec_h) $(gdb_assert_h)
2778 target-memory.o: target-memory.c $(defs_h) $(vec_h) $(target_h) \
2779         $(memory_map_h) $(gdb_assert_h)
2780 thread.o: thread.c $(defs_h) $(symtab_h) $(frame_h) $(inferior_h) \
2781         $(environ_h) $(value_h) $(target_h) $(gdbthread_h) $(exceptions_h) \
2782         $(command_h) $(gdbcmd_h) $(regcache_h) $(gdb_h) $(gdb_string_h) \
2783         $(ui_out_h)
2784 top.o: top.c $(defs_h) $(gdbcmd_h) $(call_cmds_h) $(cli_cmds_h) \
2785         $(cli_script_h) $(cli_setshow_h) $(cli_decode_h) $(symtab_h) \
2786         $(inferior_h) $(exceptions_h) $(target_h) $(breakpoint_h) \
2787         $(gdbtypes_h) $(expression_h) $(value_h) $(language_h) $(terminal_h) \
2788         $(annotate_h) $(completer_h) $(top_h) $(version_h) $(serial_h) \
2789         $(doublest_h) $(gdb_assert_h) $(readline_h) $(readline_history_h) \
2790         $(event_top_h) $(gdb_string_h) $(gdb_stat_h) $(ui_out_h) \
2791         $(cli_out_h) $(main_h) $(event_loop_h)
2792 tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(gdbtypes_h) \
2793         $(expression_h) $(gdbcmd_h) $(value_h) $(target_h) $(language_h) \
2794         $(gdb_string_h) $(inferior_h) $(tracepoint_h) $(remote_h) \
2795         $(linespec_h) $(regcache_h) $(completer_h) $(gdb_events_h) \
2796         $(block_h) $(dictionary_h) $(ax_h) $(ax_gdb_h) $(readline_h) \
2797         $(readline_history_h)
2798 trad-frame.o: trad-frame.c $(defs_h) $(frame_h) $(trad_frame_h) \
2799         $(regcache_h)
2800 tramp-frame.o: tramp-frame.c $(defs_h) $(tramp_frame_h) $(frame_unwind_h) \
2801         $(gdbcore_h) $(symtab_h) $(objfiles_h) $(target_h) $(trad_frame_h) \
2802         $(frame_base_h) $(gdb_assert_h)
2803 typeprint.o: typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
2804         $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(command_h) \
2805         $(gdbcmd_h) $(target_h) $(language_h) $(cp_abi_h) $(typeprint_h) \
2806         $(gdb_string_h)
2807 ui-file.o: ui-file.c $(defs_h) $(ui_file_h) $(gdb_string_h)
2808 ui-out.o: ui-out.c $(defs_h) $(gdb_string_h) $(expression_h) $(language_h) \
2809         $(ui_out_h) $(gdb_assert_h)
2810 user-regs.o: user-regs.c $(defs_h) $(user_regs_h) $(gdbtypes_h) \
2811         $(gdb_string_h) $(gdb_assert_h) $(frame_h)
2812 utils.o: utils.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(event_top_h) \
2813         $(exceptions_h) $(tui_h) $(gdbcmd_h) $(serial_h) $(bfd_h) \
2814         $(target_h) $(demangle_h) $(expression_h) $(language_h) $(charset_h) \
2815         $(annotate_h) $(filenames_h) $(symfile_h) $(inferior_h) $(top_h) \
2816         $(gdb_curses_h) $(readline_h) $(gdb_obstack_h)
2817 uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
2818         $(regcache_h) $(gregset_h)
2819 v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(frame_base_h) $(trad_frame_h) \
2820         $(frame_unwind_h) $(dwarf2_frame_h) $(gdbtypes_h) $(inferior_h) \
2821         $(gdb_string_h) $(gdb_assert_h) $(gdbcore_h) $(arch_utils_h) \
2822         $(regcache_h) $(dis_asm_h) $(osabi_h)
2823 valarith.o: valarith.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
2824         $(expression_h) $(target_h) $(language_h) $(gdb_string_h) \
2825         $(doublest_h) $(infcall_h)
2826 valops.o: valops.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(value_h) $(frame_h) \
2827         $(inferior_h) $(gdbcore_h) $(target_h) $(demangle_h) $(language_h) \
2828         $(gdbcmd_h) $(regcache_h) $(cp_abi_h) $(block_h) $(infcall_h) \
2829         $(dictionary_h) $(cp_support_h) $(gdb_string_h) $(gdb_assert_h) \
2830         $(cp_support_h) $(observer_h)
2831 valprint.o: valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2832         $(value_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) $(language_h) \
2833         $(annotate_h) $(valprint_h) $(floatformat_h) $(doublest_h) \
2834         $(exceptions_h)
2835 value.o: value.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2836         $(value_h) $(gdbcore_h) $(command_h) $(gdbcmd_h) $(target_h) \
2837         $(language_h) $(scm_lang_h) $(demangle_h) $(doublest_h) \
2838         $(gdb_assert_h) $(regcache_h) $(block_h)
2839 varobj.o: varobj.c $(defs_h) $(exceptions_h) $(value_h) $(expression_h) \
2840         $(frame_h) $(language_h) $(wrapper_h) $(gdbcmd_h) $(gdb_assert_h) \
2841         $(gdb_string_h) $(varobj_h)
2842 vaxbsd-nat.o: vaxbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \
2843         $(vax_tdep_h) $(inf_ptrace_h) $(bsd_kvm_h)
2844 vax-nat.o: vax-nat.c $(defs_h) $(inferior_h) $(gdb_assert_h) $(vax_tdep_h) \
2845         $(inf_ptrace_h)
2846 vaxnbsd-tdep.o: vaxnbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
2847         $(vax_tdep_h) $(solib_svr4_h) $(gdb_string_h)
2848 vaxobsd-tdep.o: vaxobsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
2849         $(frame_unwind_h) $(osabi_h) $(symtab_h) $(trad_frame_h) \
2850         $(vax_tdep_h) $(gdb_string_h)
2851 vax-tdep.o: vax-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
2852         $(float_format_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
2853         $(gdbcore_h) $(gdbtypes_h) $(osabi_h) $(regcache_h) $(regset_h) \
2854         $(trad_frame_h) $(value_h) $(gdb_string_h) $(vax_tdep_h)
2855 vec.o: vec.c $(defs_h) $(vec_h)
2856 win32-nat.o: win32-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2857         $(exceptions_h) $(gdbcore_h) $(command_h) $(completer_h) \
2858         $(regcache_h) $(top_h) $(buildsym_h) $(symfile_h) $(objfiles_h) \
2859         $(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(exec_h) $(solist_h) \
2860         $(solib_h) $(i386_tdep_h) $(i387_tdep_h)
2861 wince.o: wince.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2862         $(exceptions_h) $(gdbcore_h) $(command_h) $(buildsym_h) $(symfile_h) \
2863         $(objfiles_h) $(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) \
2864         $(wince_stub_h) $(regcache_h) $(mips_tdep_h)
2865 wince-stub.o: wince-stub.c $(wince_stub_h)
2866 wrapper.o: wrapper.c $(defs_h) $(value_h) $(exceptions_h) $(wrapper_h) \
2867         $(ui_out_h)
2868 xcoffread.o: xcoffread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(gdb_stat_h) \
2869         $(coff_internal_h) $(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) \
2870         $(coff_rs6000_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
2871         $(objfiles_h) $(buildsym_h) $(stabsread_h) $(expression_h) \
2872         $(complaints_h) $(gdb_stabs_h) $(aout_stab_gnu_h)
2873 xcoffsolib.o: xcoffsolib.c $(defs_h) $(bfd_h) $(xcoffsolib_h) $(inferior_h) \
2874         $(gdbcmd_h) $(symfile_h) $(frame_h) $(gdb_regex_h)
2875 xml-support.o: xml-support.c $(defs_h) $(xml_support_h) $(exceptions_h) \
2876         $(gdb_string_h) $(gdb_expat_h)
2877 xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(frame_h) $(frame_base_h) \
2878         $(frame_unwind_h) $(dwarf2_frame_h) $(symtab_h) $(gdbtypes_h) \
2879         $(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) \
2880         $(gdb_string_h) $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) \
2881         $(regcache_h) $(doublest_h) $(osabi_h) $(objfiles_h)
2882 xtensa-linux-tdep.o: xtensa-linux-tdep.c $(defs_h) $(inferior_h) \
2883         $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
2884         $(xtensa_tdep_h) $(xtensa_linux_tdep_h)
2885 xtensa-tdep.o: xtensa-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
2886         $(frame_unwind_h) $(frame_base_h) $(inferior_h) $(symtab_h) \
2887         $(value_h) $(gdbcmd_h) $(gdbcore_h) $(dis_asm_h) $(symfile_h) \
2888         $(objfiles_h) $(gdb_string_h) $(linespec_h) $(regcache_h) \
2889         $(reggroups_h) $(arch_utils_h) $(osabi_h) $(block_h) $(gdb_assert_h) \
2890         $(elf_bfd_h) $(xtensa_tdep_h) $(dwarf2_frame_h)
2891 xtensa-config.o: $(defs_h) $(xtensa_tdep_h)
2892
2893 #
2894 # gdb/cli/ dependencies
2895 #
2896 # Need to explicitly specify the compile rule as make will do nothing
2897 # or try to compile the object file into the sub-directory.
2898
2899 cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(defs_h) $(readline_h) \
2900         $(readline_tilde_h) $(completer_h) $(target_h) $(gdb_wait_h) \
2901         $(gdb_regex_h) $(gdb_string_h) $(gdb_vfork_h) $(linespec_h) \
2902         $(expression_h) $(frame_h) $(value_h) $(language_h) $(filenames_h) \
2903         $(objfiles_h) $(source_h) $(disasm_h) $(ui_out_h) $(top_h) \
2904         $(cli_decode_h) $(cli_script_h) $(cli_setshow_h) $(cli_cmds_h) \
2905         $(tui_h)
2906         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c
2907 cli-decode.o: $(srcdir)/cli/cli-decode.c $(defs_h) $(symtab_h) \
2908         $(gdb_regex_h) $(gdb_string_h) $(completer_h) $(ui_out_h) \
2909         $(cli_cmds_h) $(cli_decode_h) $(tui_h) $(gdb_assert_h)
2910         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c
2911 cli-dump.o: $(srcdir)/cli/cli-dump.c $(defs_h) $(gdb_string_h) \
2912         $(cli_decode_h) $(cli_cmds_h) $(value_h) $(completer_h) \
2913         $(cli_dump_h) $(gdb_assert_h) $(target_h) $(readline_h)
2914         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-dump.c
2915 cli-interp.o: $(srcdir)/cli/cli-interp.c $(defs_h) $(interps_h) $(wrapper_h) \
2916         $(event_top_h) $(ui_out_h) $(cli_out_h) $(top_h) $(gdb_string_h) \
2917         $(exceptions_h)
2918         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-interp.c
2919 cli-logging.o: $(srcdir)/cli/cli-logging.c $(defs_h) $(gdbcmd_h) $(ui_out_h) \
2920         $(gdb_string_h)
2921         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-logging.c
2922 cli-script.o: $(srcdir)/cli/cli-script.c $(defs_h) $(value_h) $(language_h) \
2923         $(ui_out_h) $(gdb_string_h) $(exceptions_h) $(top_h) $(cli_cmds_h) \
2924         $(cli_decode_h) $(cli_script_h) $(gdb_assert_h)
2925         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-script.c
2926 cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(defs_h) $(readline_tilde_h) \
2927         $(value_h) $(gdb_string_h) $(ui_out_h) $(cli_decode_h) $(cli_cmds_h) \
2928         $(cli_setshow_h)
2929         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-setshow.c
2930 cli-utils.o: $(srcdir)/cli/cli-utils.c $(defs_h) $(cli_utils_h)
2931         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-utils.c
2932
2933 #
2934 # GDBTK sub-directory
2935 #
2936 # Need to explicitly specify the compile rule as make will do nothing
2937 # or try to compile the object file into the mi directory.
2938
2939 all-gdbtk: insight$(EXEEXT)
2940
2941 install-gdbtk:
2942         transformed_name=`t='$(program_transform_name)'; \
2943                   echo insight | sed -e $$t` ; \
2944         if test "x$$transformed_name" = x; then \
2945           transformed_name=insight ; \
2946         else \
2947           true ; \
2948         fi ; \
2949         $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir); \
2950         $(INSTALL_PROGRAM) insight$(EXEEXT) \
2951                 $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
2952         $(SHELL) $(srcdir)/../mkinstalldirs \
2953                 $(DESTDIR)$(GDBTK_LIBRARY) ; \
2954         $(SHELL) $(srcdir)/../mkinstalldirs \
2955                 $(DESTDIR)$(libdir)/insight$(GDBTK_VERSION) ; \
2956         $(INSTALL_DATA) $(srcdir)/gdbtk/plugins/plugins.tcl \
2957                 $(DESTDIR)$(libdir)/insight$(GDBTK_VERSION)/plugins.tcl ; \
2958         $(SHELL) $(srcdir)/../mkinstalldirs \
2959                 $(DESTDIR)$(GDBTK_LIBRARY)/images \
2960                 $(DESTDIR)$(GDBTK_LIBRARY)/images2 ; \
2961         $(SHELL) $(srcdir)/../mkinstalldirs \
2962                 $(DESTDIR)$(GDBTK_LIBRARY)/help \
2963                 $(DESTDIR)$(GDBTK_LIBRARY)/help/images \
2964                 $(DESTDIR)$(GDBTK_LIBRARY)/help/trace ; \
2965         cd $(srcdir)/gdbtk/library ; \
2966         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 help/images/*.png; \
2967           do \
2968                 $(INSTALL_DATA) $$i $(DESTDIR)$(GDBTK_LIBRARY)/$$i ; \
2969           done ;
2970
2971 uninstall-gdbtk:
2972         transformed_name=`t='$(program_transform_name)'; \
2973                   echo insight | sed -e $$t` ; \
2974         if test "x$$transformed_name" = x; then \
2975                 transformed_name=insight ; \
2976         else \
2977                 true ; \
2978         fi ; \
2979         rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
2980         rm -rf $(DESTDIR)$(GDBTK_LIBRARY)
2981
2982 clean-gdbtk:
2983         rm -f insight$(EXEEXT)
2984
2985 # Removing the old gdb first works better if it is running, at least on SunOS.
2986 insight$(EXEEXT): gdbtk-main.o libgdb.a $(ADD_DEPS) \
2987                 $(CDEPS) $(TDEPLIBS)
2988         rm -f insight$(EXEEXT)
2989         $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
2990                 -o insight$(EXEEXT) gdbtk-main.o libgdb.a \
2991                 $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
2992
2993 gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
2994         $(WINDRES) --include $(srcdir)/gdbtk $(srcdir)/gdbtk/gdb.rc gdbres.o
2995
2996 gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
2997         $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
2998         $(symtab_h) $(inferior_h) $(command_h) \
2999         $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
3000         $(tracepoint_h) $(top_h)
3001         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
3002         $(ITK_CFLAGS)  \
3003         $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
3004                 $(srcdir)/gdbtk/generic/gdbtk.c \
3005                 -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
3006
3007 gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
3008                 $(srcdir)/gdbtk/generic/gdbtk.h \
3009                 $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
3010                 $(defs_h) $(breakpoint_h) $(tracepoint_h) \
3011                 $(symfile_h) $(symtab_h) $(gdb_string_h)
3012         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
3013          $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
3014         $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-bp.c \
3015         -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
3016
3017 gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
3018         $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
3019         $(defs_h) $(inferior_h) $(source_h) $(symfile_h) $(objfiles_h) \
3020         $(gdbcore_h) $(demangle_h) $(linespec_h) $(tui_file_h) $(top_h) \
3021         $(annotate_h) $(block_h) $(dictionary_h) $(gdb_string_h) \
3022         $(dis_asm_h) $(gdbcmd_h)
3023         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)        \
3024          $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)               \
3025         $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c            \
3026         -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
3027
3028 gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
3029         $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
3030         $(symtab_h) $(inferior_h) $(command_h) \
3031         $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
3032         $(tracepoint_h)
3033         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)  \
3034         $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
3035                 $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
3036
3037 gdbtk-interp.o: $(srcdir)/gdbtk/generic/gdbtk-interp.c \
3038         $(defs_h) $(interps_h) $(ui_out_h) $(ui_file_h) \
3039         $(cli_out_h) $(gdb_string_h) $(cli_cmds_h) $(cli_decode_h) \
3040         $(srcdir)/gdbtk/generic/gdbtk.h
3041         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
3042         $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS) \
3043                 $(srcdir)/gdbtk/generic/gdbtk-interp.c
3044
3045 gdbtk-main.o: $(srcdir)/gdbtk/generic/gdbtk-main.c $(defs_h) $(main_h) \
3046         $(gdb_string_h)
3047         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)  \
3048         $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
3049                 $(srcdir)/gdbtk/generic/gdbtk-main.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
3050
3051 gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
3052                 $(srcdir)/gdbtk/generic/gdbtk.h \
3053                 $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
3054                 $(defs_h) $(frame_h) $(value_h) $(gdb_string_h)
3055         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
3056          $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
3057         $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-register.c \
3058         -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
3059
3060 gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
3061         $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
3062         $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
3063         $(defs_h) $(target_h) $(breakpoint_h) $(linespec_h) \
3064         $(block_h) $(dictionary_h)
3065         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
3066          $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
3067         $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-stack.c \
3068         -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
3069
3070 gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \
3071                 $(srcdir)/gdbtk/generic/gdbtk.h \
3072                 $(defs_h) $(value_h) $(varobj_h) $(gdb_string_h)
3073         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)  \
3074         $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
3075                 $(srcdir)/gdbtk/generic/gdbtk-varobj.c
3076
3077 gdbtk-wrapper.o: $(srcdir)/gdbtk/generic/gdbtk-wrapper.c \
3078         $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
3079         $(defs_h) $(frame_h) $(value_h)
3080         $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(GDBTK_CFLAGS)\
3081                 $(srcdir)/gdbtk/generic/gdbtk-wrapper.c
3082
3083 #
3084 # gdb/mi/ dependencies
3085 #
3086 # Need to explicitly specify the compile rule as make will do nothing
3087 # or try to compile the object file into the sub-directory.
3088
3089 mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c $(defs_h) $(mi_cmds_h) \
3090         $(ui_out_h) $(mi_out_h) $(breakpoint_h) $(gdb_string_h) \
3091         $(mi_getopt_h) $(gdb_events_h) $(gdb_h)
3092         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-break.c
3093 mi-cmd-disas.o: $(srcdir)/mi/mi-cmd-disas.c $(defs_h) $(target_h) $(value_h) \
3094         $(mi_cmds_h) $(mi_getopt_h) $(gdb_string_h) $(ui_out_h) $(disasm_h)
3095         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-disas.c
3096 mi-cmd-env.o: $(srcdir)/mi/mi-cmd-env.c $(defs_h) $(inferior_h) $(value_h) \
3097         $(mi_out_h) $(mi_cmds_h) $(mi_getopt_h) $(symtab_h) $(target_h) \
3098         $(environ_h) $(command_h) $(ui_out_h) $(top_h) $(gdb_string_h) \
3099         $(gdb_stat_h)
3100         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-env.c
3101 mi-cmd-file.o: $(srcdir)/mi/mi-cmd-file.c $(defs_h) $(mi_cmds_h) \
3102         $(mi_getopt_h) $(ui_out_h) $(symtab_h) $(source_h) $(objfiles_h)
3103         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-file.c
3104 mi-cmds.o: $(srcdir)/mi/mi-cmds.c $(defs_h) $(top_h) $(mi_cmds_h) \
3105         $(gdb_string_h)
3106         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmds.c
3107 mi-cmd-stack.o: $(srcdir)/mi/mi-cmd-stack.c $(defs_h) $(target_h) $(frame_h) \
3108         $(value_h) $(mi_cmds_h) $(ui_out_h) $(symtab_h) $(block_h) \
3109         $(stack_h) $(dictionary_h) $(gdb_string_h)
3110         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-stack.c
3111 mi-cmd-var.o: $(srcdir)/mi/mi-cmd-var.c $(defs_h) $(mi_cmds_h) $(ui_out_h) \
3112         $(mi_out_h) $(varobj_h) $(value_h) $(gdb_string_h)
3113         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-var.c
3114 mi-console.o: $(srcdir)/mi/mi-console.c $(defs_h) $(mi_console_h) \
3115         $(gdb_string_h)
3116         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-console.c
3117 mi-getopt.o: $(srcdir)/mi/mi-getopt.c $(defs_h) $(mi_getopt_h) \
3118         $(gdb_string_h)
3119         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-getopt.c
3120 mi-interp.o: $(srcdir)/mi/mi-interp.c $(defs_h) $(gdb_string_h) $(interps_h) \
3121         $(event_top_h) $(event_loop_h) $(inferior_h) $(ui_out_h) $(top_h) \
3122         $(exceptions_h) $(mi_main_h) $(mi_cmds_h) $(mi_out_h) \
3123         $(mi_console_h)
3124         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-interp.c
3125 mi-main.o: $(srcdir)/mi/mi-main.c $(defs_h) $(target_h) $(inferior_h) \
3126         $(gdb_string_h) $(exceptions_h) $(top_h) $(gdbthread_h) $(mi_cmds_h) \
3127         $(mi_parse_h) $(mi_getopt_h) $(mi_console_h) $(ui_out_h) $(mi_out_h) \
3128         $(interps_h) $(event_loop_h) $(event_top_h) $(gdbcore_h) $(value_h) \
3129         $(regcache_h) $(gdb_h) $(frame_h) $(mi_main_h)
3130         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-main.c
3131 mi-out.o: $(srcdir)/mi/mi-out.c $(defs_h) $(ui_out_h) $(mi_out_h)
3132         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-out.c
3133 mi-parse.o: $(srcdir)/mi/mi-parse.c $(defs_h) $(mi_cmds_h) $(mi_parse_h) \
3134         $(gdb_string_h)
3135         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-parse.c
3136 mi-symbol-cmds.o: $(srcdir)/mi/mi-symbol-cmds.c $(defs_h) $(mi_cmds_h) \
3137         $(symtab_h) $(ui_out_h)
3138         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-symbol-cmds.c
3139 mi-common.o: $(srcdir)/mi/mi-common.c $(defs_h) $(mi_common_h)
3140         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-common.c
3141
3142 #
3143 # gdb/signals/ dependencies
3144 #
3145 # Need to explicitly specify the compile rule as make will do nothing
3146 # or try to compile the object file into the sub-directory.
3147
3148 signals.o: $(srcdir)/signals/signals.c $(server_h) $(defs_h) $(target_h) \
3149         $(gdb_string_h)
3150         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/signals/signals.c
3151
3152 #
3153 # gdb/tui/ dependencies
3154 #
3155 # Need to explicitly specify the compile rule as make will do nothing
3156 # or try to compile the object file into the sub-directory.
3157
3158 tui.o: $(srcdir)/tui/tui.c $(defs_h) $(gdbcmd_h) $(tui_h) $(tui_hooks_h) \
3159         $(tui_data_h) $(tui_layout_h) $(tui_io_h) $(tui_regs_h) \
3160         $(tui_stack_h) $(tui_win_h) $(tui_winsource_h) $(tui_windata_h) \
3161         $(target_h) $(frame_h) $(breakpoint_h) $(inferior_h) $(symtab_h) \
3162         $(source_h) $(gdb_curses_h) $(readline_h)
3163         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui.c
3164 tui-command.o: $(srcdir)/tui/tui-command.c $(defs_h) $(tui_h) $(tui_data_h) \
3165         $(tui_win_h) $(tui_io_h) $(gdb_curses_h) $(gdb_string_h)
3166         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-command.c
3167 tui-data.o: $(srcdir)/tui/tui-data.c $(defs_h) $(symtab_h) $(tui_h) \
3168         $(tui_data_h) $(tui_wingeneral_h) $(gdb_string_h) $(gdb_curses_h)
3169         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-data.c
3170 tui-disasm.o: $(srcdir)/tui/tui-disasm.c $(defs_h) $(symtab_h) \
3171         $(breakpoint_h) $(frame_h) $(value_h) $(source_h) $(disasm_h) \
3172         $(gdb_string_h) $(tui_h) $(tui_data_h) $(tui_win_h) $(tui_layout_h) \
3173         $(tui_winsource_h) $(tui_stack_h) $(tui_file_h) $(gdb_curses_h)
3174         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-disasm.c
3175 tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(ui_file_h) $(tui_file_h) \
3176         $(tui_io_h) $(tui_h) $(gdb_string_h)
3177         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c
3178 tui-hooks.o: $(srcdir)/tui/tui-hooks.c $(defs_h) $(symtab_h) $(inferior_h) \
3179         $(command_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) \
3180         $(gdbcore_h) $(event_loop_h) $(event_top_h) $(frame_h) \
3181         $(breakpoint_h) $(gdb_events_h) $(ui_out_h) $(top_h) $(tui_h) \
3182         $(tui_hooks_h) $(tui_data_h) $(tui_layout_h) $(tui_io_h) \
3183         $(tui_regs_h) $(tui_win_h) $(tui_stack_h) $(tui_windata_h) \
3184         $(tui_winsource_h) $(gdb_curses_h) $(readline_h)
3185         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-hooks.c
3186 tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \
3187         $(event_top_h) $(event_loop_h) $(ui_out_h) $(cli_out_h) \
3188         $(tui_data_h) $(readline_h) $(tui_win_h) $(tui_h) $(tui_io_h) \
3189         $(exceptions_h)
3190         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-interp.c
3191 tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(target_h) \
3192         $(event_loop_h) $(event_top_h) $(command_h) $(top_h) $(tui_h) \
3193         $(tui_data_h) $(tui_io_h) $(tui_command_h) $(tui_win_h) \
3194         $(tui_wingeneral_h) $(tui_file_h) $(ui_out_h) $(cli_out_h) \
3195         $(gdb_curses_h) $(readline_h)
3196         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-io.c
3197 tui-layout.o: $(srcdir)/tui/tui-layout.c $(defs_h) $(command_h) $(symtab_h) \
3198         $(frame_h) $(source_h) $(tui_h) $(tui_data_h) $(tui_windata_h) \
3199         $(tui_wingeneral_h) $(tui_stack_h) $(tui_regs_h) $(tui_win_h) \
3200         $(tui_winsource_h) $(tui_disasm_h) $(gdb_string_h) $(gdb_curses_h)
3201         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-layout.c
3202 tui-main.o: $(srcdir)/tui/tui-main.c $(defs_h) $(main_h) $(gdb_string_h) \
3203         $(interps_h)
3204         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-main.c
3205 tui-out.o: $(srcdir)/tui/tui-out.c $(defs_h) $(ui_out_h) $(tui_h) \
3206         $(gdb_string_h) $(gdb_assert_h)
3207         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-out.c
3208 tui-regs.o: $(srcdir)/tui/tui-regs.c $(defs_h) $(tui_h) $(tui_data_h) \
3209         $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(frame_h) $(regcache_h) \
3210         $(inferior_h) $(target_h) $(gdb_string_h) $(tui_layout_h) \
3211         $(tui_win_h) $(tui_windata_h) $(tui_wingeneral_h) $(tui_file_h) \
3212         $(reggroups_h) $(gdb_curses_h)
3213         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-regs.c
3214 tui-source.o: $(srcdir)/tui/tui-source.c $(defs_h) $(symtab_h) $(frame_h) \
3215         $(breakpoint_h) $(source_h) $(symtab_h) $(tui_h) $(tui_data_h) \
3216         $(tui_stack_h) $(tui_winsource_h) $(tui_source_h) $(gdb_string_h) \
3217         $(gdb_curses_h)
3218         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-source.c
3219 tui-stack.o: $(srcdir)/tui/tui-stack.c $(defs_h) $(symtab_h) $(breakpoint_h) \
3220         $(frame_h) $(command_h) $(inferior_h) $(target_h) $(top_h) \
3221         $(gdb_string_h) $(tui_h) $(tui_data_h) $(tui_stack_h) \
3222         $(tui_wingeneral_h) $(tui_source_h) $(tui_winsource_h) $(tui_file_h) \
3223         $(gdb_curses_h)
3224         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-stack.c
3225 tui-win.o: $(srcdir)/tui/tui-win.c $(defs_h) $(command_h) $(symtab_h) \
3226         $(breakpoint_h) $(frame_h) $(cli_cmds_h) $(top_h) $(source_h) \
3227         $(tui_h) $(tui_data_h) $(tui_wingeneral_h) $(tui_stack_h) \
3228         $(tui_regs_h) $(tui_disasm_h) $(tui_source_h) $(tui_winsource_h) \
3229         $(tui_windata_h) $(gdb_curses_h) $(gdb_string_h) $(readline_h)
3230         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-win.c
3231 tui-windata.o: $(srcdir)/tui/tui-windata.c $(defs_h) $(tui_h) $(tui_data_h) \
3232         $(tui_wingeneral_h) $(tui_regs_h) $(gdb_string_h) $(gdb_curses_h)
3233         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-windata.c
3234 tui-wingeneral.o: $(srcdir)/tui/tui-wingeneral.c $(defs_h) $(tui_h) \
3235         $(tui_data_h) $(tui_wingeneral_h) $(tui_win_h) $(gdb_curses_h)
3236         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-wingeneral.c
3237 tui-winsource.o: $(srcdir)/tui/tui-winsource.c $(defs_h) $(symtab_h) \
3238         $(frame_h) $(breakpoint_h) $(value_h) $(source_h) $(tui_h) \
3239         $(tui_data_h) $(tui_stack_h) $(tui_win_h) $(tui_wingeneral_h) \
3240         $(tui_winsource_h) $(tui_source_h) $(tui_disasm_h) $(gdb_string_h) \
3241         $(gdb_curses_h) $(gdb_assert_h)
3242         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-winsource.c
3243
3244 ### end of the gdb Makefile.in.