]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/Makefile.in
* config/sim.exp (gdb_load): Handle $arg == "".
[thirdparty/binutils-gdb.git] / gdb / Makefile.in
CommitLineData
b2100910
AC
1# Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
2# 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation,
3# 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
19# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21prefix = @prefix@
22exec_prefix = @exec_prefix@
23
24host_alias = @host_alias@
25target_alias = @target_alias@
26program_transform_name = @program_transform_name@
27bindir = @bindir@
28libdir = @libdir@
29tooldir = $(libdir)/$(target_alias)
30
31datadir = @datadir@
32mandir = @mandir@
33man1dir = $(mandir)/man1
34man2dir = $(mandir)/man2
35man3dir = $(mandir)/man3
36man4dir = $(mandir)/man4
37man5dir = $(mandir)/man5
38man6dir = $(mandir)/man6
39man7dir = $(mandir)/man7
40man8dir = $(mandir)/man8
41man9dir = $(mandir)/man9
42infodir = @infodir@
085dd6e6 43htmldir = $(prefix)/html
c906108c
SS
44includedir = @includedir@
45
46# This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT.
47top_builddir = .
48
49SHELL = @SHELL@
50EXEEXT = @EXEEXT@
51
7a292a7a 52AWK = @AWK@
b3a90332 53LN_S = @LN_S@
7a292a7a 54
c906108c
SS
55INSTALL = @INSTALL@
56INSTALL_PROGRAM = @INSTALL_PROGRAM@
57INSTALL_DATA = @INSTALL_DATA@
58
72bdd927
AC
59DESTDIR =
60
c906108c
SS
61AR = @AR@
62AR_FLAGS = qv
63RANLIB = @RANLIB@
64DLLTOOL = @DLLTOOL@
65WINDRES = @WINDRES@
b9f21955 66MIG = @MIG@
c906108c 67
c906108c
SS
68# If you are compiling with GCC, make sure that either 1) You have the
69# fixed include files where GCC can reach them, or 2) You use the
70# -traditional flag. Otherwise the ioctl calls in inflow.c
71# will be incorrectly compiled. The "fixincludes" script in the gcc
72# distribution will fix your include files up.
73CC=@CC@
74
75# Directory containing source files.
76srcdir = @srcdir@
77VPATH = @srcdir@
78
79YACC=@YACC@
80
3cf93817 81# This is used to rebuild ada-lex.c from ada-lex.l. If the program is
6d3e79c6
AS
82# not defined, but ada-lex.c is present, compilation will continue,
83# possibly with a warning.
84FLEX = flex
85
c906108c
SS
86YLWRAP = $(srcdir)/../ylwrap
87
88# where to find makeinfo, preferably one designed for texinfo-2
89MAKEINFO=makeinfo
90
085dd6e6
JM
91MAKEHTML = texi2html
92
93MAKEHTMLFLAGS = -glossary -menu -split_chapter
94
c906108c
SS
95# Set this up with gcc if you have gnu ld and the loader will print out
96# line numbers for undefined references.
97#CC_LD=gcc -static
98CC_LD=$(CC)
99
100# Where is our "include" directory? Typically $(srcdir)/../include.
101# This is essentially the header file directory for the library
102# routines in libiberty.
103INCLUDE_DIR = $(srcdir)/../include
104INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
105
106# Where is the "-liberty" library? Typically in ../libiberty.
107LIBIBERTY = ../libiberty/libiberty.a
108
c906108c
SS
109# Where is the BFD library? Typically in ../bfd.
110BFD_DIR = ../bfd
111BFD = $(BFD_DIR)/libbfd.a
112BFD_SRC = $(srcdir)/$(BFD_DIR)
113BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
114
115# Where is the READLINE library? Typically in ../readline.
116READLINE_DIR = ../readline
117READLINE = $(READLINE_DIR)/libreadline.a
118READLINE_SRC = $(srcdir)/$(READLINE_DIR)
119READLINE_CFLAGS = -I$(READLINE_SRC)/..
120
121WARN_CFLAGS = @WARN_CFLAGS@
104c1213 122WERROR_CFLAGS = @WERROR_CFLAGS@
d4f3574e
SS
123GDB_WARN_CFLAGS = $(WARN_CFLAGS)
124GDB_WERROR_CFLAGS = $(WERROR_CFLAGS)
c906108c
SS
125
126# Where is the INTL library? Typically in ../intl.
127INTL_DIR = ../intl
128INTL = @INTLLIBS@
129INTL_DEPS = @INTLDEPS@
130INTL_SRC = $(srcdir)/$(INTL_DIR)
131INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
132
234b45d4
KB
133# Where is the ICONV library? This can be empty if libc has iconv.
134LIBICONV = @LIBICONV@
135
030292b7
DJ
136# Did the user give us a --with-sysroot option?
137TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
138TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
139
d318976c
FN
140#
141# CLI sub directory definitons
142#
143SUBDIR_CLI_OBS = \
f02df580 144 cli-dump.o \
4a8f6654 145 cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o \
0fac0b41 146 cli-logging.o \
4389a95a 147 cli-interp.o
d318976c 148SUBDIR_CLI_SRCS = \
f02df580 149 cli/cli-dump.c \
12cf3f1b 150 cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
0fac0b41 151 cli/cli-logging.c \
4389a95a 152 cli/cli-interp.c \
12cf3f1b 153 cli/cli-utils.c
d318976c 154SUBDIR_CLI_DEPS =
123a4891
AC
155SUBDIR_CLI_INITS = \
156 $(SUBDIR_CLI_SRCS)
d318976c
FN
157SUBDIR_CLI_LDFLAGS=
158SUBDIR_CLI_CFLAGS=
159SUBDIR_CLI_ALL=
160SUBDIR_CLI_CLEAN=
161SUBDIR_CLI_INSTALL=
162SUBDIR_CLI_UNINSTALL=
163
fb40c209
AC
164#
165# MI sub directory definitons
166#
167SUBDIR_MI_OBS = \
168 mi-out.o mi-console.o \
c04e0a08 169 mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o \
30e221b4 170 mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o \
4389a95a 171 mi-interp.o \
fb40c209
AC
172 mi-main.o mi-parse.o mi-getopt.o
173SUBDIR_MI_SRCS = \
174 mi/mi-out.c mi/mi-console.c \
c04e0a08 175 mi/mi-cmds.c mi/mi-cmd-env.c \
fb40c209 176 mi/mi-cmd-var.c mi/mi-cmd-break.c mi/mi-cmd-stack.c \
30e221b4 177 mi/mi-cmd-file.c mi/mi-cmd-disas.c mi/mi-symbol-cmds.c \
4389a95a 178 mi/mi-interp.c \
fb40c209
AC
179 mi/mi-main.c mi/mi-parse.c mi/mi-getopt.c
180SUBDIR_MI_DEPS =
181SUBDIR_MI_INITS = \
123a4891 182 $(SUBDIR_MI_SRCS)
fb40c209
AC
183SUBDIR_MI_LDFLAGS=
184SUBDIR_MI_CFLAGS= \
b4df4f68 185 -DMI_OUT=1
b3a90332
AC
186SUBDIR_MI_ALL=
187SUBDIR_MI_CLEAN=
e56ac5c3
AC
188SUBDIR_MI_INSTALL=
189SUBDIR_MI_UNINSTALL=
fb40c209 190
ed952ac5
AC
191#
192# TUI sub directory definitions
193#
194SUBDIR_TUI_OBS = \
d7b2e967
AC
195 tui-command.o \
196 tui-data.o \
197 tui-disasm.o \
198 tui-file.o tui.o \
199 tui-hooks.o \
021e7609 200 tui-interp.o \
d7b2e967
AC
201 tui-io.o \
202 tui-layout.o \
203 tui-out.o \
204 tui-regs.o \
205 tui-source.o \
206 tui-stack.o \
207 tui-win.o \
208 tui-windata.o \
209 tui-wingeneral.o \
210 tui-winsource.o
ed952ac5 211SUBDIR_TUI_SRCS = \
d7b2e967
AC
212 tui/tui-command.c \
213 tui/tui-data.c \
214 tui/tui-disasm.c \
215 tui/tui-file.c \
216 tui/tui-hooks.c \
021e7609 217 tui/tui-interp.c \
d7b2e967
AC
218 tui/tui-io.c \
219 tui/tui-layout.c \
220 tui/tui-out.c \
221 tui/tui-regs.c \
222 tui/tui-source.c \
223 tui/tui-stack.c \
224 tui/tui-win.c \
225 tui/tui-windata.c \
226 tui/tui-wingeneral.c \
227 tui/tui-winsource.c \
228 tui/tui.c
ed952ac5
AC
229SUBDIR_TUI_DEPS =
230SUBDIR_TUI_INITS = \
231 $(SUBDIR_TUI_SRCS)
232SUBDIR_TUI_LDFLAGS=
233SUBDIR_TUI_CFLAGS= \
234 -DTUI=1 -I${srcdir}/tui
235SUBDIR_TUI_ALL=
236SUBDIR_TUI_CLEAN=
237SUBDIR_TUI_INSTALL=
238SUBDIR_TUI_UNINSTALL=
239
240
241
c906108c
SS
242# Opcodes currently live in one of two places. Either they are in the
243# opcode library, typically ../opcodes, or they are in a header file
244# in INCLUDE_DIR.
245# Where is the "-lopcodes" library, with (some of) the opcode tables and
246# disassemblers?
460e6ec3
AC
247OPCODES_DIR = ../opcodes
248OPCODES_SRC = $(srcdir)/$(OPCODES_DIR)
249OPCODES = $(OPCODES_DIR)/libopcodes.a
c906108c
SS
250# Where are the other opcode tables which only have header file
251# versions?
252OP_INCLUDE = $(INCLUDE_DIR)/opcode
253OPCODES_CFLAGS = -I$(OP_INCLUDE)
254
255# The simulator is usually nonexistent; targets that include one
256# should set this to list all the .o or .a files to be linked in.
257SIM =
258
cd0fc7c3
SS
259WIN32LIBS = @WIN32LIBS@
260
3fc11d3e
JM
261# Where is the TCL library? Typically in ../tcl.
262LIB_INSTALL_DIR = $(libdir)
263# This variable is needed when doing dynamic linking.
264LIB_RUNTIME_DIR = $(libdir)
033afc63 265TCL = @TCL_CC_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
3fc11d3e 266TCL_CFLAGS = @TCLHDIR@
3fc11d3e
JM
267GDBTKLIBS = @GDBTKLIBS@
268# Extra flags that the GDBTK files need:
269GDBTK_CFLAGS = @GDBTK_CFLAGS@
270
271# Where is the TK library? Typically in ../tk.
272TK = @TK_BUILD_LIB_SPEC@
273TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
3fc11d3e
JM
274
275# Where is Itcl? Typically in ../itcl/itcl.
276ITCL_CFLAGS = @ITCLHDIR@
277ITCL = @ITCLLIB@
3fc11d3e
JM
278
279# Where is Itk? Typically in ../itcl/itk.
280ITK_CFLAGS = @ITKHDIR@
281ITK = @ITKLIB@
3fc11d3e 282
3fc11d3e
JM
283X11_CFLAGS = @TK_XINCLUDES@
284X11_LDFLAGS =
285X11_LIBS =
286
287WIN32LDAPP = @WIN32LDAPP@
288
3fc11d3e
JM
289LIBGUI = @LIBGUI@
290GUI_CFLAGS_X = @GUI_CFLAGS_X@
291IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
4226a5a5 292
f0b743a9
KS
293# The version of gdbtk we're building. This should be kept
294# in sync with GDBTK_VERSION and friends in gdbtk.h.
295GDBTK_VERSION = 1.0
296GDBTK_LIBRARY = $(datadir)/insight$(GDBTK_VERSION)
297
d1c3b63a
KS
298# Gdbtk requires an absolute path to the source directory or
299# the testsuite won't run properly.
300GDBTK_SRC_DIR = @GDBTK_SRC_DIR@
301
4226a5a5 302SUBDIR_GDBTK_OBS = \
5412f5f3 303 gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o gdbtk-interp.o \
ecb9ce7e 304 gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o
4226a5a5 305SUBDIR_GDBTK_SRCS = \
ecb9ce7e 306 gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-bp.c \
5412f5f3 307 gdbtk/generic/gdbtk-cmds.c gdbtk/generic/gdbtk-hooks.c gdbtk-interp.c \
ecb9ce7e 308 gdbtk/generic/gdbtk-register.c gdbtk/generic/gdbtk-stack.c \
f15ab4a7
AC
309 gdbtk/generic/gdbtk-varobj.c gdbtk/generic/gdbtk-wrapper.c \
310 gdbtk/generic/gdbtk-main.c
4226a5a5 311SUBDIR_GDBTK_DEPS = \
b2a1bd4f 312 $(LIBGUI) $(ITCL_DEPS) $(ITK_DEPS) $(TK_DEPS) $(TCL_DEPS)
5412f5f3 313SUBDIR_GDBTK_INITS = gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-interp.c
4226a5a5
FN
314SUBDIR_GDBTK_LDFLAGS=
315SUBDIR_GDBTK_CFLAGS= -DGDBTK
f15ab4a7
AC
316SUBDIR_GDBTK_ALL= all-gdbtk
317SUBDIR_GDBTK_CLEAN= clean-gdbtk
e56ac5c3 318SUBDIR_GDBTK_INSTALL= install-gdbtk
f15ab4a7 319SUBDIR_GDBTK_UNINSTALL= uninstall-gdbtk
c906108c 320
fb40c209 321CONFIG_OBS= @CONFIG_OBS@
66b965bb 322CONFIG_LIB_OBS= @CONFIG_LIB_OBS@
fb40c209
AC
323CONFIG_SRCS= @CONFIG_SRCS@
324CONFIG_DEPS= @CONFIG_DEPS@
325CONFIG_INITS= @CONFIG_INITS@
326CONFIG_LDFLAGS = @CONFIG_LDFLAGS@
c906108c 327ENABLE_CFLAGS= @ENABLE_CFLAGS@
b3a90332
AC
328CONFIG_ALL= @CONFIG_ALL@
329CONFIG_CLEAN= @CONFIG_CLEAN@
330CONFIG_CLEAN= @CONFIG_CLEAN@
e56ac5c3
AC
331CONFIG_INSTALL = @CONFIG_INSTALL@
332CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
c906108c
SS
333
334# -I. for config files.
f77b92bf 335# -I$(srcdir) for gdb internal headers.
c906108c
SS
336# -I$(srcdir)/config for more generic config files.
337
338# It is also possible that you will need to add -I/usr/include/sys if
339# your system doesn't have fcntl.h in /usr/include (which is where it
340# should be according to Posix).
341DEFS = @DEFS@
0fbb3da7 342GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(prefix)/share/locale\"" $(DEFS)
c906108c
SS
343
344# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
345# from the config directory.
346GLOBAL_CFLAGS = $(MT_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
SS
353
354# Need to pass this to testsuite for "make check". Probably should be
355# consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
356# so "make check" has the same result no matter where it is run.
357CXXFLAGS = -g -O
358
359# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
104c1213
JM
360INTERNAL_WARN_CFLAGS = \
361 $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
c906108c 362 $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
9175c9a3 363 $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
f5dbc56d 364 $(INTL_CFLAGS) $(ENABLE_CFLAGS) \
e48f66e4 365 $(GDB_WARN_CFLAGS)
d4f3574e 366INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)
c906108c
SS
367
368# LDFLAGS is specifically reserved for setting from the command line
369# when running make.
697f7479 370LDFLAGS = @LDFLAGS@
c906108c
SS
371
372# Profiling options need to go here to work.
373# I think it's perfectly reasonable for a user to set -pg in CFLAGS
374# and have it work; that's why CFLAGS is here.
d28f9cdf
DJ
375# PROFILE_CFLAGS is _not_ included, however, because we use monstartup.
376INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_LDFLAGS)
c906108c 377
c906108c
SS
378# If your system is missing alloca(), or, more likely, it's there but
379# it doesn't work, then refer to libiberty.
380
381# Libraries and corresponding dependencies for compiling gdb.
382# {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
c906108c
SS
383# LIBIBERTY appears twice on purpose.
384# If you have the Cygnus libraries installed,
385# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
386INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \
287c1a40 387 $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
9175c9a3 388 -lintl -liberty
c906108c 389CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \
287c1a40 390 $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
234b45d4 391 $(LIBICONV) \
9175c9a3 392 $(LIBIBERTY) $(WIN32LIBS)
c906108c 393CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
9175c9a3 394 $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS)
c906108c 395
f77b92bf
MK
396ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
397ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
c906108c 398
c906108c
SS
399DIST=gdb
400
401LINT=/usr/5bin/lint
5565b556 402LINTFLAGS= $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
9175c9a3 403 $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
5565b556 404 $(INTL_CFLAGS)
c906108c
SS
405
406RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \
407 echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \
408 fi`
409
410RUNTESTFLAGS=
411
412# This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
413# interface to the serial port. Hopefully if get ported to OS/2, VMS,
414# etc., then there will be (as part of the C library or perhaps as
415# part of libiberty) a POSIX interface. But at least for now the
416# host-dependent makefile fragment might need to use something else
417# besides ser-unix.o
6688f7e9 418SER_HARDWIRE = @SER_HARDWIRE@
c906108c
SS
419
420# The `remote' debugging target is supported for most architectures,
421# but not all (e.g. 960)
449092f6 422REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o
c906108c
SS
423
424# This is remote-sim.o if a simulator is to be linked in.
425SIM_OBS =
426
427ANNOTATE_OBS = annotate.o
428
429# Host and target-dependent makefile fragments come in here.
430@host_makefile_frag@
431@target_makefile_frag@
432# End of host and target-dependent makefile fragments
433
3cf93817
RM
434# Possibly ignore the simulator. If the simulator is being ignored,
435# these expand into SIM= and SIM_OBJ=, overriding the entries from
7a292a7a
SS
436# target_makefile_frag
437#
438@IGNORE_SIM@
439@IGNORE_SIM_OBS@
440
c906108c
SS
441FLAGS_TO_PASS = \
442 "prefix=$(prefix)" \
443 "exec_prefix=$(exec_prefix)" \
6688f7e9 444 "infodir=$(infodir)" \
36af0b35
L
445 "libdir=$(libdir)" \
446 "mandir=$(mandir)" \
447 "datadir=$(datadir)" \
448 "includedir=$(includedir)" \
c906108c 449 "against=$(against)" \
c938e9b0 450 "DESTDIR=$(DESTDIR)" \
c906108c
SS
451 "AR=$(AR)" \
452 "AR_FLAGS=$(AR_FLAGS)" \
453 "CC=$(CC)" \
454 "CFLAGS=$(CFLAGS)" \
c906108c
SS
455 "CXX=$(CXX)" \
456 "CXXFLAGS=$(CXXFLAGS)" \
457 "DLLTOOL=$(DLLTOOL)" \
ed363b1b 458 "LDFLAGS=$(LDFLAGS)" \
c906108c
SS
459 "RANLIB=$(RANLIB)" \
460 "MAKEINFO=$(MAKEINFO)" \
085dd6e6
JM
461 "MAKEHTML=$(MAKEHTML)" \
462 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
c906108c
SS
463 "INSTALL=$(INSTALL)" \
464 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
465 "INSTALL_DATA=$(INSTALL_DATA)" \
466 "RUNTEST=$(RUNTEST)" \
467 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
468
469# Flags that we pass when building the testsuite.
470
471# empty for native, $(target_alias)/ for cross
472target_subdir = @target_subdir@
473
474CC_FOR_TARGET = ` \
475 if [ -f $${rootme}/../gcc/xgcc ] ; then \
476 if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
477 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/; \
478 else \
479 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
480 fi; \
481 else \
482 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
483 echo $(CC); \
484 else \
485 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
486 fi; \
487 fi`
488
489CXX = gcc
490CXX_FOR_TARGET = ` \
491 if [ -f $${rootme}/../gcc/xgcc ] ; then \
492 if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
493 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/; \
494 else \
495 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
496 fi; \
497 else \
498 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
499 echo $(CXX); \
500 else \
501 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
502 fi; \
503 fi`
504
c906108c
SS
505# The use of $$(x_FOR_TARGET) reduces the command line length by not
506# duplicating the lengthy definition.
507TARGET_FLAGS_TO_PASS = \
508 "prefix=$(prefix)" \
509 "exec_prefix=$(exec_prefix)" \
510 "against=$(against)" \
511 'CC=$$(CC_FOR_TARGET)' \
512 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
513 "CFLAGS=$(CFLAGS)" \
c906108c
SS
514 'CXX=$$(CXX_FOR_TARGET)' \
515 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
516 "CXXFLAGS=$(CXXFLAGS)" \
517 "INSTALL=$(INSTALL)" \
518 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
519 "INSTALL_DATA=$(INSTALL_DATA)" \
520 "MAKEINFO=$(MAKEINFO)" \
085dd6e6 521 "MAKEHTML=$(MAKEHTML)" \
c906108c
SS
522 "RUNTEST=$(RUNTEST)" \
523 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
524
525# All source files that go into linking GDB.
526# Links made at configuration time should not be specified here, since
527# SFILES is used in building the distribution archive.
528
6d3e79c6 529SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
92df71f0 530 ax-general.c ax-gdb.c \
bba2d28d
AC
531 bcache.c \
532 bfd-target.c \
533 block.c blockframe.c breakpoint.c buildsym.c \
92df71f0 534 c-exp.y c-lang.c c-typeprint.c c-valprint.c \
1b6bc7e0
CF
535 charset.c cli-out.c coffread.c coff-pe-read.c \
536 complaints.c completer.c corefile.c \
9219021c 537 cp-abi.c cp-support.c cp-namespace.c cp-valprint.c \
de4f826b 538 dbxread.c demangle.c dictionary.c disasm.c doublest.c dummy-frame.c \
cfc14b3a 539 dwarfread.c dwarf2expr.c dwarf2loc.c dwarf2read.c dwarf2-frame.c \
92df71f0
FN
540 elfread.c environ.c eval.c event-loop.c event-top.c expprint.c \
541 f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c frame.c \
da62e633 542 frame-base.c \
494cca16 543 frame-unwind.c \
92df71f0
FN
544 gdbarch.c arch-utils.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
545 hpacc-abi.c \
04714b91
AC
546 inf-loop.c \
547 infcall.c \
548 infcmd.c inflow.c infrun.c \
4389a95a 549 interps.c \
c906108c 550 jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
92df71f0
FN
551 kod.c kod-cisco.c \
552 language.c linespec.c \
553 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c \
554 macrotab.c macroexp.c macrocmd.c macroscope.c main.c maint.c \
555 mdebugread.c memattr.c mem-break.c minsyms.c mipsread.c \
556 nlmread.c \
a76c9d72 557 objc-exp.y objc-lang.c \
ccdc5d7f 558 objfiles.c osabi.c observer.c \
92df71f0 559 p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
449092f6 560 regcache.c reggroups.c remote.c remote-fileio.c \
a94dd1fd
AC
561 scm-exp.c scm-lang.c scm-valprint.c \
562 sentinel-frame.c \
563 serial.c ser-unix.c source.c \
92df71f0 564 stabsread.c stack.c std-regs.c symfile.c symmisc.c symtab.c \
a0f267c7
AC
565 target.c thread.c top.c tracepoint.c \
566 trad-frame.c \
567 typeprint.c \
c906108c
SS
568 tui/tui.c tui/tui.h tui/tuiCommand.c tui/tuiCommand.h \
569 tui/tuiData.c tui/tuiData.h tui/tuiDataWin.c tui/tuiDataWin.h \
570 tui/tuiDisassem.c tui/tuiDisassem.h tui/tuiGeneralWin.c \
571 tui/tuiGeneralWin.h tui/tuiIO.c tui/tuiIO.h tui/tuiLayout.c \
572 tui/tuiLayout.h tui/tuiRegs.c tui/tuiRegs.h tui/tuiSource.c \
573 tui/tuiSource.h tui/tuiSourceWin.c tui/tuiSourceWin.h \
da59e081 574 tui/tuiStack.c tui/tuiStack.h tui/tuiWin.c tui/tuiWin.h \
8aaf581c 575 tui/tui-file.h tui/tui-file.c tui/tui-out.c tui/tui-hooks.c \
92df71f0 576 ui-out.c utils.c ui-file.h ui-file.c \
eb8bc282 577 user-regs.c \
92df71f0
FN
578 valarith.c valops.c valprint.c values.c varobj.c \
579 wrapper.c
c906108c 580
fb40c209 581LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
c906108c
SS
582
583# "system" headers. Using these in dependencies is a rather personal
584# choice. (-rich, summer 1993)
3cf93817 585# (Why would we not want to depend on them? If one of these changes in a
c906108c
SS
586# non-binary-compatible way, it is a real pain to remake the right stuff
587# without these dependencies -kingdon, 13 Mar 1994)
04ea0df1 588aout_aout64_h = $(INCLUDE_DIR)/aout/aout64.h
5f8a3188 589aout_stabs_gnu_h = $(INCLUDE_DIR)/aout/stabs_gnu.h
c906108c
SS
590getopt_h = $(INCLUDE_DIR)/getopt.h
591floatformat_h = $(INCLUDE_DIR)/floatformat.h
592bfd_h = $(BFD_DIR)/bfd.h
3c25f8c7 593callback_h = $(INCLUDE_DIR)/gdb/callback.h
04ea0df1
AC
594coff_sym_h = $(INCLUDE_DIR)/coff/sym.h
595coff_symconst_h = $(INCLUDE_DIR)/coff/symconst.h
596coff_ecoff_h = $(INCLUDE_DIR)/coff/ecoff.h
c1dac9e6 597coff_internal_h = $(INCLUDE_DIR)/coff/internal.h
b55c33cc 598dis_asm_h = $(INCLUDE_DIR)/dis-asm.h $(bfd_h)
299a7944 599elf_reloc_macros_h = $(INCLUDE_DIR)/elf/reloc-macros.h
460e6ec3 600elf_sh_h = $(INCLUDE_DIR)/elf/sh.h
299a7944 601elf_arm_h = $(INCLUDE_DIR)/elf/arm.h $(elf_reloc_macros_h)
460e6ec3 602elf_bfd_h = $(BFD_SRC)/elf-bfd.h
04ea0df1 603libaout_h = $(BFD_SRC)/libaout.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
526eef89 610frv_desc_h = $(OPCODES_SRC)/frv-desc.h
460e6ec3
AC
611sh_opc_h = $(OPCODES_SRC)/sh-opc.h
612gdb_sim_arm_h = $(INCLUDE_DIR)/gdb/sim-arm.h
613gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h
526eef89 614gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h
460e6ec3 615gdb_sim_sh_h = $(INCLUDE_DIR)/gdb/sim-sh.h
ec2bcbe7 616splay_tree_h = $(INCLUDE_DIR)/splay-tree.h
c906108c 617
c906108c
SS
618readline_headers = \
619 $(READLINE_SRC)/chardefs.h \
620 $(READLINE_SRC)/history.h \
621 $(READLINE_SRC)/keymaps.h \
622 $(READLINE_SRC)/readline.h
623
1517c6d1
AC
624#
625# $BUILD/ headers
626#
627
628config_h = config.h
629exc_request_U_h = exc_request_U.h
630exc_request_S_h = exc_request_S.h
631msg_reply_S_h = msg_reply_S.h
632msg_U_h = msg_U.h
633notify_S_h = notify_S.h
634process_reply_S_h = process_reply_S.h
635
636#
637# config/ headers
638#
639
5a2402b8
AC
640xm_h = @xm_h@
641tm_h = @tm_h@
642nm_h = @nm_h@
c906108c 643
342af04b 644#
1517c6d1 645# gdb/ headers
342af04b
AC
646#
647
342af04b 648ada_lang_h = ada-lang.h $(value_h) $(gdbtypes_h)
342af04b 649alphabsd_tdep_h = alphabsd-tdep.h
91092ee5 650alpha_tdep_h = alpha-tdep.h
c14a44d5 651amd64_nat_h = amd64-nat.h
342af04b
AC
652annotate_h = annotate.h $(symtab_h) $(gdbtypes_h)
653arch_utils_h = arch-utils.h
4be87837 654arm_tdep_h = arm-tdep.h
3cf93817 655auxv_h = auxv.h
342af04b
AC
656ax_gdb_h = ax-gdb.h
657ax_h = ax.h $(doublest_h)
658bcache_h = bcache.h
bba2d28d 659bfd_target_h = bfd-target.h
fe898f56 660block_h = block.h
342af04b
AC
661breakpoint_h = breakpoint.h $(frame_h) $(value_h) $(gdb_events_h)
662buildsym_h = buildsym.h
342af04b 663call_cmds_h = call-cmds.h
91092ee5
AC
664charset_h = charset.h
665c_lang_h = c-lang.h $(value_h) $(macroexp_h)
342af04b 666cli_out_h = cli-out.h
1b6bc7e0 667coff_pe_read_h = coff-pe-read.h
91092ee5 668coff_solib_h = coff-solib.h
342af04b
AC
669command_h = command.h
670complaints_h = complaints.h
671completer_h = completer.h
672cp_abi_h = cp-abi.h
1fcb5155 673cp_support_h = cp-support.h $(symtab_h)
342af04b 674dcache_h = dcache.h
91092ee5 675defs_h = defs.h $(config_h) $(ansidecl_h) $(gdb_locale_h) $(gdb_signals_h) \
342af04b 676 $(libiberty_h) $(progress_h) $(bfd_h) $(tui_h) $(ui_file_h) $(xm_h) \
c14a44d5 677 $(nm_h) $(tm_h) $(fopen_same_h) $(gdbarch_h)
de4f826b 678dictionary_h = dictionary.h
92df71f0 679disasm_h = disasm.h
342af04b 680doublest_h = doublest.h $(floatformat_h)
9c1412c1 681dummy_frame_h = dummy-frame.h
4c2df51b 682dwarf2expr_h = dwarf2expr.h
cfc14b3a 683dwarf2_frame_h = dwarf2-frame.h
91092ee5 684dwarf2loc_h = dwarf2loc.h
342af04b
AC
685environ_h = environ.h
686event_loop_h = event-loop.h
687event_top_h = event-top.h
4646aa9d 688exec_h = exec.h $(target_h)
342af04b
AC
689expression_h = expression.h $(symtab_h) $(doublest_h)
690f_lang_h = f-lang.h
91092ee5 691frame_base_h = frame-base.h
342af04b 692frame_h = frame.h
7df05f2b 693frame_unwind_h = frame-unwind.h $(frame_h)
a89aa300 694gdbarch_h = gdbarch.h
342af04b 695gdb_assert_h = gdb_assert.h
91092ee5
AC
696gdbcmd_h = gdbcmd.h $(command_h) $(ui_out_h)
697gdbcore_h = gdbcore.h $(bfd_h)
342af04b 698gdb_dirent_h = gdb_dirent.h
91092ee5
AC
699gdb_events_h = gdb-events.h
700gdb_h = gdb.h
342af04b
AC
701gdb_locale_h = gdb_locale.h
702gdb_obstack_h = gdb_obstack.h $(obstack_h)
703gdb_proc_service_h = gdb_proc_service.h $(gregset_h)
704gdb_regex_h = gdb_regex.h $(xregex_h)
91092ee5 705gdb_stabs_h = gdb-stabs.h
342af04b
AC
706gdb_stat_h = gdb_stat.h
707gdb_string_h = gdb_string.h
708gdb_thread_db_h = gdb_thread_db.h
aa0cd9c1 709gdbthread_h = gdbthread.h $(breakpoint_h) $(frame_h)
342af04b 710gdbtypes_h = gdbtypes.h
91092ee5
AC
711gdb_vfork_h = gdb_vfork.h
712gdb_wait_h = gdb_wait.h
a3640c75 713glibc_tdep_h = glibc-tdep.h
342af04b
AC
714gnu_nat_h = gnu-nat.h
715gregset_h = gregset.h
3ff7cf9e 716hppa_tdep_h = hppa-tdep.h
5179e78f 717i386_linux_tdep_h = i386-linux-tdep.h
4be87837 718i386_tdep_h = i386-tdep.h
342af04b 719i387_tdep_h = i387-tdep.h
04714b91 720infcall_h = infcall.h
aa0cd9c1 721inferior_h = inferior.h $(breakpoint_h) $(target_h) $(frame_h)
91092ee5 722inf_loop_h = inf-loop.h
44270758 723inflow_h = inflow.h $(terminal_h)
91092ee5 724infttrace_h = infttrace.h
4389a95a 725interps_h = interps.h
342af04b
AC
726jv_lang_h = jv-lang.h
727kod_h = kod.h
728language_h = language.h
b2100910 729libunwind_frame_h = libunwind-frame.h $(libunwind_h)
342af04b 730linespec_h = linespec.h
0274a8ce 731linux_nat_h = linux-nat.h
342af04b 732m2_lang_h = m2-lang.h
32eeb91a 733m68k_tdep_h = m68k-tdep.h
342af04b
AC
734macroexp_h = macroexp.h
735macroscope_h = macroscope.h $(macrotab_h) $(symtab_h)
736macrotab_h = macrotab.h
f15ab4a7 737main_h = main.h
342af04b
AC
738memattr_h = memattr.h
739minimon_h = minimon.h
740mipsnbsd_tdep_h = mipsnbsd-tdep.h
91092ee5 741mips_tdep_h = mips-tdep.h
342af04b
AC
742monitor_h = monitor.h
743nbsd_tdep_h = nbsd-tdep.h
4be87837 744ns32k_tdep_h = ns32k-tdep.h
91092ee5 745nto_tdep_h = nto-tdep.h $(defs_h) $(solist_h)
a76c9d72 746objc_lang_h = objc-lang.h
342af04b 747objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h)
ccdc5d7f 748observer_h = observer.h
342af04b
AC
749ocd_h = ocd.h
750osabi_h = osabi.h
342af04b
AC
751pa64solib_h = pa64solib.h
752parser_defs_h = parser-defs.h $(doublest_h)
91092ee5 753p_lang_h = p-lang.h
342af04b 754ppcnbsd_tdep_h = ppcnbsd-tdep.h
91092ee5 755ppc_tdep_h = ppc-tdep.h
342af04b
AC
756proc_utils_h = proc-utils.h
757regcache_h = regcache.h
b59ff9d5 758reggroups_h = reggroups.h
54c84734 759regset_h = regset.h
cd90e54f 760remote_fileio_h = remote-fileio.h
91092ee5
AC
761remote_h = remote.h
762remote_utils_h = remote-utils.h $(target_h)
342af04b
AC
763scm_lang_h = scm-lang.h $(scm_tags_h)
764scm_tags_h = scm-tags.h
a94dd1fd 765sentinel_frame_h = sentinel-frame.h
342af04b 766serial_h = serial.h
91092ee5 767ser_unix_h = ser-unix.h
342af04b 768shnbsd_tdep_h = shnbsd-tdep.h
91092ee5 769sh_tdep_h = sh-tdep.h
342af04b 770sim_regno_h = sim-regno.h
342af04b 771solib_h = solib.h
91092ee5 772solib_svr4_h = solib-svr4.h
342af04b
AC
773solist_h = solist.h
774somsolib_h = somsolib.h
775source_h = source.h
b2100910 776sparc64_tdep_h = sparc64-tdep.h $(sparc_tdep_h)
386c036b 777sparc_nat_h = sparc-nat.h
91092ee5 778sparc_tdep_h = sparc-tdep.h
342af04b
AC
779srec_h = srec.h
780stabsread_h = stabsread.h
b9362cc7 781stack_h = stack.h
342af04b
AC
782symfile_h = symfile.h
783symtab_h = symtab.h
784target_h = target.h $(bfd_h) $(symtab_h) $(dcache_h) $(memattr_h)
785terminal_h = terminal.h
786top_h = top.h
787tracepoint_h = tracepoint.h
91092ee5 788trad_frame_h = trad-frame.h
342af04b
AC
789typeprint_h = typeprint.h
790ui_file_h = ui-file.h
791ui_out_h = ui-out.h
eb8bc282 792user_regs_h = user-regs.h
342af04b 793valprint_h = valprint.h
91092ee5
AC
794value_h = value.h $(doublest_h) $(frame_h) $(symtab_h) $(gdbtypes_h) \
795 $(expression_h)
342af04b 796varobj_h = varobj.h $(symtab_h) $(gdbtypes_h)
4be87837 797vax_tdep_h = vax-tdep.h
342af04b
AC
798version_h = version.h
799wince_stub_h = wince-stub.h
800wrapper_h = wrapper.h $(gdb_h)
91092ee5 801x86_64_linux_tdep_h = x86-64-linux-tdep.h
342af04b
AC
802x86_64_tdep_h = x86-64-tdep.h $(i386_tdep_h)
803xcoffsolib_h = xcoffsolib.h
804xmodem_h = xmodem.h
805
806#
807# gdb/cli/ headers
808#
809
810cli_cmds_h = $(srcdir)/cli/cli-cmds.h
8fe84d01 811cli_decode_h = $(srcdir)/cli/cli-decode.h $(command_h)
342af04b
AC
812cli_dump_h = $(srcdir)/cli/cli-dump.h
813cli_script_h = $(srcdir)/cli/cli-script.h
814cli_setshow_h = $(srcdir)/cli/cli-setshow.h
815cli_utils_h = $(srcdir)/cli/cli-utils.h
816
817#
818# gdb/mi/ headers
819#
820
821mi_cmds_h = $(srcdir)/mi/mi-cmds.h
822mi_console_h = $(srcdir)/mi/mi-console.h
823mi_getopt_h = $(srcdir)/mi/mi-getopt.h
4389a95a 824mi_main_h = $(srcdir)/mi/mi-main.h
342af04b
AC
825mi_out_h = $(srcdir)/mi/mi-out.h
826mi_parse_h = $(srcdir)/mi/mi-parse.h
827
828#
829# gdb/tui/ headers
830#
831
d7b2e967
AC
832tui_command_h = $(srcdir)/tui/tui-command.h
833tui_data_h = $(srcdir)/tui/tui-data.h
834tui_disasm_h = $(srcdir)/tui/tui-disasm.h
91092ee5
AC
835tui_file_h = $(srcdir)/tui/tui-file.h
836tui_h = $(srcdir)/tui/tui.h $(ansidecl_h)
d7b2e967
AC
837tui_io_h = $(srcdir)/tui/tui-io.h
838tui_layout_h = $(srcdir)/tui/tui-layout.h
839tui_regs_h = $(srcdir)/tui/tui-regs.h
840tui_source_h = $(srcdir)/tui/tui-source.h $(defs_h)
841tui_stack_h = $(srcdir)/tui/tui-stack.h
842tui_windata_h = $(srcdir)/tui/tui-windata.h
843tui_wingeneral_h = $(srcdir)/tui/tui-wingeneral.h
844tui_win_h = $(srcdir)/tui/tui-win.h
845tui_winsource_h = $(srcdir)/tui/tui-winsource.h
234b45d4 846
c906108c
SS
847# Header files that need to have srcdir added. Note that in the cases
848# where we use a macro like $(gdbcmd_h), things are carefully arranged
849# so that each .h file is listed exactly once (M-x tags-search works
850# wrong if TAGS has files twice). Because this is tricky to get
851# right, it is probably easiest just to list .h files here directly.
852
853HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
822e978b 854 environ.h $(gdbcmd_h) gdb.h gdbcore.h \
8af51c36 855 gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
6a34fd2f 856 objfiles.h parser-defs.h serial.h solib.h \
c906108c 857 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
6821892e 858 macrotab.h macroexp.h macroscope.h \
db034ac5 859 c-lang.h f-lang.h \
c906108c 860 jv-lang.h \
df115219 861 m2-lang.h p-lang.h \
c906108c 862 complaints.h valprint.h \
c906108c
SS
863 vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
864 vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
865 vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \
866 dcache.h remote-utils.h top.h somsolib.h
867
868# Header files that already have srcdir in them, or which are in objdir.
869
03c30d4d 870HFILES_WITH_SRCDIR = ../bfd/bfd.h
c906108c
SS
871
872
873# GDB "info" files, which should be included in their entirety
874INFOFILES = gdb.info*
875
876REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
877
c906108c
SS
878# {X,T,NAT}DEPFILES are something of a pain in that it's hard to
879# default their values the way we do for SER_HARDWIRE; in the future
880# maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
881# variables analogous to SER_HARDWIRE which get defaulted in this
882# Makefile.in
883
7708fa01 884DEPFILES = $(TDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
66b965bb 885 $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_LIB_OBS)
c906108c 886
fb40c209 887SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
c906108c
SS
888# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
889# and it's more useful to see it in the .y file.
890TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
f77b92bf 891 $(SUBDIR_CLI_SRCS)
c906108c
SS
892TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
893
bba2d28d 894COMMON_OBS = version.o \
3cf93817 895 auxv.o \
bba2d28d
AC
896 bfd-target.o \
897 blockframe.o breakpoint.o findvar.o regcache.o \
9c1412c1 898 charset.o disasm.o dummy-frame.o \
c906108c 899 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
de4f826b 900 block.o symtab.o symfile.o symmisc.o linespec.o dictionary.o \
04714b91
AC
901 infcall.o \
902 infcmd.o infrun.o \
32178cab 903 expprint.o environ.o stack.o thread.o \
4389a95a 904 interps.o \
6821892e 905 macrotab.o macrocmd.o macroexp.o macroscope.o \
c5f0f3d0 906 event-loop.o event-top.o inf-loop.o completer.o \
70f80edf 907 gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o $(DEPFILES) \
29e57380 908 memattr.o mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
eb8bc282 909 std-regs.o \
0150732f 910 signals.o \
96baa820 911 kod.o kod-cisco.o \
104c1213 912 gdb-events.o \
ccdc5d7f 913 exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
1b6bc7e0 914 dbxread.o coffread.o coff-pe-read.o elfread.o \
c906108c 915 dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
cfc14b3a 916 dwarf2expr.o dwarf2loc.o dwarf2-frame.o \
1fbec6c3 917 c-lang.o f-lang.o objc-lang.o \
8b93c638
JM
918 ui-out.o cli-out.o \
919 varobj.o wrapper.o \
c906108c 920 jv-lang.o jv-valprint.o jv-typeprint.o \
454313e5 921 m2-lang.o p-lang.o p-typeprint.o p-valprint.o \
a94dd1fd
AC
922 scm-exp.o scm-lang.o scm-valprint.o \
923 sentinel-frame.o \
924 complaints.o typeprint.o \
db034ac5
AC
925 c-typeprint.o f-typeprint.o m2-typeprint.o \
926 c-valprint.o cp-valprint.o f-valprint.o m2-valprint.o \
a99a9e1b 927 nlmread.o serial.o mdebugread.o top.o utils.o \
227288a0 928 ui-file.o \
eb8bc282 929 user-regs.o \
494cca16 930 frame.o frame-unwind.o doublest.o \
da62e633 931 frame-base.o \
b59ff9d5 932 gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o \
9219021c 933 cp-namespace.o \
a0f267c7
AC
934 reggroups.o \
935 trad-frame.o
c906108c 936
104c1213 937OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
c906108c
SS
938
939TSOBS = inflow.o
940
8dcde887 941SUBDIRS = @subdirs@
c906108c
SS
942
943# For now, shortcut the "configure GDB for fewer languages" stuff.
944YYFILES = c-exp.tab.c \
a76c9d72 945 objc-exp.tab.c \
6d3e79c6 946 ada-exp.tab.c \
c906108c 947 jv-exp.tab.c \
df115219 948 f-exp.tab.c m2-exp.tab.c p-exp.tab.c
c906108c 949YYOBJ = c-exp.tab.o \
2cf6873c 950 objc-exp.tab.o \
c906108c 951 jv-exp.tab.o \
df115219 952 f-exp.tab.o m2-exp.tab.o p-exp.tab.o
c906108c
SS
953
954# Things which need to be built when making a distribution.
955
956DISTSTUFF = $(YYFILES)
957
958# Prevent Sun make from putting in the machine type. Setting
959# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
960.c.o:
961 $(CC) -c $(INTERNAL_CFLAGS) $<
962
b3a90332 963all: gdb$(EXEEXT) $(CONFIG_ALL)
c906108c
SS
964 @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
965
966installcheck:
967
968# The check target can not use subdir_do, because subdir_do does not
969# use TARGET_FLAGS_TO_PASS.
970check: force
971 @if [ -f testsuite/Makefile ]; then \
972 rootme=`pwd`; export rootme; \
973 rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
974 cd testsuite; \
975 $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
976 else true; fi
977
085dd6e6 978info dvi install-info clean-info html install-html: force
c906108c
SS
979 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
980
981gdb.z:gdb.1
3cf93817 982 nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
c906108c
SS
983 pack gdb.t ; rm -f gdb.t
984 mv gdb.t.z gdb.z
985
986# Traditionally "install" depends on "all". But it may be useful
3cf93817 987# not to; for example, if the user has made some trivial change to a
c906108c
SS
988# source file and doesn't care about rebuilding or just wants to save the
989# time it takes for make to check that all is up to date.
990# install-only is intended to address that need.
991install: all install-only
e56ac5c3 992install-only: $(CONFIG_INSTALL)
c906108c 993 transformed_name=`t='$(program_transform_name)'; \
95303a68 994 echo gdb | sed -e "$$t"` ; \
c906108c
SS
995 if test "x$$transformed_name" = x; then \
996 transformed_name=gdb ; \
997 else \
998 true ; \
999 fi ; \
c938e9b0 1000 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
72bdd927
AC
1001 $(INSTALL_PROGRAM) gdb$(EXEEXT) \
1002 $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
b7f31508 1003 $(SHELL) $(srcdir)/../mkinstalldirs \
72bdd927
AC
1004 $(DESTDIR)$(man1dir) ; \
1005 $(INSTALL_DATA) $(srcdir)/gdb.1 \
1006 $(DESTDIR)$(man1dir)/$$transformed_name.1
3cf93817 1007 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
c906108c 1008
e56ac5c3 1009uninstall: force $(CONFIG_UNINSTALL)
c906108c
SS
1010 transformed_name=`t='$(program_transform_name)'; \
1011 echo gdb | sed -e $$t` ; \
1012 if test "x$$transformed_name" = x; then \
1013 transformed_name=gdb ; \
1014 else \
1015 true ; \
1016 fi ; \
c938e9b0
L
1017 rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
1018 $(DESTDIR)$(man1dir)/$$transformed_name.1
3cf93817 1019 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
c906108c
SS
1020
1021# We do this by grepping through sources. If that turns out to be too slow,
1022# maybe we could just require every .o file to have an initialization routine
9b4ff276 1023# of a given name (top.o -> _initialize_top, etc.).
c906108c
SS
1024#
1025# Formatting conventions: The name of the _initialize_* routines must start
1026# in column zero, and must not be inside #if.
1027#
1028# Note that the set of files with init functions might change, or the names
1029# of the functions might change, so this files needs to depend on all the
1030# object files that will be linked into gdb.
f2c4d933
EZ
1031#
1032# FIXME: There are 2 problems with this approach. First, if the INIT_FILES
3cf93817
RM
1033# list includes a file twice (because of some mistake somewhere else)
1034# the _initialize_* function will be included twice in init.c. Second,
227288a0 1035# init.c may force unnecessary files to be linked in.
dd12a101
AC
1036
1037# FIXME: cagney/2002-06-09: gdb/564: gdb/563: Force the order so that
1038# the first call is to _initialize_gdbtypes. This is a hack to ensure
1039# that all the architecture dependant global builtin_type_* variables
1040# are initialized before anything else (per-architecture code is
1041# called in the same order that it is registered). The ``correct
1042# fix'' is to have all the builtin types made part of the architecture
1043# and initialize them on-demand (using gdbarch_data) just like
1044# everything else. The catch is that other modules still take the
1045# address of these builtin types forcing them to be variables, sigh!
c906108c 1046
0022b738
AC
1047# NOTE: cagney/2003-03-18: The sed pattern ``s|^\([^ /]...'' is
1048# anchored on the first column and excludes the ``/'' character so
1049# that it doesn't add the $(srcdir) prefix to any file that already
1050# has an absolute path. It turns out that $(DEC)'s True64 make
1051# automatically adds the $(srcdir) prefixes when it encounters files
1052# in sub-directories such as cli/ and mi/.
1053
b46cd165 1054INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS)
c2d11a7d 1055init.c: $(INIT_FILES)
c906108c 1056 @echo Making init.c
6426a772 1057 @rm -f init.c-tmp init.l-tmp
c2d11a7d 1058 @-echo $(INIT_FILES) | \
c906108c 1059 tr ' ' '\012' | \
b1364885 1060 sed \
6426a772 1061 -e '/^init.o/d' \
c906108c
SS
1062 -e '/xdr_ld.o/d' \
1063 -e '/xdr_ptrace.o/d' \
1064 -e '/xdr_rdb.o/d' \
1065 -e '/udr.o/d' \
1066 -e '/udip2soc.o/d' \
1067 -e '/udi2go32.o/d' \
1068 -e '/version.o/d' \
1069 -e '/^[a-z0-9A-Z_]*_[SU].o/d' \
1070 -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
1071 -e 's/\.o/.c/' \
9aedf4f4 1072 -e 's,signals\.c,signals/signals\.c,' \
0022b738 1073 -e 's|^\([^ /][^ ]*\)|$(srcdir)/\1|g' | \
c906108c 1074 while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \
dd12a101 1075 sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' | \
f30e5a77 1076 ( echo _initialize_gdbtypes ; grep -v '^_initialize_gdbtypes$$' ) > init.l-tmp
6426a772
JM
1077 @echo '/* Do not modify this file. */' >>init.c-tmp
1078 @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
1079 @echo '#include "defs.h"' >>init.c-tmp
1080 @echo '#include "call-cmds.h"' >>init.c-tmp
1081 @sed -e 's/\(.*\)/extern initialize_file_ftype \1;/' <init.l-tmp >>init.c-tmp
1082 @echo 'void' >>init.c-tmp
1083 @echo 'initialize_all_files (void)' >>init.c-tmp
1084 @echo '{' >>init.c-tmp
1085 @sed -e 's/\(.*\)/ \1 ();/' <init.l-tmp >>init.c-tmp
c906108c 1086 @echo '}' >>init.c-tmp
6426a772 1087 @rm init.l-tmp
c906108c
SS
1088 @mv init.c-tmp init.c
1089
1090.PRECIOUS: init.c
1091
6426a772
JM
1092init.o: init.c $(defs_h) $(call_cmds_h)
1093
c906108c 1094# Removing the old gdb first works better if it is running, at least on SunOS.
f15ab4a7 1095gdb$(EXEEXT): gdb.o main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
c906108c 1096 rm -f gdb$(EXEEXT)
72cfdc76 1097 $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
f15ab4a7
AC
1098 -o gdb$(EXEEXT) gdb.o main.o $(CONFIG_OBS) libgdb.a \
1099 $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
c906108c
SS
1100
1101nlm: force
1102 rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
1103
104c1213
JM
1104# Create a library of the gdb object files and build GDB by linking
1105# against that.
1106#
1107# init.o is very important. It pulls in the rest of GDB.
1108LIBGDB_OBS= $(OBS) $(TSOBS) $(ADD_FILES) init.o
1109libgdb.a: $(LIBGDB_OBS)
1110 -rm -f libgdb.a
1111 $(AR) q libgdb.a $(LIBGDB_OBS)
1112 $(RANLIB) libgdb.a
c906108c 1113
c906108c
SS
1114# A Mach 3.0 program to force gdb back to command level
1115
1116stop-gdb: stop-gdb.o
1117 ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
1118 stop-gdb.o $(CLIBS) $(LOADLIBES)
1119
1120# This is useful when debugging GDB, because some Unix's don't let you run GDB
1121# on itself without copying the executable. So "make gdb1" will make
1122# gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
1123# Removing gdb1 before the copy is the right thing if gdb1 is open
1124# in another process.
1125gdb1$(EXEEXT): gdb$(EXEEXT)
1126 rm -f gdb1$(EXEEXT)
1127 cp gdb$(EXEEXT) gdb1$(EXEEXT)
1128
1129# FIXME. These are not generated by "make depend" because they only are there
1130# for some machines.
1131# But these rules don't do what we want; we want to hack the foo.o: tm.h
1132# dependency to do the right thing.
12e035e2
MC
1133tm-sun3.h tm-altos.h: tm-m68k.h
1134tm-sun2.h tm-3b1.h: tm-m68k.h
c906108c
SS
1135xm-vaxult.h: xm-vax.h
1136xm-vaxbsd.h: xm-vax.h
1137
c906108c
SS
1138# Put the proper machine-specific files first, so M-. on a machine
1139# specific routine gets the one for the correct machine. (FIXME: those
1140# files go in twice; we should be removing them from the main list).
1141
1142# TAGS depends on all the files that go into it so you can rebuild TAGS
1143# with `make TAGS' and not have to say `rm TAGS' first.
1144
1145TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
1146 @echo Making TAGS
1147 @etags $(srcdir)/$(TM_FILE) \
1148 $(srcdir)/$(XM_FILE) \
1149 $(srcdir)/$(NAT_FILE) \
1150 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
1151 echo $(srcdir)/$$i ; \
1152 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
1153 echo $$i ; \
1154 done) | sed -e 's/\.o$$/\.c/'` \
1155 `find $(srcdir)/config -name '*.h' -print`
1156
1157tags: TAGS
1158
b3a90332 1159clean mostlyclean: $(CONFIG_CLEAN)
3cf93817 1160 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
d3814881 1161 rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp version.c-tmp
c906108c 1162 rm -f init.c version.c
104c1213 1163 rm -f gdb$(EXEEXT) core make.log
c906108c
SS
1164 rm -f gdb[0-9]$(EXEEXT)
1165
1166# This used to depend on c-exp.tab.c m2-exp.tab.c TAGS
1167# I believe this is wrong; the makefile standards for distclean just
1168# describe removing files; the only sort of "re-create a distribution"
1169# functionality described is if the distributed files are unmodified.
4edb848c
AC
1170# NB: While GDBSERVER might be configured on native systems, it isn't
1171# always included in SUBDIRS. Remove the gdbserver files explictly.
c906108c 1172distclean: clean
3cf93817 1173 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
4edb848c
AC
1174 rm -f gdbserver/config.status gdbserver/config.log
1175 rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
1176 rm -f gdbserver/Makefile gdbserver/config.cache
c906108c
SS
1177 rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
1178 rm -f y.output yacc.acts yacc.tmp y.tab.h
1179 rm -f config.log config.cache
1180 rm -f Makefile
1181
1182maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
1183realclean: maintainer-clean
1184
1185local-maintainer-clean:
1186 @echo "This command is intended for maintainers to use;"
1187 @echo "it deletes files that may require special tools to rebuild."
1188 rm -f c-exp.tab.c \
6d3e79c6 1189 ada-lex.c ada-exp.tab.c \
a76c9d72 1190 objc-exp.tab.c \
c906108c 1191 jv-exp.tab \
df115219 1192 f-exp.tab.c m2-exp.tab.c p-exp.tab.c
c906108c
SS
1193 rm -f TAGS $(INFOFILES)
1194 rm -f $(YYFILES)
1195 rm -f nm.h tm.h xm.h config.status
1196
1197do-maintainer-clean:
1198 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" \
1199 subdir_do
1200
1201diststuff: $(DISTSTUFF)
1a645206 1202 cd doc; $(MAKE) $(MFLAGS) diststuff
c906108c
SS
1203
1204subdir_do: force
1205 @for i in $(DODIRS); do \
1206 if [ -f ./$$i/Makefile ] ; then \
1207 if (cd ./$$i; \
1208 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
1209 else exit 1 ; fi ; \
1210 else true ; fi ; \
1211 done
1212
1213Makefile: Makefile.in config.status @frags@
1214 $(SHELL) config.status
1215
1216config.h: stamp-h ; @true
1217stamp-h: config.in config.status
1218 CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
1219
eb2e12d7 1220config.status: configure configure.tgt configure.host
c906108c
SS
1221 $(SHELL) config.status --recheck
1222
1223force:
1224
1225# Documentation!
1226# GDB QUICK REFERENCE (TeX dvi file, CM fonts)
1227doc/refcard.dvi:
1228 cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS)
1229
1230# GDB QUICK REFERENCE (PostScript output, common PS fonts)
1231doc/refcard.ps:
1232 cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS)
1233
1234# GDB MANUAL: TeX dvi file
1235doc/gdb.dvi:
1236 cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS)
1237
1238# GDB MANUAL: info file
1239doc/gdb.info:
1240 cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS)
1241
1242# Make copying.c from COPYING
413ccac7
AC
1243$(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \
1244 $(srcdir)/COPYING $(srcdir)/copying.awk
1245 awk -f $(srcdir)/copying.awk \
1246 < $(srcdir)/COPYING > $(srcdir)/copying.tmp
1247 mv $(srcdir)/copying.tmp $(srcdir)/copying.c
c906108c 1248
d3814881
AC
1249version.c: Makefile version.in
1250 rm -f version.c-tmp version.c
1251 echo '#include "version.h"' >> version.c-tmp
696f451b 1252 echo 'const char version[] = "'"`sed q ${srcdir}/version.in`"'";' >> version.c-tmp
d3814881
AC
1253 echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
1254 echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp
1255 mv version.c-tmp version.c
d4f3574e 1256version.o: version.c $(version_h)
c906108c 1257
c906108c 1258
c906108c
SS
1259lint: $(LINTFILES)
1260 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
1261 `echo $(DEPFILES) | sed 's/\.o /\.c /g'`
1262
1263gdb.cxref: $(SFILES)
1264 cxref -I. $(SFILES) >gdb.cxref
1265
1266force_update:
1267
1268# GNU Make has an annoying habit of putting *all* the Makefile variables
1269# into the environment, unless you include this target as a circumvention.
1270# Rumor is that this will be fixed (and this target can be removed)
1271# in GNU Make 4.0.
1272.NOEXPORT:
1273
1274# GNU Make 3.63 has a different problem: it keeps tacking command line
1275# overrides onto the definition of $(MAKE). This variable setting
1276# will remove them.
1277MAKEOVERRIDES=
1278
b1364885 1279ALLDEPFILES = \
c41669e0 1280 aix-thread.c \
8513dd2d 1281 alpha-nat.c alphabsd-nat.c \
12bcb0fe 1282 alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \
8f285956 1283 alpha-osf1-tdep.c alphafbsd-tdep.c alpha-mdebug-tdep.c \
e9ed6d01 1284 arm-linux-nat.c arm-linux-tdep.c arm-tdep.c \
36012033 1285 armnbsd-nat.c armnbsd-tdep.c \
8818c391 1286 avr-tdep.c \
c5bb1243 1287 coff-solib.c \
31bb40e4 1288 core-regset.c core-aout.c corelow.c \
822e978b 1289 dcache.c delta68-nat.c dpx2-nat.c exec.c fork-child.c \
a3640c75 1290 glibc-tdep.c \
a5d61f66 1291 go32-nat.c h8300-tdep.c \
b1364885 1292 hppa-tdep.c hppa-hpux-tdep.c \
e584bbaf 1293 hppah-nat.c hpread.c \
e1b73efd 1294 i386-tdep.c i386b-nat.c i386v-nat.c i386-linux-nat.c \
1762d96d 1295 i386v4-nat.c i386ly-tdep.c i386-cygwin-tdep.c \
8a96bc77 1296 i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
e750d25e 1297 i387-tdep.c \
52b98211 1298 i386-linux-tdep.c i386-nat.c \
e0ca2bb9 1299 i386gnu-nat.c i386gnu-tdep.c \
8064c6ae 1300 ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c \
514e603d 1301 infptrace.c inftarg.c irix4-nat.c irix5-nat.c \
0e5d83e3 1302 libunwind-frame.c \
c906108c 1303 lynx-nat.c m3-nat.c \
1a12f22f 1304 m68hc11-tdep.c \
c906108c 1305 m68k-tdep.c \
96baa820 1306 mcore-tdep.c \
d2b57b94 1307 mips-linux-nat.c mips-linux-tdep.c \
9e086581 1308 mips-nat.c \
313fb2f6 1309 mips-irix-tdep.c \
3680c638 1310 mips-tdep.c mipsm3-nat.c mipsv4-nat.c \
257ce470 1311 mipsnbsd-nat.c mipsnbsd-tdep.c \
ea5bc2a6 1312 nbsd-tdep.c \
a1cd1908 1313 ns32k-tdep.c solib-osf.c \
c906108c 1314 somread.c somsolib.c $(HPREAD_SOURCE) \
7b112f9c
JT
1315 ppc-sysv-tdep.o ppc-linux-nat.c ppc-linux-tdep.c \
1316 ppcnbsd-nat.o ppcnbsd-tdep.o \
c5bb1243 1317 procfs.c \
2a9cda49 1318 remote-e7000.c \
b4b4b794 1319 remote-hms.c remote-m32r-sdi.c remote-mips.c \
4d210288 1320 remote-rdp.c remote-sim.c \
c906108c 1321 remote-st.c remote-utils.c dcache.c \
03c30d4d 1322 remote-vx.c \
c906108c 1323 rs6000-nat.c rs6000-tdep.c \
e81b020b 1324 s390-tdep.c s390-nat.c \
a196c81c 1325 ser-go32.c ser-pipe.c ser-tcp.c \
55ff77ac 1326 sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
386c036b
MK
1327 solib.c solib-irix.c solib-svr4.c solib-sunos.c \
1328 sparc-linux-tdep.c sparc-nat.c sparc-sol2-nat.c sparc-sol2-tdep.c \
1329 sparc-tdep.c sparc-sol2-nat.c sparc-sol2-tdep.c sparc64-linux-nat.c \
1330 sparc64-linux-tdep.c sparc64-nat.c sparc64-sol2-tdep.c \
1331 sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
1e067c66 1332 sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
566626fa 1333 sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
386c036b 1334 sun3-nat.c \
c906108c 1335 symm-tdep.c symm-nat.c \
c906108c
SS
1336 vax-tdep.c \
1337 vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
1338 win32-nat.c \
0c884e17 1339 xcoffread.c xcoffsolib.c \
a5d61f66 1340 xstormy16-tdep.c
c906108c 1341
f92d4a7b
AC
1342# Some files need explict build rules (due to -Werror problems) or due
1343# to sub-directory fun 'n' games.
1344
1345# Provide explicit rule/dependency - works for more makes.
1346copying.o: $(srcdir)/copying.c
1347 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/copying.c
1348
1349hpux-thread.o: $(srcdir)/hpux-thread.c
1350 $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
1351 -I$(srcdir)/osf-share/HP800 -I/usr/include/dce \
1352 $(srcdir)/hpux-thread.c
1353
030292b7
DJ
1354# main.o needs an explicit build rule to get TARGET_SYSTEM_ROOT and BINDIR.
1355main.o: main.c
1356 $(CC) -c $(INTERNAL_CFLAGS) $(TARGET_SYSTEM_ROOT_DEFINE) \
1357 -DBINDIR=\"$(bindir)\" $(srcdir)/main.c
1358
cf6a0e73
AC
1359# FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral
1360# errors. It turns out that that is the least of monitor.c's
1361# problems. The function print_vsprintf appears to be using
1362# va_arg(long) to extract CORE_ADDR parameters - something that
1363# definitly will not work. "monitor.c" needs to be rewritten so that
1364# it doesn't use format strings and instead uses callbacks.
1365monitor.o: $(srcdir)/monitor.c
1366 $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/monitor.c
1367
4677b456
AC
1368# FIXME: cagney/2003-08-10: Do not try to build "printcmd.c" with
1369# -Wformat-nonliteral. It needs to be overhauled so that it doesn't
1370# pass user input strings as the format parameter to host printf
1371# function calls.
1372printcmd.o: $(srcdir)/printcmd.c
1373 $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/printcmd.c
1374
f92d4a7b
AC
1375# FIXME: Procfs.o gets -Wformat errors because things like pid_t don't
1376# match output format strings.
1377procfs.o: $(srcdir)/procfs.c
1378 $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c
1379
57725d84
EZ
1380# FIXME: Thread-db.o gets warnings because the definitions of the register
1381# sets are different from kernel to kernel.
1382thread-db.o: $(srcdir)/thread-db.c
1383 $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
1384 $(srcdir)/thread-db.c
1385
f92d4a7b
AC
1386v850ice.o: $(srcdir)/v850ice.c
1387 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
b2a1bd4f 1388 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
f92d4a7b
AC
1389 $(GDBTK_CFLAGS) \
1390 $(srcdir)/v850ice.c
1391
07978cd8
AC
1392# FIXME: cagney/2003-08-10: Do not try to build "valprint.c" with
1393# -Wformat-nonliteral. It relies on local_hex_format et.al. and
1394# that's a mess. It needs a serious overhaul.
1395valprint.o: $(srcdir)/valprint.c
1396 $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/valprint.c
1397
0e0d15ca 1398#
1517c6d1 1399# YACC/LEX dependencies
0e0d15ca 1400#
1517c6d1
AC
1401# LANG-exp.tab.c is generated in objdir from LANG-exp.y if it doesn't
1402# exist in srcdir, then compiled in objdir to LANG-exp.tab.o. If we
1403# said LANG-exp.tab.c rather than ./c-exp.tab.c some makes would
1404# sometimes re-write it into $(srcdir)/c-exp.tab.c. Remove bogus
1405# decls for malloc/realloc/free which conflict with everything else.
1406# Strictly speaking c-exp.tab.c should therefore depend on
1407# Makefile.in, but that was a pretty big annoyance.
0e0d15ca 1408
1517c6d1 1409.PRECIOUS: ada-exp.tab.c
91092ee5
AC
1410ada-exp.tab.o: ada-exp.tab.c $(defs_h) $(expression_h) $(value_h) \
1411 $(parser_defs_h) $(language_h) $(ada_lang_h) $(bfd_h) $(symfile_h) \
1412 $(objfiles_h) $(frame_h) $(block_h) $(ada_lex_c)
1413ada-exp.tab.c: ada-exp.y
1414 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1415 $(srcdir)/ada-exp.y y.tab.c ada-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1416 -sed -e '/extern.*malloc/d' \
1417 -e '/extern.*realloc/d' \
1418 -e '/extern.*free/d' \
1419 -e '/include.*malloc.h/d' \
1420 -e 's/malloc/xmalloc/g' \
1421 -e 's/realloc/xrealloc/g' \
91092ee5
AC
1422 -e '/^#line.*y.tab.c/d' \
1423 < ada-exp.tmp > ada-exp.new
1424 -rm ada-exp.tmp
1517c6d1
AC
1425 mv ada-exp.new ./ada-exp.tab.c
1426.PRECIOUS: ada-lex.c
1427ada-lex.o: ada-lex.c
1428ada-lex.c: ada-lex.l
1429 @if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
1430 echo $(FLEX) -Isit $(srcdir)/ada-lex.l ">" ada-lex.c; \
1431 $(FLEX) -Isit $(srcdir)/ada-lex.l > ada-lex.c; \
1432 elif [ ! -f ada-lex.c -a ! -f $(srcdir)/ada-lex.c ]; then \
1433 echo "ada-lex.c missing and flex not available."; \
1434 false; \
1435 elif [ ! -f ada-lex.c ]; then \
1436 echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
1437 fi
1438.PRECIOUS: c-exp.tab.c
0e0d15ca
AC
1439c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
1440 $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) $(bfd_h) \
79c2c32d 1441 $(symfile_h) $(objfiles_h) $(charset_h) $(block_h) $(cp_support_h)
1517c6d1 1442c-exp.tab.c: c-exp.y
91092ee5 1443 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1444 $(srcdir)/c-exp.y y.tab.c c-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1445 -sed -e '/extern.*malloc/d' \
1446 -e '/extern.*realloc/d' \
1447 -e '/extern.*free/d' \
1448 -e '/include.*malloc.h/d' \
1449 -e 's/malloc/xmalloc/g' \
1450 -e 's/realloc/xrealloc/g' \
1451 -e '/^#line.*y.tab.c/d' \
1452 < c-exp.tmp > c-exp.new
1453 -rm c-exp.tmp
1454 mv c-exp.new ./c-exp.tab.c
1455.PRECIOUS: f-exp.tab.c
91092ee5
AC
1456f-exp.tab.o: f-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
1457 $(value_h) $(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) \
1458 $(symfile_h) $(objfiles_h) $(block_h)
1517c6d1 1459f-exp.tab.c: f-exp.y
91092ee5 1460 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1461 $(srcdir)/f-exp.y y.tab.c f-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1462 -sed -e '/extern.*malloc/d' \
1463 -e '/extern.*realloc/d' \
1464 -e '/extern.*free/d' \
1465 -e '/include.*malloc.h/d' \
1466 -e 's/malloc/xmalloc/g' \
1467 -e 's/realloc/xrealloc/g' \
1468 -e '/^#line.*y.tab.c/d' \
1469 < f-exp.tmp > f-exp.new
1470 -rm f-exp.tmp
1471 mv f-exp.new ./f-exp.tab.c
1472.PRECIOUS: jv-exp.tab.c
91092ee5
AC
1473jv-exp.tab.o: jv-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
1474 $(value_h) $(parser_defs_h) $(language_h) $(jv_lang_h) $(bfd_h) \
1475 $(symfile_h) $(objfiles_h) $(block_h)
1517c6d1 1476jv-exp.tab.c: jv-exp.y
91092ee5 1477 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1478 $(srcdir)/jv-exp.y y.tab.c jv-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1479 -sed -e '/extern.*malloc/d' \
1480 -e '/extern.*realloc/d' \
1481 -e '/extern.*free/d' \
1482 -e '/include.*malloc.h/d' \
1483 -e 's/malloc/xmalloc/g' \
1484 -e 's/realloc/xrealloc/g' \
1485 -e '/^#line.*y.tab.c/d' \
1486 < jv-exp.tmp > jv-exp.new
1487 -rm jv-exp.tmp
1488 mv jv-exp.new ./jv-exp.tab.c
1489.PRECIOUS: m2-exp.tab.c
91092ee5
AC
1490m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
1491 $(language_h) $(value_h) $(parser_defs_h) $(m2_lang_h) $(bfd_h) \
1492 $(symfile_h) $(objfiles_h) $(block_h)
1517c6d1 1493m2-exp.tab.c: m2-exp.y
91092ee5 1494 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1495 $(srcdir)/m2-exp.y y.tab.c m2-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1496 -sed -e '/extern.*malloc/d' \
1497 -e '/extern.*realloc/d' \
1498 -e '/extern.*free/d' \
1499 -e '/include.*malloc.h/d' \
1500 -e 's/malloc/xmalloc/g' \
1501 -e 's/realloc/xrealloc/g' \
1502 -e '/^#line.*y.tab.c/d' \
1503 < m2-exp.tmp > m2-exp.new
1504 -rm m2-exp.tmp
1505 mv m2-exp.new ./m2-exp.tab.c
1506.PRECIOUS: objc-exp.tab.c
91092ee5
AC
1507objc-exp.tab.o: objc-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
1508 $(objc_lang_h) $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
1509 $(bfd_h) $(symfile_h) $(objfiles_h) $(top_h) $(completer_h) \
1510 $(block_h)
1517c6d1 1511objc-exp.tab.c: objc-exp.y
91092ee5 1512 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1513 $(srcdir)/objc-exp.y y.tab.c objc-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1514 -sed -e '/extern.*malloc/d' \
1515 -e '/extern.*realloc/d' \
1516 -e '/extern.*free/d' \
1517 -e '/include.*malloc.h/d' \
1518 -e 's/malloc/xmalloc/g' \
1519 -e 's/realloc/xrealloc/g' \
1520 -e '/^#line.*y.tab.c/d' \
1521 < objc-exp.tmp > objc-exp.new
1522 -rm objc-exp.tmp
1523 mv objc-exp.new ./objc-exp.tab.c
1524.PRECIOUS: p-exp.tab.c
91092ee5
AC
1525p-exp.tab.o: p-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
1526 $(value_h) $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) \
1527 $(symfile_h) $(objfiles_h) $(block_h)
1517c6d1 1528p-exp.tab.c: p-exp.y
91092ee5 1529 $(SHELL) $(YLWRAP) "$(YACC)" \
3cf93817 1530 $(srcdir)/p-exp.y y.tab.c p-exp.tmp -- $(YFLAGS)
1517c6d1
AC
1531 -sed -e '/extern.*malloc/d' \
1532 -e '/extern.*realloc/d' \
1533 -e '/extern.*free/d' \
1534 -e '/include.*malloc.h/d' \
1535 -e 's/malloc/xmalloc/g' \
1536 -e 's/realloc/xrealloc/g' \
1537 -e '/^#line.*y.tab.c/d' \
1538 < p-exp.tmp > p-exp.new
1539 -rm p-exp.tmp
1540 mv p-exp.new ./p-exp.tab.c
0e0d15ca 1541
e822a2a0 1542#
1517c6d1 1543# gdb/ dependencies
e822a2a0 1544#
f92d4a7b 1545
e822a2a0 1546abug-rom.o: abug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
32eeb91a 1547 $(serial_h) $(regcache_h) $(m68k_tdep_h)
e822a2a0
AC
1548ada-lang.o: ada-lang.c $(gdb_string_h) $(demangle_h) $(defs_h) $(symtab_h) \
1549 $(gdbtypes_h) $(gdbcmd_h) $(expression_h) $(parser_defs_h) \
1550 $(language_h) $(c_lang_h) $(inferior_h) $(symfile_h) $(objfiles_h) \
04714b91 1551 $(breakpoint_h) $(gdbcore_h) $(ada_lang_h) $(ui_out_h) $(block_h) \
de4f826b 1552 $(infcall_h) $(dictionary_h)
e822a2a0 1553ada-tasks.o: ada-tasks.c $(defs_h) $(command_h) $(value_h) $(language_h) \
91092ee5
AC
1554 $(inferior_h) $(symtab_h) $(target_h) $(regcache_h) $(gdbcore_h) \
1555 $(gregset_h) $(ada_lang_h)
e822a2a0
AC
1556ada-typeprint.o: ada-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) \
1557 $(symtab_h) $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) \
1558 $(target_h) $(command_h) $(gdbcmd_h) $(language_h) $(demangle_h) \
1559 $(c_lang_h) $(typeprint_h) $(ada_lang_h) $(gdb_string_h)
1560ada-valprint.o: ada-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
1561 $(expression_h) $(value_h) $(demangle_h) $(valprint_h) $(language_h) \
04714b91 1562 $(annotate_h) $(ada_lang_h) $(c_lang_h) $(infcall_h)
e822a2a0
AC
1563aix-thread.o: aix-thread.c $(defs_h) $(gdb_assert_h) $(gdbthread_h) \
1564 $(target_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) $(language_h) \
1565 $(ppc_tdep_h)
91092ee5
AC
1566alphabsd-nat.o: alphabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1567 $(alpha_tdep_h) $(alphabsd_tdep_h) $(gregset_h)
1568alphabsd-tdep.o: alphabsd-tdep.c $(defs_h) $(alpha_tdep_h) \
1569 $(alphabsd_tdep_h)
1570alphafbsd-tdep.o: alphafbsd-tdep.c $(defs_h) $(value_h) $(osabi_h) \
1571 $(alpha_tdep_h)
baa490c4 1572alpha-linux-tdep.o: alpha-linux-tdep.c $(defs_h) $(frame_h) $(gdb_assert_h) \
91092ee5 1573 $(osabi_h) $(alpha_tdep_h)
8f285956
RH
1574alpha-mdebug-tdep.o: alpha-mdebug-tdep.c $(defs_h) $(frame_h) \
1575 $(frame_unwind_h) $(frame_base_h) $(symtab_h) $(gdbcore_h) \
1576 $(block_h) $(gdb_assert_h) $(alpha_tdep_h)
91092ee5
AC
1577alpha-nat.o: alpha-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
1578 $(gdbcore_h) $(target_h) $(regcache_h) $(alpha_tdep_h) $(gregset_h)
2ca8ae21 1579alphanbsd-tdep.o: alphanbsd-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
91092ee5
AC
1580 $(regcache_h) $(value_h) $(osabi_h) $(solib_svr4_h) $(alpha_tdep_h) \
1581 $(alphabsd_tdep_h) $(nbsd_tdep_h)
1582alpha-osf1-tdep.o: alpha-osf1-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
1583 $(value_h) $(osabi_h) $(gdb_string_h) $(objfiles_h) $(alpha_tdep_h)
1584alpha-tdep.o: alpha-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
1585 $(frame_unwind_h) $(frame_base_h) $(dwarf2_frame_h) $(inferior_h) \
1586 $(symtab_h) $(value_h) $(gdbcmd_h) $(gdbcore_h) $(dis_asm_h) \
1587 $(symfile_h) $(objfiles_h) $(gdb_string_h) $(linespec_h) \
1588 $(regcache_h) $(reggroups_h) $(arch_utils_h) $(osabi_h) $(block_h) \
1589 $(elf_bfd_h) $(alpha_tdep_h)
cced5e27
MK
1590amd64bsd-nat.o: amd64bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1591 $(gdb_assert_h) $(x86_64_tdep_h) $(amd64_nat_h)
91092ee5 1592amd64fbsd-nat.o: amd64fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
c14a44d5 1593 $(gdb_assert_h) $(gregset_h) $(x86_64_tdep_h) $(amd64_nat_h)
91092ee5 1594amd64fbsd-tdep.o: amd64fbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
68cc0bfb
MK
1595 $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
1596 $(x86_64_tdep_h)
b2100910
AC
1597amd64-nat.o: amd64-nat.c $(defs_h) $(gdbarch_h) $(regcache_h) \
1598 $(gdb_assert_h) $(i386_tdep_h) $(x86_64_tdep_h)
1599amd64nbsd-nat.o: amd64nbsd-nat.c $(defs_h) $(gdb_assert_h) $(x86_64_tdep_h) \
1600 $(amd64_nat_h)
cced5e27
MK
1601amd64nbsd-tdep.o: amd64nbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
1602 $(gdbcore_h) $(osabi_h) $(gdb_assert_h) $(nbsd_tdep_h) \
1603 $(x86_64_tdep_h)
e822a2a0
AC
1604annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) \
1605 $(gdbtypes_h) $(breakpoint_h)
1bfd8a83
AC
1606arch-utils.o: arch-utils.c $(defs_h) $(arch_utils_h) $(buildsym_h) \
1607 $(gdbcmd_h) $(inferior_h) $(gdb_string_h) $(regcache_h) \
b2100910
AC
1608 $(gdb_assert_h) $(sim_regno_h) $(osabi_h) $(version_h) \
1609 $(floatformat_h)
ed9a39eb 1610arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
b2100910 1611 $(gdb_string_h) $(regcache_h) $(arm_tdep_h) $(gregset_h)
1b0cad1c 1612arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
e822a2a0 1613 $(gdbtypes_h) $(floatformat_h) $(gdbcore_h) $(frame_h) $(regcache_h) \
b2100910
AC
1614 $(doublest_h) $(solib_svr4_h) $(osabi_h) $(arm_tdep_h) \
1615 $(glibc_tdep_h)
70f80edf
JT
1616armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(arm_tdep_h) $(inferior_h) \
1617 $(regcache_h) $(gdbcore_h)
91092ee5
AC
1618armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) $(osabi_h) $(arm_tdep_h) \
1619 $(nbsd_tdep_h) $(solib_svr4_h)
1620arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \
1621 $(gdbcore_h) $(symfile_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \
c14a44d5
AC
1622 $(doublest_h) $(value_h) $(arch_utils_h) $(osabi_h) \
1623 $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(arm_tdep_h) \
91092ee5 1624 $(gdb_sim_arm_h) $(elf_bfd_h) $(coff_internal_h) $(elf_arm_h) \
c14a44d5 1625 $(gdb_assert_h) $(bfd_in2_h) $(libcoff_h)
3cf93817
RM
1626auxv.o: $(defs_h) $(target_h) $(gdbtypes_h) $(command_h) $(gdb_assert_h) \
1627 $(auxv_h) $(elf_common_h) $(valprint_h) $(inferior_h)
91092ee5
AC
1628avr-tdep.o: avr-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
1629 $(frame_base_h) $(trad_frame_h) $(gdbcmd_h) $(gdbcore_h) \
1630 $(inferior_h) $(symfile_h) $(arch_utils_h) $(regcache_h) \
a89aa300 1631 $(gdb_string_h) $(dis_asm_h)
e822a2a0
AC
1632ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) \
1633 $(value_h) $(expression_h) $(command_h) $(gdbcmd_h) $(frame_h) \
7b83296f
AC
1634 $(target_h) $(ax_h) $(ax_gdb_h) $(gdb_string_h) $(block_h) \
1635 $(regcache_h)
e822a2a0 1636ax-general.o: ax-general.c $(defs_h) $(ax_h) $(value_h) $(gdb_string_h)
b2100910
AC
1637bcache.o: bcache.c $(defs_h) $(gdb_obstack_h) $(bcache_h) $(gdb_string_h) \
1638 $(gdb_assert_h)
bba2d28d
AC
1639bfd-target.o: bfd-target.c $(defs_h) $(target_h) $(bfd_target_h) \
1640 $(gdb_assert_h) $(gdb_string_h)
9219021c
DC
1641block.o: block.c $(defs_h) $(block_h) $(symtab_h) $(symfile_h) \
1642 $(gdb_obstack_h) $(cp_support_h)
e822a2a0
AC
1643blockframe.o: blockframe.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
1644 $(objfiles_h) $(frame_h) $(gdbcore_h) $(value_h) $(target_h) \
9c1412c1 1645 $(inferior_h) $(annotate_h) $(regcache_h) $(gdb_assert_h) \
fe898f56 1646 $(dummy_frame_h) $(command_h) $(gdbcmd_h) $(block_h)
e822a2a0
AC
1647breakpoint.o: breakpoint.c $(defs_h) $(symtab_h) $(frame_h) $(breakpoint_h) \
1648 $(gdbtypes_h) $(expression_h) $(gdbcore_h) $(gdbcmd_h) $(value_h) \
1649 $(command_h) $(inferior_h) $(gdbthread_h) $(target_h) $(language_h) \
1650 $(gdb_string_h) $(demangle_h) $(annotate_h) $(symfile_h) \
91092ee5
AC
1651 $(objfiles_h) $(source_h) $(linespec_h) $(completer_h) $(gdb_h) \
1652 $(ui_out_h) $(cli_script_h) $(gdb_assert_h) $(block_h) \
1653 $(gdb_events_h)
04ea0df1 1654buildsym.o: buildsym.c $(defs_h) $(bfd_h) $(gdb_obstack_h) $(symtab_h) \
bf4ae8b2 1655 $(symfile_h) $(objfiles_h) $(gdbtypes_h) $(gdb_assert_h) \
91092ee5
AC
1656 $(complaints_h) $(gdb_string_h) $(expression_h) $(language_h) \
1657 $(bcache_h) $(filenames_h) $(macrotab_h) $(demangle_h) $(block_h) \
1658 $(cp_support_h) $(dictionary_h) $(buildsym_h) $(stabsread_h)
1659charset.o: charset.c $(defs_h) $(charset_h) $(gdbcmd_h) $(gdb_assert_h) \
1660 $(gdb_string_h)
e822a2a0
AC
1661c-lang.o: c-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
1662 $(parser_defs_h) $(language_h) $(c_lang_h) $(valprint_h) \
9a3d7dfd 1663 $(macroscope_h) $(gdb_assert_h) $(charset_h) $(gdb_string_h) \
91092ee5 1664 $(demangle_h) $(cp_support_h)
e822a2a0
AC
1665cli-out.o: cli-out.c $(defs_h) $(ui_out_h) $(cli_out_h) $(gdb_string_h) \
1666 $(gdb_assert_h)
91092ee5
AC
1667coff-pe-read.o: coff-pe-read.c $(coff_pe_read_h) $(bfd_h) $(defs_h) \
1668 $(gdbtypes_h) $(symtab_h) $(symfile_h) $(objfiles_h)
04ea0df1
AC
1669coffread.o: coffread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(demangle_h) \
1670 $(breakpoint_h) $(bfd_h) $(gdb_obstack_h) $(gdb_string_h) \
1671 $(coff_internal_h) $(libcoff_h) $(symfile_h) $(objfiles_h) \
1672 $(buildsym_h) $(gdb_stabs_h) $(stabsread_h) $(complaints_h) \
de4f826b
DC
1673 $(target_h) $(gdb_assert_h) $(block_h) $(dictionary_h) \
1674 $(coff_pe_read_h)
91092ee5
AC
1675coff-solib.o: coff-solib.c $(defs_h) $(frame_h) $(bfd_h) $(gdbcore_h) \
1676 $(symtab_h) $(symfile_h) $(objfiles_h)
b9caf505
AC
1677complaints.o: complaints.c $(defs_h) $(complaints_h) $(gdb_assert_h) \
1678 $(command_h) $(gdbcmd_h)
e822a2a0 1679completer.o: completer.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
b2100910
AC
1680 $(filenames_h) $(language_h) $(cli_decode_h) $(gdbcmd_h) \
1681 $(completer_h)
e822a2a0
AC
1682copying.o: copying.c $(defs_h) $(command_h) $(gdbcmd_h)
1683core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(regcache_h) \
1684 $(gdb_dirent_h) $(gdb_stat_h)
e822a2a0
AC
1685corefile.o: corefile.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symtab_h) \
1686 $(command_h) $(gdbcmd_h) $(bfd_h) $(target_h) $(gdbcore_h) \
1687 $(dis_asm_h) $(gdb_stat_h) $(completer_h)
b2100910
AC
1688corelow.o: corelow.c $(defs_h) $(arch_utils_h) $(gdb_string_h) $(frame_h) \
1689 $(inferior_h) $(symtab_h) $(command_h) $(bfd_h) $(target_h) \
1690 $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(regset_h) $(symfile_h) \
1691 $(exec_h) $(gdb_assert_h)
91092ee5
AC
1692core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \
1693 $(inferior_h) $(target_h) $(gdb_string_h) $(gregset_h)
91092ee5
AC
1694cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(command_h) $(gdbcmd_h) \
1695 $(ui_out_h) $(gdb_string_h)
9219021c 1696cp-namespace.o: cp-namespace.c $(defs_h) $(cp_support_h) $(gdb_obstack_h) \
5c4e30ca 1697 $(symtab_h) $(symfile_h) $(gdb_assert_h) $(block_h) $(objfiles_h) \
b368761e 1698 $(gdbtypes_h) $(dictionary_h) $(command_h) $(frame_h)
9219021c 1699cp-support.o: cp-support.c $(defs_h) $(cp_support_h) $(gdb_string_h) \
b6429628 1700 $(demangle_h) $(gdb_assert_h) $(gdbcmd_h) $(dictionary_h) \
b2100910
AC
1701 $(objfiles_h) $(frame_h) $(symtab_h) $(block_h) $(complaints_h) \
1702 $(gdbtypes_h)
91092ee5
AC
1703cpu32bug-rom.o: cpu32bug-rom.c $(defs_h) $(gdbcore_h) $(target_h) \
1704 $(monitor_h) $(serial_h) $(regcache_h) $(m68k_tdep_h)
04ea0df1
AC
1705cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
1706 $(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
1707 $(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \
973177d3 1708 $(cp_abi_h) $(valprint_h)
e822a2a0
AC
1709cris-tdep.o: cris-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(inferior_h) \
1710 $(gdbtypes_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) $(value_h) \
c14a44d5 1711 $(opcode_cris_h) $(arch_utils_h) $(regcache_h) $(gdb_assert_h) \
a89aa300 1712 $(symfile_h) $(solib_h) $(solib_svr4_h) $(gdb_string_h) $(dis_asm_h)
91092ee5
AC
1713c-typeprint.o: c-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
1714 $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
1715 $(language_h) $(demangle_h) $(c_lang_h) $(typeprint_h) $(cp_abi_h) \
1716 $(gdb_string_h)
1717c-valprint.o: c-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
b2100910
AC
1718 $(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) $(language_h) \
1719 $(c_lang_h) $(cp_abi_h) $(target_h)
270cb5d6
AC
1720d10v-tdep.o: d10v-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
1721 $(frame_base_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
1722 $(gdb_string_h) $(value_h) $(inferior_h) $(dis_asm_h) $(symfile_h) \
91092ee5
AC
1723 $(objfiles_h) $(language_h) $(arch_utils_h) $(regcache_h) \
1724 $(remote_h) $(floatformat_h) $(gdb_sim_d10v_h) $(sim_regno_h) \
1725 $(disasm_h) $(trad_frame_h) $(gdb_assert_h)
e822a2a0 1726dbug-rom.o: dbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
32eeb91a 1727 $(serial_h) $(regcache_h) $(m68k_tdep_h)
e822a2a0
AC
1728dbxread.o: dbxread.c $(defs_h) $(gdb_string_h) $(gdb_obstack_h) \
1729 $(gdb_stat_h) $(symtab_h) $(breakpoint_h) $(target_h) $(gdbcore_h) \
1730 $(libaout_h) $(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
04ea0df1 1731 $(gdb_stabs_h) $(demangle_h) $(language_h) $(complaints_h) \
1bfd8a83 1732 $(cp_abi_h) $(gdb_assert_h) $(aout_aout64_h) $(aout_stab_gnu_h)
e822a2a0
AC
1733dcache.o: dcache.c $(defs_h) $(dcache_h) $(gdbcmd_h) $(gdb_string_h) \
1734 $(gdbcore_h) $(target_h)
c906108c 1735delta68-nat.o: delta68-nat.c $(defs_h)
e822a2a0
AC
1736demangle.o: demangle.c $(defs_h) $(command_h) $(gdbcmd_h) $(demangle_h) \
1737 $(gdb_string_h)
de4f826b
DC
1738dictionary.o: dictionary.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
1739 $(buildsym_h) $(gdb_assert_h) $(dictionary_h)
e822a2a0
AC
1740dink32-rom.o: dink32-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
1741 $(serial_h) $(symfile_h) $(inferior_h) $(regcache_h)
91092ee5 1742disasm.o: disasm.c $(defs_h) $(target_h) $(value_h) $(ui_out_h) \
a89aa300 1743 $(gdb_string_h) $(disasm_h) $(gdbcore_h) $(dis_asm_h)
e822a2a0
AC
1744doublest.o: doublest.c $(defs_h) $(doublest_h) $(floatformat_h) \
1745 $(gdb_assert_h) $(gdb_string_h) $(gdbtypes_h)
6e0ce711 1746dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) $(gdb_string_h)
cdcd5552
AC
1747dsrec.o: dsrec.c $(defs_h) $(serial_h) $(srec_h) $(gdb_assert_h) \
1748 $(gdb_string_h)
9c1412c1 1749dummy-frame.o: dummy-frame.c $(defs_h) $(dummy_frame_h) $(regcache_h) \
00905d52
AC
1750 $(frame_h) $(inferior_h) $(gdb_assert_h) $(frame_unwind_h) \
1751 $(command_h) $(gdbcmd_h)
e822a2a0 1752dve3900-rom.o: dve3900-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
56cea623
AC
1753 $(serial_h) $(inferior_h) $(command_h) $(gdb_string_h) $(regcache_h) \
1754 $(mips_tdep_h)
4c2df51b 1755dwarf2expr.o: dwarf2expr.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(value_h) \
91092ee5
AC
1756 $(gdbcore_h) $(elf_dwarf2_h) $(dwarf2expr_h)
1757dwarf2-frame.o: dwarf2-frame.c $(defs_h) $(dwarf2expr_h) $(elf_dwarf2_h) \
1758 $(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \
1759 $(gdbtypes_h) $(symtab_h) $(objfiles_h) $(regcache_h) \
1760 $(gdb_assert_h) $(gdb_string_h) $(complaints_h) $(dwarf2_frame_h)
4c2df51b 1761dwarf2loc.o: dwarf2loc.c $(defs_h) $(ui_out_h) $(value_h) $(frame_h) \
91092ee5
AC
1762 $(gdbcore_h) $(target_h) $(inferior_h) $(ax_h) $(ax_gdb_h) \
1763 $(regcache_h) $(objfiles_h) $(elf_dwarf2_h) $(dwarf2expr_h) \
1764 $(dwarf2loc_h) $(gdb_string_h)
e822a2a0
AC
1765dwarf2read.o: dwarf2read.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
1766 $(symfile_h) $(objfiles_h) $(elf_dwarf2_h) $(buildsym_h) \
1767 $(demangle_h) $(expression_h) $(filenames_h) $(macrotab_h) \
4c2df51b 1768 $(language_h) $(complaints_h) $(bcache_h) $(dwarf2expr_h) \
9219021c 1769 $(dwarf2loc_h) $(cp_support_h) $(gdb_string_h) $(gdb_assert_h)
e822a2a0
AC
1770dwarfread.o: dwarfread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
1771 $(objfiles_h) $(elf_dwarf_h) $(buildsym_h) $(demangle_h) \
1772 $(expression_h) $(language_h) $(complaints_h) $(gdb_string_h)
1773elfread.o: elfread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(elf_bfd_h) \
1774 $(elf_mips_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
1775 $(stabsread_h) $(gdb_stabs_h) $(complaints_h) $(demangle_h)
1776environ.o: environ.c $(defs_h) $(environ_h) $(gdb_string_h)
1777eval.o: eval.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
1778 $(value_h) $(expression_h) $(target_h) $(frame_h) $(language_h) \
5f9769d1
PH
1779 $(f_lang_h) $(cp_abi_h) $(infcall_h) $(objc_lang_h) $(block_h) \
1780 $(parser_defs_h)
e822a2a0
AC
1781event-loop.o: event-loop.c $(defs_h) $(event_loop_h) $(event_top_h) \
1782 $(gdb_string_h)
1783event-top.o: event-top.c $(defs_h) $(top_h) $(inferior_h) $(target_h) \
4389a95a
AC
1784 $(terminal_h) $(event_loop_h) $(event_top_h) $(interps_h) \
1785 $(gdbcmd_h)
e822a2a0
AC
1786exec.o: exec.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcmd_h) \
1787 $(language_h) $(symfile_h) $(objfiles_h) $(completer_h) $(value_h) \
b2100910 1788 $(exec_h) $(gdb_string_h) $(gdbcore_h) $(gdb_stat_h) $(xcoffsolib_h)
e822a2a0 1789expprint.o: expprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
eb8bc282
AC
1790 $(value_h) $(language_h) $(parser_defs_h) $(user_regs_h) $(target_h) \
1791 $(gdb_string_h) $(block_h)
e822a2a0
AC
1792fbsd-proc.o: fbsd-proc.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1793 $(gdb_string_h) $(elf_bfd_h) $(gregset_h)
1794findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \
1795 $(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \
1796 $(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \
eb8bc282 1797 $(user_regs_h) $(block_h)
91092ee5
AC
1798f-lang.o: f-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
1799 $(expression_h) $(parser_defs_h) $(language_h) $(f_lang_h) \
1800 $(valprint_h) $(value_h)
e822a2a0
AC
1801fork-child.o: fork-child.c $(defs_h) $(gdb_string_h) $(frame_h) \
1802 $(inferior_h) $(target_h) $(gdb_wait_h) $(gdb_vfork_h) $(gdbcore_h) \
1803 $(terminal_h) $(gdbthread_h) $(command_h)
91092ee5 1804frame-base.o: frame-base.c $(defs_h) $(frame_base_h) $(frame_h)
367e21d8 1805frame.o: frame.c $(defs_h) $(frame_h) $(target_h) $(value_h) $(inferior_h) \
eb8bc282 1806 $(regcache_h) $(gdb_assert_h) $(gdb_string_h) $(user_regs_h) \
da62e633
AC
1807 $(gdb_obstack_h) $(dummy_frame_h) $(sentinel_frame_h) $(gdbcore_h) \
1808 $(annotate_h) $(language_h) $(frame_unwind_h) $(frame_base_h) \
1809 $(command_h) $(gdbcmd_h)
494cca16 1810frame-unwind.o: frame-unwind.c $(defs_h) $(frame_h) $(frame_unwind_h) \
91092ee5 1811 $(gdb_assert_h) $(dummy_frame_h)
8baa6f92 1812frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symfile_h) \
c14a44d5 1813 $(gdbcore_h) $(arch_utils_h) $(regcache_h) $(frame_h) \
526eef89 1814 $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(dis_asm_h) \
b2100910
AC
1815 $(gdb_assert_h) $(sim_regno_h) $(gdb_sim_frv_h) \
1816 $(opcodes_frv_desc_h)
91092ee5
AC
1817f-typeprint.o: f-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
1818 $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
1819 $(f_lang_h) $(gdb_string_h)
1820f-valprint.o: f-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
1821 $(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) $(language_h) \
1822 $(f_lang_h) $(frame_h) $(gdbcore_h) $(command_h) $(block_h)
1bfd8a83
AC
1823gcore.o: gcore.c $(defs_h) $(elf_bfd_h) $(infcall_h) $(inferior_h) \
1824 $(gdbcore_h) $(objfiles_h) $(symfile_h) $(cli_decode_h) \
1825 $(gdb_assert_h)
b66d6d2e 1826gdbarch.o: gdbarch.c $(defs_h) $(arch_utils_h) $(gdbcmd_h) $(inferior_h) \
c14a44d5
AC
1827 $(symcat_h) $(floatformat_h) $(gdb_assert_h) $(gdb_string_h) \
1828 $(gdb_events_h) $(reggroups_h) $(osabi_h) $(symfile_h) \
1829 $(gdb_obstack_h)
91092ee5
AC
1830gdb.o: gdb.c $(defs_h) $(main_h) $(gdb_string_h) $(interps_h)
1831gdb-events.o: gdb-events.c $(defs_h) $(gdb_events_h) $(gdbcmd_h)
e822a2a0
AC
1832gdbtypes.o: gdbtypes.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
1833 $(symfile_h) $(objfiles_h) $(gdbtypes_h) $(expression_h) \
1834 $(language_h) $(target_h) $(value_h) $(demangle_h) $(complaints_h) \
1835 $(gdbcmd_h) $(wrapper_h) $(cp_abi_h) $(gdb_assert_h)
b2100910
AC
1836glibc-tdep.o: glibc-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \
1837 $(objfiles_h) $(glibc_tdep_h)
e822a2a0
AC
1838gnu-nat.o: gnu-nat.c $(gdb_string_h) $(defs_h) $(inferior_h) $(symtab_h) \
1839 $(value_h) $(language_h) $(target_h) $(gdb_wait_h) $(gdbcmd_h) \
91092ee5
AC
1840 $(gdbcore_h) $(gdbthread_h) $(gdb_assert_h) $(gdb_obstack_h) \
1841 $(gnu_nat_h) $(exc_request_S_h) $(notify_S_h) $(process_reply_S_h) \
1842 $(msg_reply_S_h) $(exc_request_U_h) $(msg_U_h)
529acb48 1843gnu-v2-abi.o: gnu-v2-abi.c $(defs_h) $(gdb_string_h) $(symtab_h) \
b2100910
AC
1844 $(gdbtypes_h) $(value_h) $(demangle_h) $(cp_abi_h) $(cp_support_h)
1845gnu-v3-abi.o: gnu-v3-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(cp_support_h) \
1846 $(demangle_h) $(gdb_assert_h) $(gdb_string_h)
e822a2a0
AC
1847go32-nat.o: go32-nat.c $(defs_h) $(inferior_h) $(gdb_wait_h) $(gdbcore_h) \
1848 $(command_h) $(gdbcmd_h) $(floatformat_h) $(buildsym_h) \
1849 $(i387_tdep_h) $(i386_tdep_h) $(value_h) $(regcache_h) \
1850 $(gdb_string_h)
91092ee5
AC
1851h8300-tdep.o: h8300-tdep.c $(defs_h) $(value_h) $(inferior_h) $(symfile_h) \
1852 $(arch_utils_h) $(regcache_h) $(gdbcore_h) $(objfiles_h) $(gdbcmd_h) \
a89aa300 1853 $(gdb_assert_h) $(dis_asm_h)
e822a2a0
AC
1854hpacc-abi.o: hpacc-abi.c $(defs_h) $(value_h) $(gdb_regex_h) $(gdb_string_h) \
1855 $(gdbtypes_h) $(gdbcore_h) $(cp_abi_h)
91092ee5
AC
1856hppah-nat.o: hppah-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
1857 $(gdb_wait_h) $(regcache_h) $(gdb_string_h)
1858hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
1859 $(osabi_h) $(gdb_string_h) $(frame_h)
e822a2a0 1860hppa-tdep.o: hppa-tdep.c $(defs_h) $(frame_h) $(bfd_h) $(inferior_h) \
65e82032 1861 $(value_h) $(regcache_h) $(completer_h) $(language_h) $(osabi_h) \
1bfd8a83 1862 $(gdb_assert_h) $(infttrace_h) $(symtab_h) $(infcall_h) $(dis_asm_h) \
04714b91 1863 $(a_out_encap_h) $(gdb_stat_h) $(gdb_wait_h) $(gdbcore_h) \
1bfd8a83 1864 $(gdbcmd_h) $(target_h) $(symfile_h) $(objfiles_h) $(hppa_tdep_h)
e822a2a0
AC
1865hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
1866 $(syms_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
1867 $(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
65e82032 1868 $(somsolib_h) $(gdb_assert_h) $(gdb_string_h)
e822a2a0 1869hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
b8a92b82 1870 $(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h)
91092ee5
AC
1871i386b-nat.o: i386b-nat.c $(defs_h)
1872i386bsd-nat.o: i386bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1873 $(gdb_assert_h) $(gregset_h) $(i386_tdep_h) $(i387_tdep_h)
1874i386bsd-tdep.o: i386bsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
1875 $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) $(i386_tdep_h)
1876i386-cygwin-tdep.o: i386-cygwin-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \
1877 $(i386_tdep_h)
c14a44d5
AC
1878i386fbsd-nat.o: i386fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
1879 $(i386_tdep_h)
8a96bc77
MK
1880i386fbsd-tdep.o: i386fbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
1881 $(i386_tdep_h) $(i387_tdep_h)
91092ee5
AC
1882i386gnu-nat.o: i386gnu-nat.c $(defs_h) $(inferior_h) $(floatformat_h) \
1883 $(regcache_h) $(gdb_assert_h) $(i386_tdep_h) $(gnu_nat_h) \
1884 $(i387_tdep_h) $(gregset_h)
1885i386gnu-tdep.o: i386gnu-tdep.c $(defs_h) $(osabi_h) $(i386_tdep_h)
1886i386-interix-nat.o: i386-interix-nat.c $(defs_h) $(gdb_string_h) \
1887 $(gdbcore_h) $(gregset_h) $(regcache_h)
1888i386-interix-tdep.o: i386-interix-tdep.c $(defs_h) $(arch_utils_h) \
1889 $(frame_h) $(gdb_string_h) $(gdb_stabs_h) $(gdbcore_h) $(gdbtypes_h) \
1890 $(i386_tdep_h) $(inferior_h) $(libbfd_h) $(objfiles_h) $(osabi_h) \
1891 $(regcache_h)
e822a2a0 1892i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
c14a44d5
AC
1893 $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
1894 $(gregset_h) $(i387_tdep_h) $(i386_tdep_h) $(i386_linux_tdep_h) \
1895 $(gdb_proc_service_h)
e7ee86a9 1896i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
b2100910
AC
1897 $(value_h) $(regcache_h) $(inferior_h) $(osabi_h) $(reggroups_h) \
1898 $(solib_svr4_h) $(gdb_string_h) $(i386_tdep_h) $(i386_linux_tdep_h) \
1899 $(glibc_tdep_h)
91092ee5
AC
1900i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1901 $(regcache_h) $(target_h) $(osabi_h) $(i386_tdep_h)
e822a2a0 1902i386-nat.o: i386-nat.c $(defs_h) $(breakpoint_h) $(command_h) $(gdbcmd_h)
b2100910
AC
1903i386nbsd-tdep.o: i386nbsd-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
1904 $(regcache_h) $(regset_h) $(osabi_h) $(gdb_assert_h) $(gdb_string_h) \
1905 $(i386_tdep_h) $(i387_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
91092ee5
AC
1906i386-nto-tdep.o: i386-nto-tdep.c $(gdb_string_h) $(gdb_assert_h) $(defs_h) \
1907 $(frame_h) $(target_h) $(regcache_h) $(solib_svr4_h) $(i386_tdep_h) \
1908 $(nto_tdep_h) $(osabi_h) $(i387_tdep_h)
c14a44d5 1909i386obsd-nat.o: i386obsd-nat.c $(defs_h) $(i386_tdep_h)
91092ee5 1910i386obsd-tdep.o: i386obsd-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
b2100910
AC
1911 $(regcache_h) $(regset_h) $(osabi_h) $(gdb_assert_h) $(gdb_string_h) \
1912 $(i386_tdep_h) $(i387_tdep_h)
91092ee5
AC
1913i386-sol2-tdep.o: i386-sol2-tdep.c $(defs_h) $(value_h) $(osabi_h) \
1914 $(i386_tdep_h)
e822a2a0 1915i386-stub.o: i386-stub.c
acd5c798 1916i386-tdep.o: i386-tdep.c $(defs_h) $(arch_utils_h) $(command_h) \
6405b0a6
MK
1917 $(dummy_frame_h) $(dwarf2_frame_h) $(doublest_h) $(floatformat_h) \
1918 $(frame_h) $(frame_base_h) $(frame_unwind_h) $(inferior_h) \
1919 $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
1bfd8a83
AC
1920 $(reggroups_h) $(regset_h) $(symfile_h) $(symtab_h) $(target_h) \
1921 $(value_h) $(dis_asm_h) $(gdb_assert_h) $(gdb_string_h) \
1922 $(i386_tdep_h) $(i387_tdep_h)
e822a2a0
AC
1923i386v4-nat.o: i386v4-nat.c $(defs_h) $(value_h) $(inferior_h) $(regcache_h) \
1924 $(i386_tdep_h) $(i387_tdep_h) $(gregset_h)
91092ee5
AC
1925i386v-nat.o: i386v-nat.c $(defs_h) $(frame_h) $(inferior_h) $(language_h) \
1926 $(gdbcore_h) $(gdb_stat_h) $(floatformat_h) $(target_h) \
1927 $(i386_tdep_h)
1928i387-tdep.o: i387-tdep.c $(defs_h) $(doublest_h) $(floatformat_h) $(frame_h) \
1929 $(gdbcore_h) $(inferior_h) $(language_h) $(regcache_h) $(value_h) \
1930 $(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h)
e822a2a0
AC
1931ia64-aix-nat.o: ia64-aix-nat.c $(defs_h) $(inferior_h) $(target_h) \
1932 $(gdbcore_h) $(regcache_h) $(symtab_h) $(bfd_h) $(symfile_h) \
1933 $(objfiles_h) $(gdb_stat_h)
1934ia64-aix-tdep.o: ia64-aix-tdep.c $(defs_h)
2555fe1a
AC
1935ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
1936 $(target_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h)
b2100910 1937ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h)
1b0cad1c 1938ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
c14a44d5
AC
1939 $(arch_utils_h) $(floatformat_h) $(regcache_h) $(reggroups_h) \
1940 $(frame_h) $(frame_base_h) $(frame_unwind_h) $(doublest_h) \
91092ee5 1941 $(value_h) $(gdb_assert_h) $(objfiles_h) $(elf_common_h) \
b2100910
AC
1942 $(elf_bfd_h) $(elf_h) $(dis_asm_h) $(libunwind_frame_h) \
1943 $(libunwind_ia64_h)
04714b91
AC
1944infcall.o: infcall.c $(defs_h) $(breakpoint_h) $(target_h) $(regcache_h) \
1945 $(inferior_h) $(gdb_assert_h) $(block_h) $(gdbcore_h) $(language_h) \
91092ee5 1946 $(symfile_h) $(gdbcmd_h) $(command_h) $(gdb_string_h) $(infcall_h)
e822a2a0
AC
1947infcmd.o: infcmd.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
1948 $(frame_h) $(inferior_h) $(environ_h) $(value_h) $(gdbcmd_h) \
1949 $(symfile_h) $(gdbcore_h) $(target_h) $(language_h) $(symfile_h) \
1950 $(objfiles_h) $(completer_h) $(ui_out_h) $(event_top_h) \
b2100910
AC
1951 $(parser_defs_h) $(regcache_h) $(reggroups_h) $(block_h) \
1952 $(gdb_assert_h)
91092ee5
AC
1953inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(target_h) $(event_loop_h) \
1954 $(event_top_h) $(inf_loop_h) $(remote_h)
e822a2a0 1955inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \
44270758
AC
1956 $(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \
1957 $(inflow_h)
e822a2a0
AC
1958infptrace.o: infptrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
1959 $(gdb_string_h) $(regcache_h) $(gdb_wait_h) $(command_h) \
1960 $(gdb_dirent_h) $(gdbcore_h) $(gdb_stat_h)
1961infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
1962 $(inferior_h) $(breakpoint_h) $(gdb_wait_h) $(gdbcore_h) $(gdbcmd_h) \
1963 $(cli_script_h) $(target_h) $(gdbthread_h) $(annotate_h) \
06600e06 1964 $(symfile_h) $(top_h) $(inf_loop_h) $(regcache_h) $(value_h) \
aff6338a 1965 $(observer_h) $(language_h)
e822a2a0 1966inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
44270758 1967 $(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_h) $(inflow_h)
e822a2a0 1968infttrace.o: infttrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
91092ee5
AC
1969 $(gdb_string_h) $(gdb_wait_h) $(command_h) $(gdbthread_h) \
1970 $(gdbcore_h)
4389a95a
AC
1971interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
1972 $(event_top_h) $(interps_h) $(completer_h) $(gdb_string_h) \
1973 $(gdb_events_h) $(gdb_assert_h) $(top_h)
1b0cad1c 1974irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
b2100910 1975 $(regcache_h) $(gdb_string_h) $(gregset_h) $(mips_tdep_h)
e822a2a0
AC
1976jv-lang.o: jv-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
1977 $(parser_defs_h) $(language_h) $(gdbtypes_h) $(symtab_h) \
1978 $(symfile_h) $(objfiles_h) $(gdb_string_h) $(value_h) $(c_lang_h) \
de4f826b 1979 $(jv_lang_h) $(gdbcore_h) $(block_h) $(demangle_h) $(dictionary_h)
e822a2a0
AC
1980jv-typeprint.o: jv-typeprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
1981 $(value_h) $(demangle_h) $(jv_lang_h) $(gdb_string_h) $(typeprint_h) \
1982 $(c_lang_h) $(cp_abi_h)
1983jv-valprint.o: jv-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
1984 $(gdbcore_h) $(expression_h) $(value_h) $(demangle_h) $(valprint_h) \
1985 $(language_h) $(jv_lang_h) $(c_lang_h) $(annotate_h) $(gdb_string_h)
17732724 1986kod.o: kod.c $(defs_h) $(command_h) $(gdbcmd_h) $(target_h) $(gdb_string_h) \
e822a2a0 1987 $(kod_h)
91092ee5 1988kod-cisco.o: kod-cisco.c $(defs_h) $(gdb_string_h) $(kod_h)
e822a2a0
AC
1989language.o: language.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
1990 $(value_h) $(gdbcmd_h) $(expression_h) $(language_h) $(target_h) \
9a3d7dfd 1991 $(parser_defs_h) $(jv_lang_h) $(demangle_h)
b2100910
AC
1992libunwind-frame.o: libunwind-frame.c $(defs_h) $(inferior_h) $(frame_h) \
1993 $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) $(gdbtypes_h) \
1994 $(symtab_h) $(objfiles_h) $(regcache_h) $(gdb_assert_h) \
1995 $(gdb_string_h) $(libunwind_frame_h) $(complaints_h)
91092ee5
AC
1996linespec.o: linespec.c $(defs_h) $(symtab_h) $(frame_h) $(command_h) \
1997 $(symfile_h) $(objfiles_h) $(source_h) $(demangle_h) $(value_h) \
1998 $(completer_h) $(cp_abi_h) $(parser_defs_h) $(block_h) \
1999 $(objc_lang_h) $(linespec_h)
e822a2a0 2000lin-lwp.o: lin-lwp.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) \
0274a8ce
MS
2001 $(gdbthread_h) $(inferior_h) $(target_h) $(regcache_h) $(gdbcmd_h) \
2002 $(linux_nat_h)
0274a8ce
MS
2003linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_wait_h) \
2004 $(linux_nat_h)
91092ee5
AC
2005linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gdb_stat_h) \
2006 $(regcache_h) $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(elf_bfd_h) \
0274a8ce 2007 $(cli_decode_h) $(gdb_string_h) $(linux_nat_h)
e822a2a0
AC
2008lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2009 $(gdbcore_h) $(regcache_h)
2010m2-lang.o: m2-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2011 $(parser_defs_h) $(language_h) $(m2_lang_h) $(c_lang_h) \
2012 $(valprint_h)
2013m2-typeprint.o: m2-typeprint.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
2014 $(expression_h) $(value_h) $(gdbcore_h) $(target_h) $(m2_lang_h)
2015m2-valprint.o: m2-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
2016 $(m2_lang_h)
e822a2a0
AC
2017m32r-rom.o: m32r-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2018 $(serial_h) $(symtab_h) $(command_h) $(gdbcmd_h) $(symfile_h) \
2019 $(gdb_string_h) $(objfiles_h) $(inferior_h) $(regcache_h)
2020m32r-stub.o: m32r-stub.c $(syscall_h)
91092ee5
AC
2021m32r-tdep.o: m32r-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2022 $(frame_base_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
2023 $(gdb_string_h) $(value_h) $(inferior_h) $(symfile_h) $(objfiles_h) \
2024 $(language_h) $(arch_utils_h) $(regcache_h) $(trad_frame_h) \
b2100910 2025 $(dis_asm_h) $(gdb_assert_h)
91092ee5
AC
2026m68hc11-tdep.o: m68hc11-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2027 $(frame_base_h) $(dwarf2_frame_h) $(trad_frame_h) $(symtab_h) \
e822a2a0
AC
2028 $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(gdb_string_h) $(value_h) \
2029 $(inferior_h) $(dis_asm_h) $(symfile_h) $(objfiles_h) \
91092ee5
AC
2030 $(arch_utils_h) $(regcache_h) $(reggroups_h) $(target_h) \
2031 $(opcode_m68hc11_h) $(elf_m68hc11_h) $(elf_bfd_h)
c906108c 2032m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
d0b45d99 2033 $(language_h) $(gdbcore_h) $(gdb_string_h) $(regcache_h) \
91092ee5
AC
2034 $(m68k_tdep_h) $(gdb_stat_h) $(floatformat_h) $(target_h) \
2035 $(gregset_h)
2036m68klinux-tdep.o: m68klinux-tdep.c $(defs_h) $(gdbcore_h) $(doublest_h) \
2037 $(floatformat_h) $(frame_h) $(target_h) $(gdb_string_h) \
2038 $(gdbtypes_h) $(osabi_h) $(regcache_h) $(objfiles_h) $(symtab_h) \
2039 $(m68k_tdep_h)
e822a2a0
AC
2040m68knbsd-nat.o: m68knbsd-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
2041 $(regcache_h)
2042m68knbsd-tdep.o: m68knbsd-tdep.c $(defs_h) $(gdbtypes_h) $(regcache_h)
91092ee5 2043m68k-stub.o: m68k-stub.c
3f244638 2044m68k-tdep.o: m68k-tdep.c $(defs_h) $(dwarf2_frame_h) $(frame_h) \
1bfd8a83
AC
2045 $(frame_base_h) $(frame_unwind_h) $(symtab_h) $(gdbcore_h) \
2046 $(value_h) $(gdb_string_h) $(gdb_assert_h) $(inferior_h) \
2047 $(regcache_h) $(arch_utils_h) $(osabi_h) $(dis_asm_h) $(m68k_tdep_h) \
2048 $(gregset_h)
e822a2a0
AC
2049macrocmd.o: macrocmd.c $(defs_h) $(macrotab_h) $(macroexp_h) $(macroscope_h) \
2050 $(command_h) $(gdbcmd_h)
2051macroexp.o: macroexp.c $(defs_h) $(gdb_obstack_h) $(bcache_h) $(macrotab_h) \
2052 $(macroexp_h) $(gdb_assert_h)
91092ee5
AC
2053macroscope.o: macroscope.c $(defs_h) $(macroscope_h) $(symtab_h) $(source_h) \
2054 $(target_h) $(frame_h) $(inferior_h) $(complaints_h)
e822a2a0
AC
2055macrotab.o: macrotab.c $(defs_h) $(gdb_obstack_h) $(splay_tree_h) \
2056 $(symtab_h) $(symfile_h) $(objfiles_h) $(macrotab_h) $(gdb_assert_h) \
2057 $(bcache_h) $(complaints_h)
2058main.o: main.c $(defs_h) $(top_h) $(target_h) $(inferior_h) $(symfile_h) \
2059 $(gdbcore_h) $(getopt_h) $(gdb_stat_h) $(gdb_string_h) \
4389a95a 2060 $(event_loop_h) $(ui_out_h) $(interps_h) $(main_h)
e822a2a0
AC
2061maint.o: maint.c $(defs_h) $(command_h) $(gdbcmd_h) $(symtab_h) \
2062 $(gdbtypes_h) $(demangle_h) $(gdbcore_h) $(expression_h) \
2063 $(language_h) $(symfile_h) $(objfiles_h) $(value_h) $(cli_decode_h)
17732724
AC
2064mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2065 $(gdb_string_h) $(regcache_h) $(serial_h)
e822a2a0
AC
2066mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \
2067 $(gdbcmd_h) $(regcache_h) $(symfile_h) $(gdbcore_h) $(inferior_h) \
a89aa300 2068 $(arch_utils_h) $(gdb_string_h) $(disasm_h) $(dis_asm_h)
04ea0df1
AC
2069mdebugread.o: mdebugread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
2070 $(symfile_h) $(objfiles_h) $(gdb_obstack_h) $(buildsym_h) \
2071 $(stabsread_h) $(complaints_h) $(demangle_h) $(gdb_assert_h) \
91092ee5
AC
2072 $(block_h) $(dictionary_h) $(coff_sym_h) $(coff_symconst_h) \
2073 $(gdb_stat_h) $(gdb_string_h) $(bfd_h) $(coff_ecoff_h) $(libaout_h) \
2074 $(aout_aout64_h) $(aout_stab_gnu_h) $(expression_h) $(language_h)
88fe217c
RE
2075memattr.o: memattr.c $(defs_h) $(command_h) $(gdbcmd_h) $(memattr_h) \
2076 $(target_h) $(value_h) $(language_h) $(gdb_string_h)
91092ee5
AC
2077mem-break.o: mem-break.c $(defs_h) $(symtab_h) $(breakpoint_h) $(inferior_h) \
2078 $(target_h)
e822a2a0
AC
2079minsyms.o: minsyms.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
2080 $(symfile_h) $(objfiles_h) $(demangle_h) $(value_h) $(cp_abi_h)
2081mips-irix-tdep.o: mips-irix-tdep.c $(defs_h) $(osabi_h) $(elf_bfd_h)
6b753f60 2082mips-linux-nat.o: mips-linux-nat.c $(defs_h) $(mips_tdep_h)
d2b57b94 2083mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
91092ee5 2084 $(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \
96f026fc 2085 $(gdb_assert_h)
e822a2a0 2086mips-nat.o: mips-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(regcache_h)
257ce470 2087mipsnbsd-nat.o: mipsnbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
e822a2a0 2088 $(mipsnbsd_tdep_h)
257ce470 2089mipsnbsd-tdep.o: mipsnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
91092ee5
AC
2090 $(target_h) $(value_h) $(osabi_h) $(nbsd_tdep_h) $(mipsnbsd_tdep_h) \
2091 $(solib_svr4_h)
e822a2a0
AC
2092mipsread.o: mipsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
2093 $(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
2094 $(coff_sym_h) $(coff_internal_h) $(coff_ecoff_h) $(libcoff_h) \
2095 $(libecoff_h) $(elf_common_h) $(elf_mips_h)
91092ee5
AC
2096mips-tdep.o: mips-tdep.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
2097 $(frame_h) $(inferior_h) $(symtab_h) $(value_h) $(gdbcmd_h) \
2098 $(language_h) $(gdbcore_h) $(symfile_h) $(objfiles_h) $(gdbtypes_h) \
2099 $(target_h) $(arch_utils_h) $(regcache_h) $(osabi_h) $(mips_tdep_h) \
2100 $(block_h) $(reggroups_h) $(opcode_mips_h) $(elf_mips_h) \
a89aa300 2101 $(elf_bfd_h) $(symcat_h) $(sim_regno_h) $(dis_asm_h)
e822a2a0
AC
2102mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
2103 $(regcache_h) $(gregset_h)
91092ee5 2104mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
e822a2a0 2105 $(target_h) $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) \
a89aa300
AC
2106 $(symfile_h) $(regcache_h) $(arch_utils_h) $(gdb_assert_h) \
2107 $(dis_asm_h)
e822a2a0
AC
2108monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \
2109 $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) $(inferior_h) \
2110 $(gdb_regex_h) $(srec_h) $(regcache_h)
3d9b49b0 2111nbsd-tdep.o: nbsd-tdep.c $(defs_h) $(gdb_string_h) $(solib_svr4_h)
e822a2a0 2112nlmread.o: nlmread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
fe898f56 2113 $(objfiles_h) $(buildsym_h) $(stabsread_h) $(block_h)
e822a2a0
AC
2114ns32knbsd-nat.o: ns32knbsd-nat.c $(defs_h) $(inferior_h) $(target_h) \
2115 $(gdbcore_h) $(regcache_h)
91092ee5
AC
2116ns32knbsd-tdep.o: ns32knbsd-tdep.c $(defs_h) $(osabi_h) $(ns32k_tdep_h) \
2117 $(gdb_string_h)
2118ns32k-tdep.o: ns32k-tdep.c $(defs_h) $(frame_h) $(gdbtypes_h) $(gdbcore_h) \
2119 $(inferior_h) $(regcache_h) $(target_h) $(arch_utils_h) $(osabi_h) \
a89aa300 2120 $(dis_asm_h) $(ns32k_tdep_h) $(gdb_string_h)
91092ee5
AC
2121nto-procfs.o: nto-procfs.c $(defs_h) $(gdb_dirent_h) $(gdb_string_h) \
2122 $(gdbcore_h) $(inferior_h) $(target_h) $(objfiles_h) $(gdbthread_h) \
2123 $(nto_tdep_h) $(command_h) $(regcache_h)
2124nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \
2125 $(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \
2126 $(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h)
a76c9d72
AF
2127objc-lang.o: objc-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2128 $(parser_defs_h) $(language_h) $(c_lang_h) $(objc_lang_h) \
91092ee5
AC
2129 $(complaints_h) $(value_h) $(symfile_h) $(objfiles_h) \
2130 $(gdb_string_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(frame_h) \
2131 $(gdb_regex_h) $(regcache_h) $(block_h) $(infcall_h) $(valprint_h) \
2132 $(gdb_assert_h)
04ea0df1 2133objfiles.o: objfiles.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
c14a44d5
AC
2134 $(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(gdb_assert_h) \
2135 $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) $(hashtab_h) \
9175c9a3 2136 $(breakpoint_h) $(block_h) $(dictionary_h)
91092ee5 2137observer.o: observer.c $(defs_h) $(observer_h)
e822a2a0
AC
2138ocd.o: ocd.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) $(inferior_h) \
2139 $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) $(objfiles_h) \
2140 $(gdb_stabs_h) $(serial_h) $(ocd_h) $(regcache_h)
91092ee5
AC
2141osabi.o: osabi.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(osabi_h) \
2142 $(arch_utils_h) $(gdbcmd_h) $(command_h) $(elf_bfd_h)
e822a2a0
AC
2143pa64solib.o: pa64solib.c $(defs_h) $(frame_h) $(bfd_h) $(libhppa_h) \
2144 $(gdbcore_h) $(symtab_h) $(breakpoint_h) $(symfile_h) $(objfiles_h) \
2145 $(inferior_h) $(gdb_stabs_h) $(gdb_stat_h) $(gdbcmd_h) $(language_h) \
4646aa9d 2146 $(regcache_h) $(exec_h)
e822a2a0
AC
2147parse.o: parse.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2148 $(frame_h) $(expression_h) $(value_h) $(command_h) $(language_h) \
2149 $(parser_defs_h) $(gdbcmd_h) $(symfile_h) $(inferior_h) \
91092ee5
AC
2150 $(doublest_h) $(gdb_assert_h) $(block_h)
2151p-lang.o: p-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2152 $(expression_h) $(parser_defs_h) $(language_h) $(p_lang_h) \
2153 $(valprint_h) $(value_h)
6e0ce711 2154ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \
1b0cad1c 2155 $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
e822a2a0
AC
2156 $(objfiles_h) $(gdb_stabs_h) $(serial_h) $(ocd_h) $(ppc_tdep_h) \
2157 $(regcache_h)
91092ee5
AC
2158ppcbug-rom.o: ppcbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2159 $(serial_h) $(regcache_h)
2555fe1a
AC
2160ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdb_string_h) $(frame_h) \
2161 $(inferior_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h) \
2162 $(ppc_tdep_h)
e822a2a0
AC
2163ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
2164 $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
91092ee5
AC
2165 $(objfiles_h) $(regcache_h) $(value_h) $(osabi_h) $(solib_svr4_h) \
2166 $(ppc_tdep_h)
7b112f9c 2167ppcnbsd-nat.o: ppcnbsd-nat.c $(defs_h) $(inferior_h) $(ppc_tdep_h) \
e822a2a0 2168 $(ppcnbsd_tdep_h)
7b112f9c 2169ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
91092ee5
AC
2170 $(target_h) $(breakpoint_h) $(value_h) $(osabi_h) $(ppc_tdep_h) \
2171 $(ppcnbsd_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
2172ppc-sysv-tdep.o: ppc-sysv-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
6066c3de 2173 $(regcache_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \
b2100910 2174 $(ppc_tdep_h) $(target_h) $(objfiles_h)
e822a2a0
AC
2175printcmd.o: printcmd.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
2176 $(gdbtypes_h) $(value_h) $(language_h) $(expression_h) $(gdbcore_h) \
2177 $(gdbcmd_h) $(target_h) $(breakpoint_h) $(demangle_h) $(valprint_h) \
2178 $(annotate_h) $(symfile_h) $(objfiles_h) $(completer_h) $(ui_out_h) \
92bf2b80 2179 $(gdb_assert_h) $(block_h) $(disasm_h)
2555fe1a
AC
2180proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) $(completer_h) $(gdb_wait_h) \
2181 $(proc_utils_h)
0fda6bd2 2182proc-events.o: proc-events.c $(defs_h)
0fda6bd2 2183proc-flags.o: proc-flags.c $(defs_h)
91092ee5
AC
2184procfs.o: procfs.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
2185 $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) \
2186 $(gdb_assert_h) $(inflow_h) $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) \
3cf93817 2187 $(proc_utils_h) $(gregset_h) $(gdb_string_h) $(auxv_h)
e822a2a0
AC
2188proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \
2189 $(symtab_h) $(target_h) $(gregset_h)
2190proc-why.o: proc-why.c $(defs_h) $(proc_utils_h)
91092ee5
AC
2191p-typeprint.o: p-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
2192 $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
2193 $(language_h) $(p_lang_h) $(typeprint_h) $(gdb_string_h)
2194p-valprint.o: p-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
2195 $(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
2196 $(gdbcore_h) $(demangle_h) $(valprint_h) $(typeprint_h) \
2197 $(language_h) $(target_h) $(annotate_h) $(p_lang_h) $(cp_abi_h)
e822a2a0 2198regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(gdbarch_h) \
b59ff9d5
AC
2199 $(gdbcmd_h) $(regcache_h) $(reggroups_h) $(gdb_assert_h) \
2200 $(gdb_string_h) $(gdbcmd_h)
2201reggroups.o: reggroups.c $(defs_h) $(reggroups_h) $(gdbtypes_h) \
2202 $(gdb_assert_h) $(regcache_h) $(command_h) $(gdbcmd_h)
91092ee5
AC
2203remote.o: remote.c $(defs_h) $(gdb_string_h) $(inferior_h) $(bfd_h) \
2204 $(symfile_h) $(target_h) $(gdbcmd_h) $(objfiles_h) $(gdb_stabs_h) \
2205 $(gdbthread_h) $(remote_h) $(regcache_h) $(value_h) $(gdb_assert_h) \
2206 $(event_loop_h) $(event_top_h) $(inf_loop_h) $(serial_h) \
2207 $(gdbcore_h) $(remote_fileio_h)
e822a2a0
AC
2208remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(gdbarch_h) \
2209 $(inferior_h) $(target_h) $(value_h) $(command_h) $(gdb_string_h) \
2210 $(gdbcmd_h) $(serial_h) $(remote_utils_h) $(symfile_h) $(regcache_h)
e822a2a0 2211remote-est.o: remote-est.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
32eeb91a 2212 $(serial_h) $(regcache_h) $(m68k_tdep_h)
91092ee5
AC
2213remote-fileio.o: remote-fileio.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
2214 $(remote_h) $(gdb_fileio_h) $(gdb_wait_h) $(gdb_stat_h) \
2215 $(remote_fileio_h)
e822a2a0
AC
2216remote-hms.o: remote-hms.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
2217 $(serial_h) $(regcache_h)
b4b4b794
KI
2218remote-m32r-sdi.o: remote-m32r-sdi.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
2219 $(inferior_h) $(target_h) $(regcache_h) $(gdb_string_h) $(serial_h)
e822a2a0
AC
2220remote-mips.o: remote-mips.c $(defs_h) $(inferior_h) $(bfd_h) $(symfile_h) \
2221 $(gdbcmd_h) $(gdbcore_h) $(serial_h) $(target_h) $(remote_utils_h) \
56cea623 2222 $(gdb_string_h) $(gdb_stat_h) $(regcache_h) $(mips_tdep_h)
e822a2a0
AC
2223remote-rdi.o: remote-rdi.c $(defs_h) $(gdb_string_h) $(frame_h) \
2224 $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
2225 $(objfiles_h) $(gdb_stabs_h) $(gdbthread_h) $(gdbcore_h) \
2226 $(breakpoint_h) $(completer_h) $(regcache_h) $(arm_tdep_h) \
2227 $(rdi_share_ardi_h) $(rdi_share_adp_h) $(rdi_share_hsys_h)
2228remote-rdp.o: remote-rdp.c $(defs_h) $(inferior_h) $(value_h) \
2229 $(gdb_callback_h) $(command_h) $(symfile_h) $(remote_utils_h) \
2230 $(gdb_string_h) $(gdbcore_h) $(regcache_h) $(serial_h) $(arm_tdep_h)
2231remote-sds.o: remote-sds.c $(defs_h) $(gdb_string_h) $(frame_h) \
2232 $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
2233 $(objfiles_h) $(gdb_stabs_h) $(gdbthread_h) $(gdbcore_h) \
2234 $(regcache_h) $(serial_h)
2235remote-sim.o: remote-sim.c $(defs_h) $(inferior_h) $(value_h) \
2236 $(gdb_string_h) $(terminal_h) $(target_h) $(gdbcore_h) \
2237 $(gdb_callback_h) $(gdb_remote_sim_h) $(remote_utils_h) $(command_h) \
b2100910 2238 $(regcache_h) $(gdb_assert_h) $(sim_regno_h) $(arch_utils_h)
e822a2a0
AC
2239remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \
2240 $(serial_h) $(regcache_h)
2241remote-utils.o: remote-utils.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
2242 $(target_h) $(serial_h) $(gdbcore_h) $(inferior_h) $(remote_utils_h) \
17732724 2243 $(regcache_h)
e822a2a0
AC
2244remote-vx68.o: remote-vx68.c $(defs_h) $(vx_share_regPacket_h) $(frame_h) \
2245 $(inferior_h) $(target_h) $(gdbcore_h) $(command_h) $(symtab_h) \
2246 $(symfile_h) $(regcache_h) $(gdb_string_h) $(vx_share_ptrace_h) \
2247 $(vx_share_xdr_ptrace_h) $(vx_share_xdr_ld_h) $(vx_share_xdr_rdb_h) \
2248 $(vx_share_dbgRpcLib_h)
91092ee5
AC
2249remote-vx.o: remote-vx.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2250 $(gdbcore_h) $(command_h) $(symtab_h) $(complaints_h) $(gdbcmd_h) \
2251 $(bfd_h) $(symfile_h) $(objfiles_h) $(gdb_stabs_h) $(regcache_h) \
2252 $(gdb_string_h) $(vx_share_ptrace_h) $(vx_share_xdr_ptrace_h) \
2253 $(vx_share_xdr_ld_h) $(vx_share_xdr_rdb_h) $(vx_share_dbgRpcLib_h)
e822a2a0
AC
2254remote-vxmips.o: remote-vxmips.c $(defs_h) $(vx_share_regPacket_h) \
2255 $(frame_h) $(inferior_h) $(target_h) $(gdbcore_h) $(command_h) \
2256 $(symtab_h) $(symfile_h) $(regcache_h) $(gdb_string_h) \
2257 $(vx_share_ptrace_h) $(vx_share_xdr_ptrace_h) $(vx_share_xdr_ld_h) \
2258 $(vx_share_xdr_rdb_h) $(vx_share_dbgRpcLib_h)
b2100910
AC
2259remote-vxsparc.o: remote-vxsparc.c $(defs_h) $(regcache_h) $(gdb_string_h) \
2260 $(sparc_tdep_h) $(vx_share_ptrace_h) $(vx_share_regPacket_h)
e822a2a0 2261rom68k-rom.o: rom68k-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
32eeb91a 2262 $(serial_h) $(regcache_h) $(value_h) $(m68k_tdep_h)
e822a2a0
AC
2263rs6000-nat.o: rs6000-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
2264 $(xcoffsolib_h) $(symfile_h) $(objfiles_h) $(libbfd_h) $(bfd_h) \
c41669e0 2265 $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) $(language_h) \
b2100910 2266 $(ppc_tdep_h) $(exec_h) $(gdb_stat_h)
e822a2a0
AC
2267rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \
2268 $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) $(objfiles_h) \
2269 $(arch_utils_h) $(regcache_h) $(doublest_h) $(value_h) \
91092ee5
AC
2270 $(parser_defs_h) $(osabi_h) $(libbfd_h) $(coff_internal_h) \
2271 $(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) \
a89aa300 2272 $(solib_svr4_h) $(ppc_tdep_h) $(gdb_assert_h) $(dis_asm_h)
e822a2a0
AC
2273s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h)
2274s390-tdep.o: s390-tdep.c $(arch_utils_h) $(frame_h) $(inferior_h) \
e81b020b 2275 $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
e822a2a0 2276 $(objfiles_h) $(tm_h) $(__bfd_bfd_h) $(floatformat_h) $(regcache_h) \
a89aa300 2277 $(value_h) $(gdb_assert_h) $(dis_asm_h)
e822a2a0
AC
2278scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2279 $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
2280 $(scm_tags_h)
2281scm-lang.o: scm-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
2282 $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
04714b91 2283 $(scm_tags_h) $(source_h) $(gdb_string_h) $(gdbcore_h) $(infcall_h)
e822a2a0
AC
2284scm-valprint.o: scm-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
2285 $(expression_h) $(parser_defs_h) $(language_h) $(value_h) \
2286 $(scm_lang_h) $(valprint_h) $(gdbcore_h)
a94dd1fd
AC
2287sentinel-frame.o: sentinel-frame.c $(defs_h) $(regcache_h) \
2288 $(sentinel_frame_h) $(inferior_h) $(frame_unwind_h)
e822a2a0
AC
2289ser-e7kpc.o: ser-e7kpc.c $(defs_h) $(serial_h) $(gdb_string_h)
2290ser-go32.o: ser-go32.c $(defs_h) $(gdbcmd_h) $(serial_h) $(gdb_string_h)
91092ee5 2291serial.o: serial.c $(defs_h) $(serial_h) $(gdb_string_h) $(gdbcmd_h)
e822a2a0
AC
2292ser-pipe.o: ser-pipe.c $(defs_h) $(serial_h) $(ser_unix_h) $(gdb_vfork_h) \
2293 $(gdb_string_h)
2294ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_unix_h) $(gdb_string_h)
2295ser-unix.o: ser-unix.c $(defs_h) $(serial_h) $(ser_unix_h) $(terminal_h) \
2296 $(gdb_string_h) $(event_loop_h)
e822a2a0 2297sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
9bbe19fb
DC
2298 $(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \
2299 $(sh_tdep_h)
1bfd8a83
AC
2300sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \
2301 $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) \
2302 $(inferior_h) $(gdb_string_h) $(arch_utils_h) $(floatformat_h) \
2303 $(regcache_h) $(doublest_h) $(osabi_h) $(elf_bfd_h) $(solib_svr4_h) \
2304 $(elf_sh_h) $(gdb_sim_sh_h)
91092ee5
AC
2305shnbsd-nat.o: shnbsd-nat.c $(defs_h) $(inferior_h) $(sh_tdep_h) \
2306 $(shnbsd_tdep_h)
e822a2a0 2307shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \
91092ee5
AC
2308 $(osabi_h) $(solib_svr4_h) $(nbsd_tdep_h) $(sh_tdep_h) \
2309 $(shnbsd_tdep_h)
2310sh-stub.o: sh-stub.c
1bfd8a83
AC
2311sh-tdep.o: sh-tdep.c $(defs_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
2312 $(dwarf2_frame_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) $(gdbcmd_h) \
2313 $(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) $(gdb_string_h) \
2314 $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) $(regcache_h) \
2315 $(doublest_h) $(osabi_h) $(sh_tdep_h) $(elf_bfd_h) $(solib_svr4_h) \
2316 $(elf_sh_h) $(gdb_sim_sh_h)
e822a2a0
AC
2317solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \
2318 $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(gdbcore_h) \
2319 $(command_h) $(target_h) $(frame_h) $(gdb_regex_h) $(inferior_h) \
2320 $(environ_h) $(language_h) $(gdbcmd_h) $(solist_h)
91092ee5
AC
2321solib.o: solib.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) $(symfile_h) \
2322 $(objfiles_h) $(gdbcore_h) $(command_h) $(target_h) $(frame_h) \
2323 $(gdb_regex_h) $(inferior_h) $(environ_h) $(language_h) $(gdbcmd_h) \
b2100910 2324 $(completer_h) $(filenames_h) $(exec_h) $(solist_h)
e822a2a0
AC
2325solib-irix.o: solib-irix.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
2326 $(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(solist_h)
2327solib-legacy.o: solib-legacy.c $(defs_h) $(gdbcore_h) $(solib_svr4_h)
2328solib-osf.o: solib-osf.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
2329 $(symfile_h) $(objfiles_h) $(target_h) $(inferior_h) $(solist_h)
2330solib-sunos.o: solib-sunos.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
03cc47f7
MK
2331 $(symfile_h) $(objfiles_h) $(gdbcore_h) $(inferior_h) $(solist_h) \
2332 $(bcache_h) $(regcache_h)
e822a2a0
AC
2333solib-svr4.o: solib-svr4.c $(defs_h) $(elf_external_h) $(elf_common_h) \
2334 $(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
2f4950cd
AC
2335 $(gdbcore_h) $(target_h) $(inferior_h) $(solist_h) $(solib_svr4_h) \
2336 $(bfd_target_h) $(exec_h)
91092ee5
AC
2337sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
2338 $(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \
1bfd8a83 2339 $(symfile_h) $(gdb_string_h) $(gregset_h)
e822a2a0
AC
2340somread.o: somread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
2341 $(objfiles_h) $(buildsym_h) $(stabsread_h) $(gdb_stabs_h) \
2342 $(complaints_h) $(gdb_string_h) $(demangle_h) $(som_h) $(libhppa_h)
2343somsolib.o: somsolib.c $(defs_h) $(frame_h) $(bfd_h) $(som_h) $(libhppa_h) \
2344 $(gdbcore_h) $(symtab_h) $(breakpoint_h) $(symfile_h) $(objfiles_h) \
2345 $(inferior_h) $(gdb_stabs_h) $(gdb_stat_h) $(gdbcmd_h) $(language_h) \
4646aa9d 2346 $(regcache_h) $(gdb_assert_h) $(exec_h)
e822a2a0
AC
2347source.o: source.c $(defs_h) $(symtab_h) $(expression_h) $(language_h) \
2348 $(command_h) $(source_h) $(gdbcmd_h) $(frame_h) $(value_h) \
2349 $(gdb_string_h) $(gdb_stat_h) $(gdbcore_h) $(gdb_regex_h) \
2350 $(symfile_h) $(objfiles_h) $(annotate_h) $(gdbtypes_h) $(linespec_h) \
91092ee5 2351 $(filenames_h) $(completer_h) $(ui_out_h)
b2100910
AC
2352sparc64fbsd-nat.o: sparc64fbsd-nat.c $(defs_h) $(sparc64_tdep_h) \
2353 $(sparc_nat_h)
2354sparc64fbsd-tdep.o: sparc64fbsd-tdep.c $(defs_h) $(frame_h) \
2355 $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2356 $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
2357 $(sparc64_tdep_h)
2358sparc64-linux-nat.o: sparc64-linux-nat.c $(defs_h) $(sparc64_tdep_h) \
2359 $(sparc_nat_h)
2360sparc64-linux-tdep.o: sparc64-linux-tdep.c $(defs_h) $(gdbarch_h) $(osabi_h) \
2361 $(solib_svr4_h) $(sparc64_tdep_h)
2362sparc64-nat.o: sparc64-nat.c $(defs_h) $(gdbarch_h) $(sparc64_tdep_h) \
2363 $(sparc_nat_h)
2364sparc64nbsd-nat.o: sparc64nbsd-nat.c $(defs_h) $(sparc64_tdep_h) \
2365 $(sparc_nat_h)
2366sparc64nbsd-tdep.o: sparc64nbsd-tdep.c $(defs_h) $(frame_h) \
2367 $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2368 $(symtab_h) $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) \
2369 $(gdb_string_h) $(sparc64_tdep_h) $(nbsd_tdep_h)
1e067c66
MK
2370sparc64obsd-tdep.o: sparc64obsd-tdep.c $(defs_h) $(frame_h) \
2371 $(frame_unwind_h) $(osabi_h) $(regset_h) $(symtab_h) \
2372 $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) \
2373 $(sparc64_tdep_h) $(nbsd_tdep_h)
b2100910
AC
2374sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \
2375 $(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
2376 $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h)
2377sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \
2378 $(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \
2379 $(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
2380 $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) $(gdb_string_h) \
2381 $(sparc64_tdep_h)
386c036b
MK
2382sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
2383 $(frame_unwind_h) $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \
2384 $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(gdb_assert_h) \
2385 $(gdb_string_h) $(sparc_tdep_h)
baf92889
MK
2386sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \
2387 $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) \
2388 $(sparc_nat_h)
b2100910
AC
2389sparcnbsd-nat.o: sparcnbsd-nat.c $(defs_h) $(sparc_tdep_h) $(sparc_nat_h)
2390sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
2391 $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
2392 $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(gdb_assert_h) \
2393 $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h)
566626fa
MK
2394sparcobsd-tdep.o: sparcobsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
2395 $(frame_unwind_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \
2396 $(trad_frame_h) $(gdb_assert_h) $(sparc_tdep_h) $(nbsd_tdep_h)
386c036b
MK
2397sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
2398 $(sparc_tdep_h) $(sparc64_tdep_h)
2399sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
2400 $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
2401 $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
2402 $(sparc_tdep_h)
b2100910 2403sparc-stub.o: sparc-stub.c
386c036b 2404sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
b2100910 2405 $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
386c036b
MK
2406 $(gdbcore_h) $(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) \
2407 $(osabi_h) $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) \
2408 $(gdb_string_h) $(sparc_tdep_h)
04ea0df1
AC
2409stabsread.o: stabsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(gdb_obstack_h) \
2410 $(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \
2411 $(aout_stab_gnu_h) $(libaout_h) $(aout_aout64_h) $(gdb_stabs_h) \
2412 $(buildsym_h) $(complaints_h) $(demangle_h) $(language_h) \
91092ee5 2413 $(doublest_h) $(cp_abi_h) $(cp_support_h) $(stabsread_h)
e822a2a0
AC
2414stack.o: stack.c $(defs_h) $(gdb_string_h) $(value_h) $(symtab_h) \
2415 $(gdbtypes_h) $(expression_h) $(language_h) $(frame_h) $(gdbcmd_h) \
b9362cc7 2416 $(gdbcore_h) $(target_h) $(source_h) $(breakpoint_h) $(demangle_h) \
8d3b0994 2417 $(inferior_h) $(annotate_h) $(ui_out_h) $(block_h) $(stack_h) \
fc70c2a0 2418 $(gdb_assert_h) $(dictionary_h) $(reggroups_h) $(regcache_h)
e822a2a0
AC
2419standalone.o: standalone.c $(gdb_stat_h) $(defs_h) $(symtab_h) $(frame_h) \
2420 $(inferior_h) $(gdb_wait_h)
eb8bc282 2421std-regs.o: std-regs.c $(defs_h) $(user_regs_h) $(frame_h) $(gdbtypes_h) \
e822a2a0
AC
2422 $(value_h) $(gdb_string_h)
2423stop-gdb.o: stop-gdb.c $(defs_h)
2424sun3-nat.o: sun3-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(regcache_h)
91092ee5
AC
2425symfile.o: symfile.c $(defs_h) $(bfdlink_h) $(symtab_h) $(gdbtypes_h) \
2426 $(gdbcore_h) $(frame_h) $(target_h) $(value_h) $(symfile_h) \
2427 $(objfiles_h) $(source_h) $(gdbcmd_h) $(breakpoint_h) $(language_h) \
2428 $(complaints_h) $(demangle_h) $(inferior_h) $(filenames_h) \
2429 $(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
2430 $(hashtab_h) $(gdb_assert_h) $(block_h) $(gdb_string_h) \
2431 $(gdb_stat_h)
04ea0df1
AC
2432symmisc.o: symmisc.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(bfd_h) \
2433 $(symfile_h) $(objfiles_h) $(breakpoint_h) $(command_h) \
91092ee5
AC
2434 $(gdb_obstack_h) $(language_h) $(bcache_h) $(block_h) $(gdb_regex_h) \
2435 $(dictionary_h) $(gdb_string_h)
04ea0df1
AC
2436symtab.o: symtab.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
2437 $(frame_h) $(target_h) $(value_h) $(symfile_h) $(objfiles_h) \
2438 $(gdbcmd_h) $(call_cmds_h) $(gdb_regex_h) $(expression_h) \
91092ee5
AC
2439 $(language_h) $(demangle_h) $(inferior_h) $(linespec_h) $(source_h) \
2440 $(filenames_h) $(objc_lang_h) $(hashtab_h) $(gdb_obstack_h) \
2441 $(block_h) $(dictionary_h) $(gdb_string_h) $(gdb_stat_h) $(cp_abi_h)
e822a2a0
AC
2442target.o: target.c $(defs_h) $(gdb_string_h) $(target_h) $(gdbcmd_h) \
2443 $(symtab_h) $(inferior_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
b2100910 2444 $(gdb_wait_h) $(dcache_h) $(regcache_h) $(gdb_assert_h) $(gdbcore_h)
b66d6d2e
AC
2445thread.o: thread.c $(defs_h) $(symtab_h) $(frame_h) $(inferior_h) \
2446 $(environ_h) $(value_h) $(target_h) $(gdbthread_h) $(command_h) \
e822a2a0 2447 $(gdbcmd_h) $(regcache_h) $(gdb_h) $(gdb_string_h) $(ui_out_h)
91092ee5
AC
2448thread-db.o: thread-db.c $(defs_h) $(gdb_assert_h) $(gdb_proc_service_h) \
2449 $(gdb_thread_db_h) $(bfd_h) $(gdbthread_h) $(inferior_h) \
2450 $(symfile_h) $(objfiles_h) $(target_h) $(regcache_h) $(solib_svr4_h)
e822a2a0
AC
2451top.o: top.c $(defs_h) $(gdbcmd_h) $(call_cmds_h) $(cli_cmds_h) \
2452 $(cli_script_h) $(cli_setshow_h) $(cli_decode_h) $(symtab_h) \
2453 $(inferior_h) $(target_h) $(breakpoint_h) $(gdbtypes_h) \
2454 $(expression_h) $(value_h) $(language_h) $(terminal_h) $(annotate_h) \
2455 $(completer_h) $(top_h) $(version_h) $(serial_h) $(doublest_h) \
2456 $(gdb_assert_h) $(event_top_h) $(gdb_string_h) $(gdb_stat_h) \
91092ee5 2457 $(ui_out_h) $(cli_out_h)
e822a2a0
AC
2458tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(gdbtypes_h) \
2459 $(expression_h) $(gdbcmd_h) $(value_h) $(target_h) $(language_h) \
2460 $(gdb_string_h) $(inferior_h) $(tracepoint_h) $(remote_h) \
fe898f56 2461 $(linespec_h) $(regcache_h) $(completer_h) $(gdb_events_h) \
91092ee5
AC
2462 $(block_h) $(dictionary_h) $(ax_h) $(ax_gdb_h)
2463trad-frame.o: trad-frame.c $(defs_h) $(frame_h) $(trad_frame_h) \
2464 $(regcache_h)
04ea0df1
AC
2465typeprint.o: typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
2466 $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(command_h) \
b9362cc7
AC
2467 $(gdbcmd_h) $(target_h) $(language_h) $(cp_abi_h) $(typeprint_h) \
2468 $(gdb_string_h)
e822a2a0
AC
2469ui-file.o: ui-file.c $(defs_h) $(ui_file_h) $(gdb_string_h)
2470ui-out.o: ui-out.c $(defs_h) $(gdb_string_h) $(expression_h) $(language_h) \
2471 $(ui_out_h) $(gdb_assert_h)
eb8bc282
AC
2472user-regs.o: user-regs.c $(defs_h) $(user_regs_h) $(gdbtypes_h) \
2473 $(gdb_string_h) $(gdb_assert_h) $(frame_h)
91092ee5
AC
2474utils.o: utils.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(event_top_h) \
2475 $(gdbcmd_h) $(serial_h) $(bfd_h) $(target_h) $(demangle_h) \
2476 $(expression_h) $(language_h) $(charset_h) $(annotate_h) \
9175c9a3 2477 $(filenames_h) $(inferior_h)
e822a2a0
AC
2478uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
2479 $(regcache_h) $(gregset_h)
e822a2a0
AC
2480v850ice.o: v850ice.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
2481 $(inferior_h) $(breakpoint_h) $(symfile_h) $(target_h) $(objfiles_h) \
2482 $(gdbcore_h) $(value_h) $(command_h) $(regcache_h)
91092ee5
AC
2483v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2484 $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) $(symfile_h) \
a89aa300 2485 $(arch_utils_h) $(regcache_h) $(symtab_h) $(dis_asm_h)
e822a2a0
AC
2486valarith.o: valarith.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
2487 $(expression_h) $(target_h) $(language_h) $(gdb_string_h) \
04714b91 2488 $(doublest_h) $(infcall_h)
e822a2a0
AC
2489valops.o: valops.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(value_h) $(frame_h) \
2490 $(inferior_h) $(gdbcore_h) $(target_h) $(demangle_h) $(language_h) \
91092ee5 2491 $(gdbcmd_h) $(regcache_h) $(cp_abi_h) $(block_h) $(infcall_h) \
79c2c32d
DC
2492 $(dictionary_h) $(cp_support_h) $(gdb_string_h) $(gdb_assert_h) \
2493 $(cp_support_h)
e822a2a0
AC
2494valprint.o: valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2495 $(value_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) $(language_h) \
2496 $(annotate_h) $(valprint_h) $(floatformat_h) $(doublest_h)
2497values.o: values.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
2498 $(value_h) $(gdbcore_h) $(command_h) $(gdbcmd_h) $(target_h) \
2499 $(language_h) $(scm_lang_h) $(demangle_h) $(doublest_h) \
fe898f56 2500 $(gdb_assert_h) $(regcache_h) $(block_h)
b66d6d2e
AC
2501varobj.o: varobj.c $(defs_h) $(value_h) $(expression_h) $(frame_h) \
2502 $(language_h) $(wrapper_h) $(gdbcmd_h) $(gdb_string_h) $(varobj_h)
e822a2a0
AC
2503vax-tdep.o: vax-tdep.c $(defs_h) $(symtab_h) $(opcode_vax_h) $(gdbcore_h) \
2504 $(inferior_h) $(regcache_h) $(frame_h) $(value_h) $(arch_utils_h) \
a89aa300 2505 $(gdb_string_h) $(osabi_h) $(dis_asm_h) $(vax_tdep_h)
1bfd8a83
AC
2506win32-nat.o: win32-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
2507 $(gdbcore_h) $(command_h) $(completer_h) $(regcache_h) $(top_h) \
b2100910
AC
2508 $(buildsym_h) $(symfile_h) $(objfiles_h) $(gdb_string_h) \
2509 $(gdbthread_h) $(gdbcmd_h) $(exec_h) $(i386_tdep_h) $(i387_tdep_h)
e822a2a0 2510wince.o: wince.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcore_h) \
91092ee5
AC
2511 $(command_h) $(buildsym_h) $(symfile_h) $(objfiles_h) \
2512 $(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(wince_stub_h) \
2513 $(regcache_h) $(mips_tdep_h)
2514wince-stub.o: wince-stub.c $(wince_stub_h)
e822a2a0
AC
2515wrapper.o: wrapper.c $(defs_h) $(value_h) $(wrapper_h)
2516x86-64-linux-nat.o: x86-64-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
c14a44d5
AC
2517 $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
2518 $(gdb_proc_service_h) $(gregset_h) $(x86_64_tdep_h) \
2519 $(x86_64_linux_tdep_h) $(i386_linux_tdep_h) $(amd64_nat_h)
91092ee5
AC
2520x86-64-linux-tdep.o: x86-64-linux-tdep.c $(defs_h) $(inferior_h) \
2521 $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
2522 $(x86_64_tdep_h) $(x86_64_linux_tdep_h)
2523x86-64-tdep.o: x86-64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \
c4f35dd8 2524 $(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
91092ee5 2525 $(inferior_h) $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(regcache_h) \
1bfd8a83
AC
2526 $(regset_h) $(symfile_h) $(gdb_assert_h) $(x86_64_tdep_h) \
2527 $(i387_tdep_h)
e822a2a0
AC
2528xcoffread.o: xcoffread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(gdb_stat_h) \
2529 $(coff_internal_h) $(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) \
2530 $(coff_rs6000_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
2531 $(objfiles_h) $(buildsym_h) $(stabsread_h) $(expression_h) \
2532 $(complaints_h) $(gdb_stabs_h) $(aout_stab_gnu_h)
2533xcoffsolib.o: xcoffsolib.c $(defs_h) $(bfd_h) $(xcoffsolib_h) $(inferior_h) \
2534 $(gdbcmd_h) $(symfile_h) $(frame_h) $(gdb_regex_h)
2535xmodem.o: xmodem.c $(defs_h) $(serial_h) $(target_h) $(xmodem_h)
2536xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(value_h) $(inferior_h) \
2537 $(symfile_h) $(arch_utils_h) $(regcache_h) $(gdbcore_h) \
a89aa300 2538 $(objfiles_h) $(dis_asm_h)
8b93c638 2539
d318976c 2540#
72acd513 2541# gdb/cli/ dependencies
d318976c
FN
2542#
2543# Need to explicitly specify the compile rule as make will do nothing
1517c6d1 2544# or try to compile the object file into the sub-directory.
d318976c 2545
5f8a3188 2546cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(defs_h) $(completer_h) $(target_h) \
91092ee5
AC
2547 $(gdb_wait_h) $(gdb_regex_h) $(gdb_string_h) $(gdb_vfork_h) \
2548 $(linespec_h) $(expression_h) $(frame_h) $(value_h) $(language_h) \
2549 $(filenames_h) $(objfiles_h) $(source_h) $(disasm_h) $(ui_out_h) \
2550 $(top_h) $(cli_decode_h) $(cli_script_h) $(cli_setshow_h) \
26ee262d 2551 $(cli_cmds_h) $(readline_h)
f02df580 2552 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c
72acd513
AC
2553cli-decode.o: $(srcdir)/cli/cli-decode.c $(defs_h) $(symtab_h) \
2554 $(gdb_regex_h) $(gdb_string_h) $(ui_out_h) $(cli_cmds_h) \
2555 $(cli_decode_h) $(gdb_assert_h)
d318976c 2556 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c
72acd513
AC
2557cli-dump.o: $(srcdir)/cli/cli-dump.c $(defs_h) $(gdb_string_h) \
2558 $(cli_decode_h) $(cli_cmds_h) $(value_h) $(completer_h) \
91092ee5 2559 $(cli_dump_h) $(gdb_assert_h) $(target_h)
f02df580 2560 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-dump.c
4389a95a
AC
2561cli-interp.o: $(srcdir)/cli/cli-interp.c $(defs_h) $(interps_h) $(wrapper_h) \
2562 $(event_top_h) $(ui_out_h) $(cli_out_h) $(top_h) $(gdb_string_h)
2563 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-interp.c
91092ee5
AC
2564cli-logging.o: $(srcdir)/cli/cli-logging.c $(defs_h) $(gdbcmd_h) $(ui_out_h) \
2565 $(gdb_string_h)
0fac0b41 2566 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-logging.c
72acd513
AC
2567cli-script.o: $(srcdir)/cli/cli-script.c $(defs_h) $(value_h) $(language_h) \
2568 $(ui_out_h) $(gdb_string_h) $(top_h) $(cli_cmds_h) $(cli_decode_h) \
2569 $(cli_script_h)
2570 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-script.c
5f8a3188 2571cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(defs_h) $(value_h) \
72acd513
AC
2572 $(gdb_string_h) $(ui_out_h) $(cli_decode_h) $(cli_cmds_h) \
2573 $(cli_setshow_h)
d318976c 2574 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-setshow.c
72acd513 2575cli-utils.o: $(srcdir)/cli/cli-utils.c $(defs_h) $(cli_utils_h)
12cf3f1b
ND
2576 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-utils.c
2577
541a7aac
AC
2578#
2579# GDBTK sub-directory
2580#
72acd513
AC
2581# Need to explicitly specify the compile rule as make will do nothing
2582# or try to compile the object file into the mi directory.
541a7aac 2583
f15ab4a7
AC
2584all-gdbtk: insight$(EXEEXT)
2585
2586install-gdbtk:
2587 transformed_name=`t='$(program_transform_name)'; \
2588 echo insight | sed -e $$t` ; \
2589 if test "x$$transformed_name" = x; then \
2590 transformed_name=insight ; \
2591 else \
2592 true ; \
2593 fi ; \
c938e9b0 2594 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir); \
72bdd927
AC
2595 $(INSTALL_PROGRAM) insight$(EXEEXT) \
2596 $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
2597 $(SHELL) $(srcdir)/../mkinstalldirs \
2598 $(DESTDIR)$(GDBTK_LIBRARY) ; \
2599 $(SHELL) $(srcdir)/../mkinstalldirs \
2600 $(DESTDIR)$(libdir)/insight$(GDBTK_VERSION) ; \
2601 $(INSTALL_DATA) $(srcdir)/gdbtk/plugins/plugins.tcl \
2602 $(DESTDIR)$(libdir)/insight$(GDBTK_VERSION)/plugins.tcl ; \
2603 $(SHELL) $(srcdir)/../mkinstalldirs \
2604 $(DESTDIR)$(GDBTK_LIBRARY)/images \
2605 $(DESTDIR)$(GDBTK_LIBRARY)/images2 ; \
f15ab4a7 2606 $(SHELL) $(srcdir)/../mkinstalldirs \
72bdd927
AC
2607 $(DESTDIR)$(GDBTK_LIBRARY)/help \
2608 $(DESTDIR)$(GDBTK_LIBRARY)/help/images \
2609 $(DESTDIR)$(GDBTK_LIBRARY)/help/trace ; \
f15ab4a7 2610 cd $(srcdir)/gdbtk/library ; \
df21e465 2611 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 2612 do \
72bdd927 2613 $(INSTALL_DATA) $$i $(DESTDIR)$(GDBTK_LIBRARY)/$$i ; \
f15ab4a7
AC
2614 done ;
2615
2616uninstall-gdbtk:
2617 transformed_name=`t='$(program_transform_name)'; \
2618 echo insight | sed -e $$t` ; \
2619 if test "x$$transformed_name" = x; then \
2620 transformed_name=insight ; \
2621 else \
2622 true ; \
2623 fi ; \
72bdd927
AC
2624 rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
2625 rm -rf $(DESTDIR)$(GDBTK_LIBRARY)
f15ab4a7
AC
2626
2627clean-gdbtk:
2628 rm -f insight$(EXEEXT)
2629
2630# Removing the old gdb first works better if it is running, at least on SunOS.
2631insight$(EXEEXT): gdbtk-main.o main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) \
2632 $(CDEPS) $(TDEPLIBS)
2633 rm -f insight$(EXEEXT)
72cfdc76 2634 $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
92df71f0 2635 -o insight$(EXEEXT) gdbtk-main.o main.o $(CONFIG_OBS) libgdb.a \
f15ab4a7
AC
2636 $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
2637
541a7aac
AC
2638gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
2639 $(WINDRES) --include $(srcdir)/gdbtk $(srcdir)/gdbtk/gdb.rc gdbres.o
2640
2641gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
2642 $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
2643 $(symtab_h) $(inferior_h) $(command_h) \
2644 $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
3cf93817 2645 $(tracepoint_h) $(top_h)
541a7aac 2646 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
b2a1bd4f 2647 $(ITK_CFLAGS) \
541a7aac
AC
2648 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
2649 $(srcdir)/gdbtk/generic/gdbtk.c \
2650 -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
2651
2652gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
2653 $(srcdir)/gdbtk/generic/gdbtk.h \
2654 $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
2655 $(defs_h) $(breakpoint_h) $(tracepoint_h) \
2656 $(symfile_h) $(symtab_h) $(gdb_string_h)
2657 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
b2a1bd4f 2658 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
541a7aac
AC
2659 $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-bp.c \
2660 -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
2661
2662gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
2663 $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
de4f826b
DC
2664 $(defs_h) $(inferior_h) $(source_h) $(symfile_h) $(objfiles_h) \
2665 $(gdbcore_h) $(demangle_h) $(linespec_h) $(tui_file_h) $(top_h) \
2666 $(annotate_h) $(block_h) $(dictionary_h) $(gdb_string_h) \
2667 $(dis_asm_h) $(gdbcmd_h)
541a7aac 2668 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
b2a1bd4f 2669 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
541a7aac
AC
2670 $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
2671 -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
2672
2673gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
2674 $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
2675 $(symtab_h) $(inferior_h) $(command_h) \
2676 $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
2677 $(tracepoint_h)
b2a1bd4f 2678 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
541a7aac
AC
2679 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
2680 $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
2681
5412f5f3
KS
2682gdbtk-interp.o: $(srcdir)/gdbtk/generic/gdbtk-interp.c \
2683 $(defs_h) $(interps_h) $(ui_out_h) $(ui_file_h) \
2684 $(cli_out_h) $(gdb_string_h) $(cli_cmds_h) $(cli_decode_h) \
2685 $(srcdir)/gdbtk/generic/gdbtk.h
2686 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
2687 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS) \
2688 $(srcdir)/gdbtk/generic/gdbtk-interp.c
2689
f15ab4a7
AC
2690gdbtk-main.o: $(srcdir)/gdbtk/generic/gdbtk-main.c $(defs_h) $(main_h) \
2691 $(gdb_string_h)
b2a1bd4f 2692 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
f15ab4a7
AC
2693 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
2694 $(srcdir)/gdbtk/generic/gdbtk-main.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
2695
541a7aac
AC
2696gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
2697 $(srcdir)/gdbtk/generic/gdbtk.h \
2698 $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
2699 $(defs_h) $(frame_h) $(value_h) $(gdb_string_h)
2700 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
b2a1bd4f 2701 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
541a7aac
AC
2702 $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-register.c \
2703 -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
2704
2705gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
2706 $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
2707 $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
de4f826b
DC
2708 $(defs_h) $(target_h) $(breakpoint_h) $(linespec_h) \
2709 $(block_h) $(dictionary_h)
541a7aac 2710 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
b2a1bd4f 2711 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
541a7aac
AC
2712 $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-stack.c \
2713 -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
2714
2715gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \
2716 $(srcdir)/gdbtk/generic/gdbtk.h \
2717 $(defs_h) $(value_h) $(varobj_h) $(gdb_string_h)
b2a1bd4f 2718 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
541a7aac
AC
2719 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
2720 $(srcdir)/gdbtk/generic/gdbtk-varobj.c
2721
2722gdbtk-wrapper.o: $(srcdir)/gdbtk/generic/gdbtk-wrapper.c \
2723 $(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
2724 $(defs_h) $(frame_h) $(value_h)
2725 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(GDBTK_CFLAGS)\
2726 $(srcdir)/gdbtk/generic/gdbtk-wrapper.c
2727
fb40c209 2728#
72acd513 2729# gdb/mi/ dependencies
fb40c209
AC
2730#
2731# Need to explicitly specify the compile rule as make will do nothing
1517c6d1 2732# or try to compile the object file into the sub-directory.
fb40c209 2733
fb40c209 2734mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c $(defs_h) $(mi_cmds_h) \
72acd513
AC
2735 $(ui_out_h) $(mi_out_h) $(breakpoint_h) $(gdb_string_h) \
2736 $(mi_getopt_h) $(gdb_events_h) $(gdb_h)
fb40c209 2737 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-break.c
5f8a3188 2738mi-cmd-disas.o: $(srcdir)/mi/mi-cmd-disas.c $(defs_h) $(target_h) $(value_h) \
91092ee5 2739 $(mi_cmds_h) $(mi_getopt_h) $(gdb_string_h) $(ui_out_h) $(disasm_h)
fb40c209 2740 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-disas.c
4ef3f3be
AC
2741mi-cmd-env.o: $(srcdir)/mi/mi-cmd-env.c $(defs_h) $(inferior_h) $(value_h) \
2742 $(mi_out_h) $(mi_cmds_h) $(mi_getopt_h) $(symtab_h) $(target_h) \
91092ee5
AC
2743 $(environ_h) $(command_h) $(ui_out_h) $(top_h) $(gdb_string_h) \
2744 $(gdb_stat_h)
c04e0a08 2745 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-env.c
91092ee5
AC
2746mi-cmd-file.o: $(srcdir)/mi/mi-cmd-file.c $(defs_h) $(mi_cmds_h) \
2747 $(mi_getopt_h) $(ui_out_h) $(symtab_h) $(source_h)
2748 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-file.c
2749mi-cmds.o: $(srcdir)/mi/mi-cmds.c $(defs_h) $(top_h) $(mi_cmds_h) \
2750 $(gdb_string_h)
2751 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmds.c
72acd513 2752mi-cmd-stack.o: $(srcdir)/mi/mi-cmd-stack.c $(defs_h) $(target_h) $(frame_h) \
91092ee5
AC
2753 $(value_h) $(mi_cmds_h) $(ui_out_h) $(symtab_h) $(block_h) \
2754 $(stack_h) $(dictionary_h)
72acd513
AC
2755 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-stack.c
2756mi-cmd-var.o: $(srcdir)/mi/mi-cmd-var.c $(defs_h) $(mi_cmds_h) $(ui_out_h) \
2757 $(mi_out_h) $(varobj_h) $(value_h) $(gdb_string_h)
2758 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-var.c
72acd513
AC
2759mi-console.o: $(srcdir)/mi/mi-console.c $(defs_h) $(mi_console_h) \
2760 $(gdb_string_h)
2761 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-console.c
2762mi-getopt.o: $(srcdir)/mi/mi-getopt.c $(defs_h) $(mi_getopt_h) \
2763 $(gdb_string_h)
2764 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-getopt.c
4389a95a
AC
2765mi-interp.o: $(srcdir)/mi/mi-interp.c $(defs_h) $(gdb_string_h) $(interps_h) \
2766 $(event_top_h) $(event_loop_h) $(inferior_h) $(ui_out_h) $(top_h) \
2767 $(mi_main_h) $(mi_cmds_h) $(mi_out_h) $(mi_console_h)
2768 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-interp.c
72acd513
AC
2769mi-main.o: $(srcdir)/mi/mi-main.c $(defs_h) $(target_h) $(inferior_h) \
2770 $(gdb_string_h) $(top_h) $(gdbthread_h) $(mi_cmds_h) $(mi_parse_h) \
4389a95a 2771 $(mi_getopt_h) $(mi_console_h) $(ui_out_h) $(mi_out_h) $(interps_h) \
72acd513 2772 $(event_loop_h) $(event_top_h) $(gdbcore_h) $(value_h) $(regcache_h) \
91092ee5 2773 $(gdb_h) $(frame_h) $(mi_main_h)
6311b07d 2774 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-main.c
72acd513 2775mi-out.o: $(srcdir)/mi/mi-out.c $(defs_h) $(ui_out_h) $(mi_out_h)
fb40c209 2776 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-out.c
72acd513
AC
2777mi-parse.o: $(srcdir)/mi/mi-parse.c $(defs_h) $(mi_cmds_h) $(mi_parse_h) \
2778 $(gdb_string_h)
fb40c209 2779 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-parse.c
91092ee5
AC
2780mi-symbol-cmds.o: $(srcdir)/mi/mi-symbol-cmds.c $(defs_h) $(mi_cmds_h) \
2781 $(symtab_h) $(ui_out_h)
30e221b4 2782 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-symbol-cmds.c
fb40c209 2783
6d39a69f
AC
2784#
2785# rdi-share sub-directory
2786#
72acd513
AC
2787# Need to explicitly specify the compile rule as make will do nothing
2788# or try to compile the object file into the mi directory.
6d39a69f
AC
2789
2790rdi-share/libangsd.a: force
2791 @dir=rdi-share; \
2792 if [ -f ./$${dir}/Makefile ] ; then \
2793 r=`pwd`; export r; \
2794 srcroot=`cd $(srcdir); pwd`; export srcroot; \
2795 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
2796 else \
2797 true; \
2798 fi
2799
f92d4a7b 2800#
1517c6d1 2801# gdb/signals/ dependencies
f92d4a7b 2802#
72acd513 2803# Need to explicitly specify the compile rule as make will do nothing
1517c6d1 2804# or try to compile the object file into the sub-directory.
f92d4a7b 2805
91092ee5
AC
2806signals.o: $(srcdir)/signals/signals.c $(server_h) $(defs_h) $(target_h) \
2807 $(gdb_string_h)
f92d4a7b
AC
2808 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/signals/signals.c
2809
ed952ac5 2810#
1517c6d1 2811# gdb/tui/ dependencies
ed952ac5
AC
2812#
2813# Need to explicitly specify the compile rule as make will do nothing
1517c6d1 2814# or try to compile the object file into the sub-directory.
ed952ac5 2815
91092ee5
AC
2816tuiSourceWin.o: $(srcdir)/tui/tuiSourceWin.c $(defs_h) $(symtab_h) \
2817 $(frame_h) $(breakpoint_h) $(value_h) $(source_h) $(tui_h) \
72acd513
AC
2818 $(tuiData_h) $(tuiStack_h) $(tuiWin_h) $(tuiGeneralWin_h) \
2819 $(tuiSourceWin_h) $(tuiSource_h) $(tuiDisassem_h)
2820 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiSourceWin.c
d7b2e967
AC
2821tui.o: $(srcdir)/tui/tui.c $(defs_h) $(gdbcmd_h) $(tui_h) $(tui_data_h) \
2822 $(tui_layout_h) $(tui_io_h) $(tui_regs_h) $(tui_stack_h) \
2823 $(tui_win_h) $(tui_winsource_h) $(tui_windata_h) $(readline_h) \
2824 $(target_h) $(frame_h) $(breakpoint_h) $(inferior_h) $(symtab_h) \
2825 $(source_h)
91092ee5 2826 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui.c
d7b2e967
AC
2827tui-command.o: $(srcdir)/tui/tui-command.c $(defs_h) $(tui_h) $(tui_data_h) \
2828 $(tui_win_h) $(tui_io_h)
2829 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-command.c
2830tui-data.o: $(srcdir)/tui/tui-data.c $(defs_h) $(symtab_h) $(tui_h) \
2831 $(tui_data_h) $(tui_wingeneral_h)
2832 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-data.c
2833tui-disasm.o: $(srcdir)/tui/tui-disasm.c $(defs_h) $(symtab_h) \
2834 $(breakpoint_h) $(frame_h) $(value_h) $(source_h) $(disasm_h) \
2835 $(tui_h) $(tui_data_h) $(tui_win_h) $(tui_layout_h) \
2836 $(tui_winsource_h) $(tui_stack_h) $(tui_file_h)
2837 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-disasm.c
91092ee5 2838tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(ui_file_h) $(tui_file_h) \
d7b2e967 2839 $(tui_io_h) $(tui_h)
91092ee5
AC
2840 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c
2841tui-hooks.o: $(srcdir)/tui/tui-hooks.c $(defs_h) $(symtab_h) $(inferior_h) \
2842 $(command_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) \
2843 $(gdbcore_h) $(event_loop_h) $(event_top_h) $(frame_h) \
2844 $(breakpoint_h) $(gdb_events_h) $(ui_out_h) $(top_h) $(tui_h) \
d7b2e967
AC
2845 $(tui_data_h) $(tui_layout_h) $(tui_io_h) $(tui_regs_h) $(tui_win_h) \
2846 $(tui_stack_h) $(tui_windata_h) $(tui_winsource_h)
91092ee5
AC
2847 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-hooks.c
2848tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \
c14a44d5 2849 $(event_top_h) $(event_loop_h) $(ui_out_h) $(cli_out_h) \
d7b2e967 2850 $(tui_data_h) $(readline_h) $(tui_win_h) $(tui_h) $(tui_io_h)
91092ee5 2851 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-interp.c
d7b2e967
AC
2852tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(terminal_h) $(target_h) \
2853 $(event_loop_h) $(event_top_h) $(command_h) $(top_h) $(readline_h) \
2854 $(tui_h) $(tui_data_h) $(tui_io_h) $(tui_command_h) $(tui_win_h) \
2855 $(tui_wingeneral_h) $(tui_file_h) $(ui_out_h) $(cli_out_h)
2856 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-io.c
2857tui-layout.o: $(srcdir)/tui/tui-layout.c $(defs_h) $(command_h) $(symtab_h) \
2858 $(frame_h) $(source_h) $(tui_h) $(tui_data_h) $(tui_windata_h) \
2859 $(tui_wingeneral_h) $(tui_stack_h) $(tui_regs_h) $(tui_win_h) \
2860 $(tui_winsource_h) $(tui_disasm_h)
2861 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-layout.c
91092ee5
AC
2862tui-out.o: $(srcdir)/tui/tui-out.c $(defs_h) $(ui_out_h) $(tui_h) \
2863 $(gdb_string_h) $(gdb_assert_h)
2864 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-out.c
d7b2e967
AC
2865tui-regs.o: $(srcdir)/tui/tui-regs.c $(defs_h) $(tui_h) $(tui_data_h) \
2866 $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(frame_h) $(regcache_h) \
2867 $(inferior_h) $(target_h) $(tui_layout_h) $(tui_win_h) \
2868 $(tui_windata_h) $(tui_wingeneral_h) $(tui_file_h)
2869 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-regs.c
2870tui-source.o: $(srcdir)/tui/tui-source.c $(defs_h) $(symtab_h) $(frame_h) \
2871 $(breakpoint_h) $(source_h) $(symtab_h) $(tui_h) $(tui_data_h) \
2872 $(tui_stack_h) $(tui_winsource_h) $(tui_source_h)
2873 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-source.c
2874tui-stack.o: $(srcdir)/tui/tui-stack.c $(defs_h) $(symtab_h) $(breakpoint_h) \
2875 $(frame_h) $(command_h) $(inferior_h) $(target_h) $(top_h) $(tui_h) \
2876 $(tui_data_h) $(tui_stack_h) $(tui_wingeneral_h) $(tui_source_h) \
2877 $(tui_winsource_h) $(tui_file_h)
2878 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-stack.c
2879tui-win.o: $(srcdir)/tui/tui-win.c $(defs_h) $(command_h) $(symtab_h) \
2880 $(breakpoint_h) $(frame_h) $(cli_cmds_h) $(top_h) $(source_h) \
2881 $(tui_h) $(tui_data_h) $(tui_wingeneral_h) $(tui_stack_h) \
2882 $(tui_regs_h) $(tui_disasm_h) $(tui_source_h) $(tui_winsource_h) \
2883 $(tui_windata_h)
2884 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-win.c
2885tui-windata.o: $(srcdir)/tui/tui-windata.c $(defs_h) $(tui_h) $(tui_data_h) \
2886 $(tui_wingeneral_h) $(tui_regs_h)
2887 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-windata.c
2888tui-wingeneral.o: $(srcdir)/tui/tui-wingeneral.c $(defs_h) $(tui_h) \
2889 $(tui_data_h) $(tui_wingeneral_h) $(tui_win_h)
2890 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-wingeneral.c
2891tui-winsource.o: $(srcdir)/tui/tui-winsource.c $(defs_h) $(symtab_h) \
2892 $(frame_h) $(breakpoint_h) $(value_h) $(source_h) $(tui_h) \
2893 $(tui_data_h) $(tui_stack_h) $(tui_win_h) $(tui_wingeneral_h) \
2894 $(tui_winsource_h) $(tui_source_h) $(tui_disasm_h)
2895 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-winsource.c
ed952ac5 2896
72acd513 2897#
f92d4a7b 2898# vx-share sub-directory
72acd513 2899#
f92d4a7b
AC
2900
2901xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
2902 vx-share/vxWorks.h vx-share/xdr_ld.h
2903 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
2904
2905xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
2906 vx-share/vxWorks.h vx-share/xdr_ptrace.h
2907 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
2908
2909xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
2910 vx-share/vxWorks.h vx-share/xdr_rdb.h
2911 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
2912
c906108c 2913### end of the gdb Makefile.in.