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