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