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