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