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