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