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