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