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