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