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