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