]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/Makefile.in
Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).
[thirdparty/binutils-gdb.git] / gdb / Makefile.in
CommitLineData
6ec7e4d3 1# Copyright 1989, 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
33cf356a
SG
2
3# This file is part of GDB.
4
5# This program is free software; you can redistribute it and/or modify
3e5afc2c
RP
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
33cf356a 17# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
3e5afc2c
RP
18
19prefix = /usr/local
20
b68b44fa 21program_transform_name =
4db3902a
RP
22exec_prefix = $(prefix)
23bindir = $(exec_prefix)/bin
24libdir = $(exec_prefix)/lib
6a1f93f6 25tooldir = $(libdir)/$(target_alias)
4db3902a 26
3e5afc2c 27datadir = $(prefix)/lib
4db3902a 28mandir = $(prefix)/man
3e5afc2c
RP
29man1dir = $(mandir)/man1
30man2dir = $(mandir)/man2
31man3dir = $(mandir)/man3
32man4dir = $(mandir)/man4
33man5dir = $(mandir)/man5
34man6dir = $(mandir)/man6
35man7dir = $(mandir)/man7
36man8dir = $(mandir)/man8
37man9dir = $(mandir)/man9
4db3902a 38infodir = $(prefix)/info
3e5afc2c
RP
39includedir = $(prefix)/include
40docdir = $(datadir)/doc
41
42SHELL = /bin/sh
43
c8fee4a5 44INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
3e5afc2c
RP
45INSTALL_PROGRAM = $(INSTALL)
46INSTALL_DATA = $(INSTALL)
47
48AR = ar
33cf356a 49AR_FLAGS = qv
3e5afc2c
RP
50RANLIB = ranlib
51
33cf356a
SG
52# Flags that describe where you can find the termcap library.
53# This can be overridden in the host Makefile fragment file.
54TERMCAP = -ltermcap
55
7ae7b919
RP
56# If you are compiling with GCC, make sure that either 1) You have the
57# fixed include files where GCC can reach them, or 2) You use the
58# -traditional flag. Otherwise the ioctl calls in inflow.c
33cf356a
SG
59# will be incorrectly compiled. The "fixincludes" script in the gcc
60# distribution will fix your include files up.
33cf356a 61#CC=gcc -traditional
33cf356a
SG
62
63# Directory containing source files. Don't clean up the spacing,
64# this exact string is matched for by the "configure" script.
65srcdir = .
d941d8c3 66
19d0f3f4 67# If you use bison instead of yacc, it needs to include the "-y" argument.
0b81fc43 68#BISON=bison -y
33cf356a
SG
69BISON=yacc
70YACC=$(BISON)
33cf356a 71
33cf356a
SG
72# where to find makeinfo, preferably one designed for texinfo-2
73MAKEINFO=makeinfo
74
75# Set this up with gcc if you have gnu ld and the loader will print out
7ae7b919 76# line numbers for undefined references.
33cf356a 77#CC-LD=gcc -static
7ae7b919 78CC-LD=$(CC)
33cf356a 79
7ae7b919
RP
80# Where is our "include" directory? Typically $(srcdir)/../include.
81# This is essentially the header file directory for the library
82# routines in libiberty.
83INCLUDE_DIR = $(srcdir)/../include
84INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
85# Where is the "-liberty" library, containing getopt and obstack?
86LIBIBERTY = ../libiberty/libiberty.a
33cf356a 87
7ae7b919 88# Where is the MMALLOC library? Typically ../mmalloc.
33cf356a
SG
89# Note that mmalloc can still be used on systems without mmap().
90# To use your system malloc, comment out the following defines.
7ae7b919 91MMALLOC = ../mmalloc/libmmalloc.a
33cf356a
SG
92# To use your system malloc, uncomment MMALLOC_DISABLE.
93#MMALLOC_DISABLE = -DNO_MMALLOC
94# To use mmalloc but disable corruption checking, uncomment MMALLOC_CHECK
95#MMALLOC_CHECK = -DNO_MMALLOC_CHECK
7ae7b919
RP
96MMALLOC_CFLAGS = $(MMALLOC_CHECK) $(MMALLOC_DISABLE)
97
98# Where are the BFD library?
99BFD_DIR = ../bfd
100BFD = $(BFD_DIR)/libbfd.a
101BFD_SRC = $(srcdir)/$(BFD_DIR)
f4cc789c 102BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
7ae7b919
RP
103
104# Where is the READLINE library? Typically in ../readline.
105READLINE_DIR = ../readline
106READLINE = $(READLINE_DIR)/libreadline.a
107READLINE_SRC = $(srcdir)/$(READLINE_DIR)
108READLINE_CFLAGS = -I$(READLINE_SRC)
109
110# Opcodes currently live in one of two places. Either they are in the
111# opcode library, typically ../opcodes, or they are in a header file
112# in INCLUDE_DIR.
113# Where is the "-lopcodes" library, with (some of) the opcode tables and
114# disassemblers?
115OPCODES = ./../opcodes/libopcodes.a
116# Where are the other opcode tables which only have header file
117# versions?
b8774958
RP
118OP_INCLUDE = $(INCLUDE_DIR)/opcode
119OPCODES_CFLAGS = -I$(OP_INCLUDE)
33cf356a
SG
120
121# All the includes used for CFLAGS and for lint.
122# -I. for config files.
7ae7b919
RP
123# -I$(srcdir) for gdb internal headers and possibly for regex.h also.
124# -I$(srcdir)/config for more generic config files.
125
126# It is also possible that you will need to add -I/usr/include/sys if
127# your system doesn't have fcntl.h in /usr/include (which is where it
128# should be according to Posix).
129GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config
130
131# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
132# from the config directory.
133GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
33cf356a
SG
134#PROFILE_CFLAGS = -pg
135
136# CFLAGS is specifically reserved for setting from the command line
7ae7b919 137# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
33cf356a 138CFLAGS = -g
33cf356a 139
3fd4045f
JK
140# Need to pass this to testsuite for "make check". Probably should be
141# consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
142# so "make check" has the same result no matter where it is run.
143CXXFLAGS = -g -O
615289ec 144
7ae7b919
RP
145# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
146INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
147 $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
148 $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS)
1e4f3c20 149
b8c0ec27
JK
150# LDFLAGS is specifically reserved for setting from the command line
151# when running make.
152
153# Profiling options need to go here to work.
154# I think it's perfectly reasonable for a user to set -pg in CFLAGS
155# and have it work; that's why CFLAGS is here.
156INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(LDFLAGS)
157
f5ebb9ea
JK
158# We are using our own version of REGEX now to be consistent across
159# machines.
160REGEX = regex.o
161REGEX1 = regex.o
162
31d16514 163# If your system is missing alloca(), or, more likely, it's there but
7ae7b919 164# it doesn't work, then refer to libiberty.
33cf356a
SG
165
166# Libraries and corresponding dependencies for compiling gdb.
167# {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
168# TERMCAP comes after readline, since readline depends on it.
5b40415c 169# If you have the Cygnus libraries installed,
7ae7b919
RP
170# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
171INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
754e5da2 172 -liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(ENABLE_CLIBS)
25286543 173CLIBS = $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) \
754e5da2
SG
174 $(LIBIBERTY) $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) \
175 $(ENABLE_CLIBS)
7ae7b919
RP
176CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) \
177 $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) $(LIBIBERTY)
178
179ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
180ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
181
005234f5 182VERSION = 4.12.4
33cf356a
SG
183DIST=gdb
184
185LINT=/usr/5bin/lint
7ae7b919 186LINTFLAGS= $(BFD_CFLAGS)
33cf356a 187
99c41106
JW
188RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
189 echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
190 fi`
191
e7d3b7d1 192RUNTESTFLAGS=
6fcb280e 193
fd382d28
JK
194# This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
195# interface to the serial port. Hopefully if get ported to OS/2, VMS,
196# etc., then there will be (as part of the C library or perhaps as
197# part of libiberty) a POSIX interface. But at least for now the
198# host-dependent makefile fragment might need to use something else
199# besides ser-unix.o
bd91ddd1 200SER_HARDWIRE=ser-unix.o
fd382d28 201
f261333b
JK
202# The `remote' debugging target is supported for most architectures,
203# but not all (e.g. 960)
c6f494e8 204REMOTE_O = remote.o dcache.o remote-utils.o
f261333b 205
33cf356a
SG
206# Host and target-dependent makefile fragments come in here.
207####
208# End of host and target-dependent makefile fragments
209
ef131e13 210FLAGS_TO_PASS = \
2fcc38b8
FF
211 "prefix=$(prefix)" \
212 "exec_prefix=$(exec_prefix)" \
ef131e13
JG
213 "against=$(against)" \
214 "AR=$(AR)" \
215 "AR_FLAGS=$(AR_FLAGS)" \
216 "CC=$(CC)" \
217 "CFLAGS=$(CFLAGS)" \
aecc5459
ILT
218 "CHILLFLAGS=$(CHILLFLAGS)" \
219 "CHILL=$(CHILL)" \
220 "CHILL_LIB=$(CHILL_LIB)" \
aecc5459
ILT
221 "CXX=$(CXX)" \
222 "CXXFLAGS=$(CXXFLAGS)" \
ef131e13
JG
223 "RANLIB=$(RANLIB)" \
224 "MAKEINFO=$(MAKEINFO)" \
225 "INSTALL=$(INSTALL)" \
226 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
227 "INSTALL_DATA=$(INSTALL_DATA)" \
e7d3b7d1
RS
228 "RUNTEST=$(RUNTEST)" \
229 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
ef131e13
JG
230 "BISON=$(BISON)"
231
aecc5459
ILT
232# Flags that we pass when building the testsuite.
233
234CC_FOR_TARGET = ` \
058470e1 235 if [ -f $${rootme}/../gcc/xgcc ] ; then \
b98612f1 236 if [ -f $${rootme}/../newlib/Makefile ] ; then \
998b321b 237 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc -L$${rootme}/../../newlib -B$${rootme}/../../newlib/; \
b98612f1
C
238 else \
239 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
240 fi; \
aecc5459
ILT
241 else \
242 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
243 echo $(CC); \
244 else \
245 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
246 fi; \
247 fi`
248
249CXX = gcc
aecc5459
ILT
250CXX_FOR_TARGET = ` \
251 if [ -f $${rootme}/../gcc/Makefile ] ; then \
b98612f1 252 if [ -f $${rootme}/../newlib/Makefile ] ; then \
998b321b 253 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc -L$${rootme}/../../newlib -B$${rootme}/../../newlib/; \
b98612f1
C
254 else \
255 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
256 fi; \
aecc5459
ILT
257 else \
258 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
259 echo $(CXX); \
260 else \
261 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
262 fi; \
263 fi`
264
aecc5459
ILT
265CHILLFLAGS = $(CFLAGS)
266CHILL = gcc
267CHILL_FOR_TARGET = ` \
268 if [ -f $${rootme}/../gcc/Makefile ] ; then \
269 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../chillrt/; \
270 else \
271 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
272 echo $(CC); \
273 else \
274 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
275 fi; \
276 fi`
277CHILL_LIB = -lchill
1fa66e36 278
cad1498f
SG
279NLMCONV_FOR_TARGET = ` \
280 if [ -f $${rootme}/../binutils/nlmconv ] ; then \
281 echo $${rootme}/../binutils/nlmconv; \
282 else \
283 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
284 echo $(NLMCONV); \
285 else \
286 t='$(program_transform_name)'; echo nlmconv | sed -e '' $$t; \
287 fi; \
288 fi`
289
290NWSOURCE = /gaunt/grossman/unsupported/Novell
291NWINCLUDES = $(NWSOURCE)/novh40
292
293LD_FOR_TARGET = ` \
b98612f1
C
294 if [ -f $${rootme}/../ld/ld.new ] ; then \
295 echo $${rootme}/../ld/ld.new; \
cad1498f
SG
296 else \
297 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
298 echo $(LD); \
299 else \
300 t='$(program_transform_name)'; echo ld | sed -e '' $$t; \
301 fi; \
302 fi`
303
0b96ed06
FF
304# The use of $$(x_FOR_TARGET) reduces the command line length by not
305# duplicating the lengthy definition.
aecc5459
ILT
306TARGET_FLAGS_TO_PASS = \
307 "prefix=$(prefix)" \
308 "exec_prefix=$(exec_prefix)" \
309 "against=$(against)" \
0b96ed06
FF
310 'CC=$$(CC_FOR_TARGET)' \
311 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
aecc5459 312 "CFLAGS=$(CFLAGS)" \
aecc5459 313 "CHILLFLAGS=$(CHILLFLAGS)" \
0b96ed06
FF
314 'CHILL=$$(CHILL_FOR_TARGET)' \
315 "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
aecc5459 316 "CHILL_LIB=$(CHILL_LIB)" \
0b96ed06
FF
317 'CXX=$$(CXX_FOR_TARGET)' \
318 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
aecc5459
ILT
319 "CXXFLAGS=$(CXXFLAGS)" \
320 "MAKEINFO=$(MAKEINFO)" \
321 "INSTALL=$(INSTALL)" \
322 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
323 "INSTALL_DATA=$(INSTALL_DATA)" \
e7d3b7d1
RS
324 "RUNTEST=$(RUNTEST)" \
325 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
aecc5459
ILT
326 "BISON=$(BISON)"
327
5287eacd 328# All source files that go into linking GDB.
853a233b 329# Links made at configuration time should not be specified here, since
5287eacd
FF
330# SFILES is used in building the distribution archive.
331
7ae7b919
RP
332SFILES = blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c \
333 c-typeprint.c c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c \
334 ch-valprint.c coffread.c command.c complaints.c core.c cp-valprint.c \
335 dbxread.c demangle.c dwarfread.c elfread.c environ.c eval.c expprint.c \
f93b941b 336 findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c \
7ae7b919 337 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
db85f523
FF
338 mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
339 printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
172559ec
JK
340 symtab.c target.c thread.c top.c \
341 typeprint.c utils.c valarith.c valops.c \
25200748 342 valprint.c values.c serial.c ser-unix.c mdebugread.c os9kread.c
7ae7b919
RP
343
344# Files that are not source code, but need to go into
345# gdb-$(VERSION).tar.Z.
346
976bb0be 347NONSRC = Makefile.in configure.in ChangeLog ChangeLog-9091 \
d7a5ff3c
JK
348 ChangeLog-92 ChangeLog-93 ChangeLog-3.x \
349 gdb.1 refcard.ps README TODO TAGS NEWS \
7ae7b919
RP
350 Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
351 saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
352 nindy-share/Makefile nindy-share/VERSION nindy-share/README \
ed89c3d9
FF
353 vx-share/README 29k-share/README config/convex/Convex.notes \
354 i386-nlmstub.c
2531303c 355
33cf356a
SG
356# All source files that lint should look at
357LINTFILES = $(SFILES) $(YYFILES) init.c
358
359# Any additional files specified on these lines should also be added to
2531303c 360# the NONSRC definition, so they go in the tar files.
33cf356a
SG
361SFILES_STAND = $(SFILES) standalone.c
362SFILES_KGDB = $(SFILES) stuff.c kdb-start.c
363
7ae7b919 364# "system" headers. Using these in dependencies is a rather personal
5fa83062
JK
365# choice. (-rich, summer 1993)
366# (Why would we not want to depend on them? If one of these changes in a
367# non-binary-compatible way, it is a real pain to remake the right stuff
368# without these dependencies -kingdon, 13 Mar 1994)
369getopt_h = $(INCLUDE_DIR)/getopt.h
370floatformat_h = $(INCLUDE_DIR)/floatformat.h
371bfd_h = $(BFD_DIR)/bfd.h
372wait_h = $(INCLUDE_DIR)/wait.h
373dis-asm_h = $(INCLUDE_DIR)/dis-asm.h
7ae7b919 374
c6f494e8 375dcache_h = dcache.h
ed89c3d9 376remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h remote-sim.h
c6f494e8 377
7ae7b919
RP
378readline_headers = \
379 $(READLINE_SRC)/chardefs.h \
380 $(READLINE_SRC)/history.h \
381 $(READLINE_SRC)/keymaps.h \
382 $(READLINE_SRC)/readline.h
383
384udiheaders = \
36b1d528
SG
385 $(srcdir)/29k-share/udi/udiproc.h \
386 $(srcdir)/29k-share/udi/udiphcfg.h \
387 $(srcdir)/29k-share/udi/udiphunix.h \
388 $(srcdir)/29k-share/udi/udiptcfg.h \
389 $(srcdir)/29k-share/udi/udipt29k.h \
390 $(srcdir)/29k-share/udi/udisoc.h
7ae7b919 391
7ae7b919
RP
392gdbcore_h = gdbcore.h $(bfd_h)
393
394frame_h = frame.h
395symtab_h = symtab.h
396gdbtypes_h = gdbtypes.h
397expression_h = expression.h
398value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
399
400breakpoint_h = breakpoint.h $(frame_h) $(value_h)
401
402command_h = command.h
403gdbcmd_h = gdbcmd.h $(command_h)
404
405defs_h = defs.h xm.h tm.h nm.h config.status
406
407inferior_h = inferior.h $(breakpoint_h)
408
4901e77d
FF
409# Header files that need to have srcdir added. Note that in the cases
410# where we use a macro like $(gdbcmd_h), things are carefully arranged
411# so that each .h file is listed exactly once (M-x tags-search works
412# wrong if TAGS has files twice). Because this is tricky to get
413# right, it is probably easiest just to list .h files here directly.
7ae7b919 414
07919221 415HFILES_NO_SRCDIR = buildsym.h call-cmds.h coff-solib.h defs.h dst.h environ.h \
1c95d7ab
JK
416 $(gdbcmd_h) gdbcore.h \
417 gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
7ae7b919
RP
418 objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
419 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
420 c-lang.h ch-lang.h m2-lang.h complaints.h ns32k-opcode.h valprint.h \
421 config/m68k/tm-m68k.h config/pa/tm-hppa.h config/i960/tm-i960.h \
07919221
JK
422 config/sparc/tm-sparc.h config/tm-lynx.h config/tm-sunos.h \
423 config/tm-sysv4.h \
424 config/m68k/xm-m68k.h config/sparc/xm-sparc.h \
425 config/xm-lynx.h config/xm-sysv4.h \
f4f0d174 426 config/vax/xm-vax.h config/nm-m3.h config/nm-trash.h \
7ae7b919 427 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
9b311b22
FF
428 nindy-share/block_io.h nindy-share/coff.h \
429 nindy-share/env.h nindy-share/stop.h \
7ae7b919
RP
430 vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
431 vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
c6f494e8 432 vx-share/xdr_ptrace.h vx-share/xdr_rdb.h thread.h \
172559ec 433 dcache.h remote-utils.h remote-sim.h top.h
2531303c 434
1c95d7ab 435# Header files that already have srcdir in them, or which are in objdir.
f4f0d174 436
1c95d7ab 437HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h
f4f0d174
JK
438
439
2531303c
FF
440# GDB "info" files, which should be included in their entirety
441INFOFILES = gdb.info*
33cf356a 442
22473f72 443REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
33cf356a 444
7ae7b919 445POSSLIBS = regex.c regex.h
33cf356a 446
33cf356a
SG
447# Subdirectories of gdb, which should be included in their entirety in
448# gdb-xxx.tar.Z:
ead291d4 449TARDIRS = doc gdbserver sparclite
33cf356a 450
fd382d28
JK
451# {X,T,NAT}DEPFILES are something of a pain in that it's hard to
452# default their values the way we do for SER_HARDWIRE; in the future
453# maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
454# variables analogous to SER_HARDWIRE which get defaulted in this
455# Makefile.in
456
754e5da2
SG
457DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) $(REMOTE_O) \
458 $(ENABLE_DEPFILES)
33cf356a 459
2531303c 460SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
853a233b
JK
461# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
462# and it's more useful to see it in the .y file.
f4f0d174
JK
463TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
464 $(ALLPARAM) $(POSSLIBS)
465TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
7ae7b919 466
f4f0d174
JK
467TARFILES = $(SFILES) $(HFILES_NO_SRCDIR) $(HFILES_WITH_SRCDIR) \
468 $(NONSRC) $(ALLDEPFILES) $(ALLCONFIG) \
7ae7b919
RP
469 $(ALLPARAM) $(INFOFILES) $(POSSLIBS) $(REMOTE_EXAMPLES)
470
471
d8fc8773 472COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
7ae7b919 473 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
9b311b22 474 symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
d8fc8773 475 expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
f93b941b 476 mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
7ae7b919
RP
477 objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
478 dwarfread.o mipsread.o stabsread.o core.o c-lang.o ch-lang.o m2-lang.o \
479 complaints.o typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
db85f523 480 c-valprint.o cp-valprint.o ch-valprint.o m2-valprint.o nlmread.o \
172559ec 481 serial.o mdebugread.o os9kread.o top.o utils.o
33cf356a 482
172559ec 483OBS = $(COMMON_OBS) main.o annotate.o
d8fc8773 484
172559ec 485LIBGDB_OBS =
d8fc8773 486
c9c23412 487TSOBS = inflow.o
33cf356a
SG
488
489NTSOBS = standalone.o
490
33cf356a
SG
491NTSSTART = kdb-start.o
492
aecc5459 493SUBDIRS = doc testsuite
33cf356a
SG
494
495# For now, shortcut the "configure GDB for fewer languages" stuff.
e58de8a2
FF
496YYFILES = c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
497YYOBJ = c-exp.tab.o m2-exp.tab.o ch-exp.tab.o
33cf356a 498
de19d1ed
FF
499# Things which need to be built when making a distribution.
500
501DISTSTUFF = $(YYFILES)
502
33cf356a
SG
503# Prevent Sun make from putting in the machine type. Setting
504# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
505.c.o:
7ae7b919 506 $(CC) -c $(INTERNAL_CFLAGS) $<
33cf356a 507
667fb5c3 508all: gdb libgdb-files $(LIBGDB_OBS)
0139c441 509 @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
6fcb280e 510
80c8fd72 511installcheck:
f4f0d174
JK
512
513# The check target can not use subdir_do, because subdir_do does not
514# use TARGET_FLAGS_TO_PASS.
e7d3b7d1 515check: force
f4f0d174
JK
516 @if [ -f testsuite/Makefile ]; then \
517 rootme=`pwd`; export rootme; \
b98612f1 518 rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
f4f0d174
JK
519 cd testsuite; \
520 $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
521 else true; fi
522
7ae7b919 523info dvi install-info clean-info: force
0139c441 524 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
33cf356a
SG
525
526gdb.z:gdb.1
527 nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
528 pack gdb.t ; rm -f gdb.t
529 mv gdb.t.z gdb.z
b8774958 530
7ae7b919 531# Traditionally "install" depends on "all". But it may be useful
702c0ff7
JK
532# not to; for example, if the user has made some trivial change to a
533# source file and doesn't care about rebuilding or just wants to save the
534# time it takes for make to check that all is up to date.
7ae7b919
RP
535# install-only is intended to address that need.
536install: all install-only
ef1a0540 537install-only:
94d4b713
JK
538 transformed_name=`t='$(program_transform_name)'; \
539 echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
ef1a0540
JK
540 if test "x$$transformed_name" = x; then \
541 transformed_name=gdb ; \
542 else \
543 true ; \
544 fi ; \
545 $(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
546 $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
7ae7b919 547 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
33cf356a 548
7ae7b919 549uninstall: force
cfeed64e 550 rm -f $(bindir)/gdb $(man1dir)/gdb.1
7ae7b919 551 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
33cf356a 552
976bb0be
JK
553# We do this by grepping through sources. If that turns out to be too slow,
554# maybe we could just require every .o file to have an initialization routine
555# of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
623d7380
JK
556#
557# Formatting conventions: The name of the _initialize_* routines must start
558# in column zero, and must not be inside #if.
0f221a69
FF
559#
560# Note that the set of files with init functions might change, or the names
561# of the functions might change, so this files needs to depend on all the
562# object files that will be linked into gdb.
563
976bb0be
JK
564init.c: $(OBS) $(TSOBS)
565 @echo Making init.c
566 @rm -f init.c-tmp
567 @echo '/* Do not modify this file. */' >init.c-tmp
568 @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
569 @echo 'void initialize_all_files () {' >>init.c-tmp
570 @for i in $(OBS) $(TSOBS); do \
571 filename=`echo $$i | sed \
572 -e '/^Onindy.o/d' \
573 -e '/^nindy.o/d' \
574 -e '/ttyflush.o/d' \
575 -e '/xdr_ld.o/d' \
576 -e '/xdr_ptrace.o/d' \
577 -e '/xdr_rdb.o/d' \
578 -e '/udr.o/d' \
579 -e '/udip2soc.o/d' \
7fb95139 580 -e '/udi2go32.o/d' \
976bb0be
JK
581 -e '/version.o/d' \
582 -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
583 -e 's/\.o/.c/'` ; \
e2507f81
JK
584 case $$filename in \
585 "") ;; \
586 *) sed <$(srcdir)/$$filename >>init.c-tmp -n \
587 -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/ {extern void \1 (); \1 ();}/p' ; ;; \
588 esac ; \
976bb0be
JK
589 done
590 @echo '}' >>init.c-tmp
591 @mv init.c-tmp init.c
7ae7b919 592
c2153bf2
JK
593.PRECIOUS: init.c
594
595# Removing the old gdb first works better if it is running, at least on SunOS.
667fb5c3 596gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
c2153bf2 597 rm -f gdb
b8c0ec27 598 $(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \
33cf356a
SG
599 init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
600
cad1498f 601prelude.o: $(NWSOURCE)/prelude.c
b98612f1 602 rootme=`pwd`; export rootme; rootsrc=`cd $(srcdir); pwd`; export rootsrc; $(CC_FOR_TARGET) -g -I $(NWINCLUDES) -c $(NWSOURCE)/prelude.c
cad1498f
SG
603
604i386-nlmstub.o: $(srcdir)/i386-nlmstub.c
b98612f1 605 rootme=`pwd`; export rootme; rootsrc=`cd $(srcdir); pwd`; export rootsrc; $(CC_FOR_TARGET) -g -I $(NWINCLUDES) -c $(srcdir)/i386-nlmstub.c
cad1498f
SG
606
607nlmstub.o: prelude.o i386-nlmstub.o
608 rootme=`pwd`; export rootme; $(LD_FOR_TARGET) -r -o nlmstub.o prelude.o i386-nlmstub.o
609
610nlmstub.nlm: nlmstub.o $(srcdir)/nlmstub.def
611 rootme=`pwd`; export rootme; $(NLMCONV_FOR_TARGET) -T $(srcdir)/nlmstub.def nlmstub.o nlmstub.nlm
612
613nlmstub: nlmstub.nlm
614
d3507982
JK
615# libproc is not listed here because all-libproc is a dependency of all-gui,
616# not all-gdb, and thus might be built after us.
617LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
618# libproc needs to be before libiberty for alloca.
619LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \
620 $(ADD_DEPS) $(CDEPS) init.o
621
622libgdb-files: $(LIBGDBDEPS) Makefile.in
8eb7b7c3
TL
623 -rm -f libgdb-files
624 for i in $(LIBGDBFILES); do\
667fb5c3 625 echo $$i >> libgdb-files;\
8eb7b7c3
TL
626 done
627
33cf356a 628saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
7ae7b919 629 #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
33cf356a 630 #load ./init.c $(SFILES)
7ae7b919
RP
631 #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y $(srcdir)/ch-exp.y
632 #unload vx-share/*.h
633 #unload nindy-share/[A-Z]*
e58de8a2 634 #load c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
33cf356a 635 #load copying.c version.c
1e4f3c20 636 #load ../opcodes/libopcodes.a
33cf356a
SG
637 #load ../libiberty/libiberty.a
638 #load ../bfd/libbfd.a
639 #load ../readline/libreadline.a
640 #load ../mmalloc/libmmalloc.a
641 #load -ltermcap
642 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
643 echo "Load .c corresponding to:" $(DEPFILES)
644
645
6ec7e4d3
SS
646# A Mach 3.0 program to force gdb back to command level
647
a8044a2d
PS
648stop-gdb: stop-gdb.o
649 ${CC-LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
650 stop-gdb.o $(CLIBS) $(LOADLIBES)
6ec7e4d3 651
33cf356a
SG
652# This is useful when debugging GDB, because some Unix's don't let you run GDB
653# on itself without copying the executable. So "make gdb1" will make
654# gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
655# Removing gdb1 before the copy is the right thing if gdb1 is open
656# in another process.
657gdb1: gdb
658 rm -f gdb1
659 cp gdb gdb1
660
33cf356a
SG
661config.status:
662 @echo "You must configure gdb. Look at the README file for details."
663 @false
664
7ae7b919 665### fixme - this can't be right.
ef131e13
JG
666# This checks the configure.in file versus the config/ directory.
667config-check: config-check-hosts config-check-targets
668config-check-hosts:
7ae7b919 669 grep gdb_host= $(srcdir)/configure.in | \
ef131e13 670 sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
7ae7b919 671 (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
ef131e13
JG
672 diff -u HOSTconf.o HOSTdir.o
673
7ae7b919 674### fixme - nor can this.
ef131e13 675config-check-targets:
7ae7b919 676 grep gdb_target= $(srcdir)/configure.in | \
ef131e13 677 sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
7ae7b919 678 (cd $(srcdir)/config; ls *.mt) >TARGdir.o
ef131e13
JG
679 diff -u HOSTconf.o HOSTdir.o
680
7ae7b919 681# FIXME. These are not generated by "make depend" because they only are there
33cf356a
SG
682# for some machines.
683# But these rules don't do what we want; we want to hack the foo.o: tm.h
684# dependency to do the right thing.
2225eb85
FF
685tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
686tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
33cf356a
SG
687xm-news1000.h: xm-news.h
688xm-i386-sv32.h: xm-i386.h
689tm-i386gas.h: tm-i386.h
690xm-sun4os4.h: xm-sparc.h
691tm-sun4os4.h: tm-sparc.h
692xm-vaxult.h: xm-vax.h
693xm-vaxbsd.h: xm-vax.h
694
7ae7b919 695kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
33cf356a
SG
696 ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
697 -lc $(CLIBS)
698
8d57a263 699# Put the proper machine-specific files first, so M-. on a machine
f4f0d174
JK
700# specific routine gets the one for the correct machine. (FIXME: those
701# files go in twice; we should be removing them from the main list).
702
703# TAGS depends on all the files that go into it so you can rebuild TAGS
704# with `make TAGS' and not have to say `rm TAGS' first.
705
706TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
4901e77d 707 @echo Making TAGS
94d4b713
JK
708 @etags $(srcdir)/$(TM_FILE) \
709 $(srcdir)/$(XM_FILE) \
710 $(srcdir)/$(NAT_FILE) \
f4f0d174 711 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
7ae7b919 712 echo $(srcdir)/$$i ; \
f4f0d174
JK
713 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
714 echo $$i ; \
715 done) | sed -e 's/\.o$$/\.c/'`
7ae7b919 716
33cf356a
SG
717tags: TAGS
718
b76dcd4b 719clean mostlyclean:
4e772f44 720 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
976bb0be 721 rm -f *.o $(ADD_FILES) *~ init.c-tmp
33cf356a 722 rm -f init.c version.c
1ded65d1 723 rm -f gdb core make.log libgdb-files
33cf356a 724 rm -f gdb[0-9]
33cf356a 725
39d4639b
JK
726# This used to depend on c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
727# I believe this is wrong; the makefile standards for distclean just
728# describe removing files; the only sort of "re-create a distribution"
729# functionality described is if the distributed files are unmodified.
730distclean: clean
4e772f44 731 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
39d4639b 732 rm -f nm.h tm.h xm.h config.status
fdf138bb 733 rm -f y.output yacc.acts yacc.tmp y.tab.h
7ae7b919 734 rm -f Makefile
33cf356a
SG
735
736realclean: clean
4e772f44 737 @$(MAKE) $(FLAGS_TO_PASS) DO=realclean "DODIRS=$(SUBDIRS)" subdir_do
a2608ea1 738 rm -f c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS $(INFOFILES)
39d4639b
JK
739 rm -f nm.h tm.h xm.h config.status
740 rm -f y.output yacc.acts yacc.tmp
7ae7b919 741 rm -f Makefile
33cf356a 742
de19d1ed
FF
743diststuff: $(DISTSTUFF)
744 (cd doc; $(MAKE) $(MFLAGS) GDBvn.texi)
745 $(MAKE) $(MFLAGS) gdb.info
746 $(MAKE) $(MFLAGS) refcard.ps
747
33cf356a
SG
748subdir_do: force
749 @for i in $(DODIRS); do \
6f4a4fbb 750 if [ -f ./$$i/Makefile ] ; then \
33cf356a 751 if (cd ./$$i; \
ef131e13 752 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
33cf356a
SG
753 else exit 1 ; fi ; \
754 else true ; fi ; \
755 done
d941d8c3 756
7ae7b919
RP
757Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
758 $(SHELL) config.status
d941d8c3 759
33cf356a 760force:
d941d8c3 761
33cf356a
SG
762# Documentation!
763# GDB QUICK REFERENCE (TeX dvi file, CM fonts)
2b21d8aa 764refcard.dvi:
7ae7b919
RP
765 ( cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) )
766 mv doc/refcard.dvi .
d941d8c3 767
33cf356a 768# GDB QUICK REFERENCE (PostScript output, common PS fonts)
2b21d8aa 769refcard.ps:
7ae7b919
RP
770 ( cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) )
771 mv doc/refcard.ps .
d941d8c3 772
33cf356a 773# GDB MANUAL: TeX dvi file
259d1dea 774gdb.dvi:
7ae7b919
RP
775 ( cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) )
776 mv doc/gdb.dvi .
d941d8c3 777
33cf356a 778# GDB MANUAL: info file
259d1dea 779gdb.info:
7ae7b919
RP
780 ( cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) )
781 mv doc/gdb.info* .
d941d8c3 782
33cf356a 783# Make copying.c from COPYING
7ae7b919
RP
784copying.c: COPYING copying.awk
785 awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
d941d8c3 786
33cf356a
SG
787version.c: Makefile
788 echo 'char *version = "$(VERSION)";' >version.c
a28d16d3
JK
789 echo 'char *host_name = "$(host_alias)";' >> version.c
790 echo 'char *target_name = "$(target_alias)";' >> version.c
d941d8c3 791
7ae7b919
RP
792# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
793# in srcdir, then compiled in objdir to c-exp.tab.o.
f3fe62b1
JK
794
795# If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
796# would sometimes re-write it into $(srcdir)/c-exp.tab.c.
797
9aa44833 798# Remove bogus decls for malloc/realloc/free which conflict with everything
ef1a0540
JK
799# else. Strictly speaking c-exp.tab.c should therefore depend on
800# Makefile.in, but that was a pretty big annoyance.
33cf356a 801c-exp.tab.o: c-exp.tab.c
ef1a0540 802c-exp.tab.c: c-exp.y
7ae7b919 803 $(YACC) $(YFLAGS) $(srcdir)/c-exp.y
9aa44833
SG
804 -sed -e '/extern.*malloc/d' \
805 -e '/extern.*realloc/d' \
806 -e '/extern.*free/d' \
e58de8a2 807 -e '/include.*malloc.h/d' \
e35843d4
FF
808 -e 's/malloc/xmalloc/g' \
809 -e 's/realloc/xrealloc/g' \
39d4639b 810 < y.tab.c > c-exp.new
9aa44833 811 -rm y.tab.c
f3fe62b1 812 mv c-exp.new ./c-exp.tab.c
d941d8c3 813
7ae7b919
RP
814# ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
815# in srcdir, then compiled in objdir to ch-exp.tab.o.
e58de8a2
FF
816# Remove bogus decls for malloc/realloc/free which conflict with everything
817# else.
818ch-exp.tab.o: ch-exp.tab.c
7ae7b919
RP
819# the dependency here on c-exp.tab.c is artificial. Without this
820# dependency, a parallel make will attempt to build both at the same
821# time and the second yacc will pollute the first y.tab.c file.
ef1a0540 822ch-exp.tab.c: ch-exp.y c-exp.tab.c
7ae7b919 823 $(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
e58de8a2
FF
824 -sed -e '/extern.*malloc/d' \
825 -e '/extern.*realloc/d' \
826 -e '/extern.*free/d' \
827 -e '/include.*malloc.h/d' \
828 -e 's/malloc/xmalloc/g' \
829 -e 's/realloc/xrealloc/g' \
39d4639b 830 < y.tab.c > ch-exp.new
e58de8a2 831 -rm y.tab.c
f3fe62b1 832 mv ch-exp.new ./ch-exp.tab.c
e58de8a2 833
7ae7b919
RP
834# m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
835# in srcdir, then compiled in objdir to m2-exp.tab.o.
e58de8a2
FF
836# Remove bogus decls for malloc/realloc/free which conflict with everything
837# else.
33cf356a 838m2-exp.tab.o: m2-exp.tab.c
7ae7b919
RP
839# the dependency here on ch-exp.tab.c is artificial. Without this
840# dependency, a parallel make will attempt to build both at the same
841# time and the second yacc will pollute the first y.tab.c file.
ef1a0540 842m2-exp.tab.c: m2-exp.y ch-exp.tab.c
7ae7b919 843 $(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
9aa44833
SG
844 -sed -e '/extern.*malloc/d' \
845 -e '/extern.*realloc/d' \
846 -e '/extern.*free/d' \
e58de8a2 847 -e '/include.*malloc.h/d' \
e35843d4
FF
848 -e 's/malloc/xmalloc/g' \
849 -e 's/realloc/xrealloc/g' \
39d4639b 850 < y.tab.c > m2-exp.new
9aa44833 851 -rm y.tab.c
f3fe62b1 852 mv m2-exp.new ./m2-exp.tab.c
39d4639b
JK
853
854# These files are updated atomically, so make never has to remove them
855.PRECIOUS: m2-exp.tab.c ch-exp.tab.c c-exp.tab.c
d941d8c3 856
33cf356a
SG
857lint: $(LINTFILES)
858 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
7ae7b919 859 `echo $(DEPFILES) | sed 's/\.o /\.c /g'
d941d8c3 860
33cf356a
SG
861gdb.cxref: $(SFILES)
862 cxref -I. $(SFILES) >gdb.cxref
d941d8c3 863
33cf356a 864force_update:
d941d8c3 865
33cf356a
SG
866# GNU Make has an annoying habit of putting *all* the Makefile variables
867# into the environment, unless you include this target as a circumvention.
868# Rumor is that this will be fixed (and this target can be removed)
869# in GNU Make 4.0.
870.NOEXPORT:
d941d8c3 871
aecc5459
ILT
872# GNU Make 3.63 has a different problem: it keeps tacking command line
873# overrides onto the definition of $(MAKE). This variable setting
874# will remove them.
875MAKEOVERRIDES=
876
58bb1e76
ILT
877## This is ugly, but I don't want GNU make to put these variables in
878## the environment. Older makes will see this as a set of targets
879## with no dependencies and no actions.
880unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
58bb1e76 881
7ae7b919
RP
882# These are things from config/*/*.m? fragments. There is no good reason
883# why they are separate from the lists of files above.
884
f3fe62b1 885ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
07919221 886 29k-share/udi/udi2go32.c \
cef4c2e7
PS
887 a29k-pinsn.c a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
888 altos-xdep.c arm-convert.s \
a834c083 889 arm-pinsn.c arm-tdep.c arm-xdep.c coff-solib.c convex-pinsn.c \
ead291d4 890 convex-tdep.c \
256533df
PS
891 convex-xdep.c core-sol2.c core-svr4.c coredep.c corelow.c dcache.c \
892 delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
7ae7b919
RP
893 go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
894 hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
895 i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
f4f0d174 896 i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
5d76c8e6 897 i387-tdep.c \
ead291d4 898 i960-pinsn.c i960-tdep.c \
07919221 899 infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
f4f0d174
JK
900 lynx-nat.c m3-nat.c \
901 m68k-pinsn.c m68k-tdep.c \
7ae7b919 902 m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
1c95d7ab 903 mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
5d76c8e6 904 nindy-share/Onindy.c nindy-share/nindy.c \
9b311b22 905 nindy-share/ttyflush.c nindy-tdep.c \
5d76c8e6 906 ns32k-pinsn.c ns32km3-nat.c osfsolib.c \
0f221a69 907 somread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
07919221 908 remote-adapt.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c \
5d76c8e6 909 remote-hms.c remote-mips.c \
25200748 910 remote-mm.c remote-mon.c remote-nindy.c remote-os9k.c remote-sim.c \
c6f494e8 911 remote-st.c remote-utils.c dcache.c \
7ae7b919
RP
912 remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
913 rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
1782eb41 914 sparc-pinsn.c sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
3fd4045f
JK
915 symm-tdep.c symm-nat.c \
916 tahoe-pinsn.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
5d76c8e6
JK
917 vax-pinsn.c \
918 vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
7ae7b919
RP
919 xcoffexec.c xcoffread.c xcoffsolib.c z8k-tdep.c
920
921ALLPARAM = config/a29k/nm-ultra3.h config/a29k/tm-a29k.h \
de6a2704 922 config/a29k/tm-ultra3.h config/a29k/xm-ultra3.h \
cef4c2e7 923 config/alpha/nm-alpha.h config/alpha/tm-alpha.h \
de6a2704 924 config/alpha/xm-alpha.h config/arm/tm-arm.h \
7ae7b919
RP
925 config/arm/xm-arm.h config/convex/tm-convex.h \
926 config/convex/xm-convex.h config/gould/tm-np1.h config/gould/tm-pn.h \
927 config/gould/xm-np1.h config/gould/xm-pn.h config/h8300/tm-h8300.h \
928 config/h8500/tm-h8500.h config/i386/nm-i386aix.h \
929 config/i386/nm-i386bsd.h config/i386/nm-i386lynx.h \
930 config/i386/nm-i386mach.h config/i386/nm-i386sco.h \
931 config/i386/nm-i386sco4.h config/i386/nm-i386v.h \
5069d770
FF
932 config/i386/nm-i386v4.h config/i386/nm-linux.h \
933 config/i386/nm-sun386.h config/i386/nm-symmetry.h \
7ae7b919 934 config/i386/tm-i386aix.h config/i386/tm-i386bsd.h \
5d76c8e6 935 config/i386/tm-i386lynx.h config/i386/tm-i386m3.h \
cf4d8631 936 config/i386/tm-i386mk.h config/i386/tm-i386nw.h \
5069d770
FF
937 config/i386/tm-i386v.h \
938 config/i386/tm-i386v4.h config/i386/tm-linux.h \
939 config/i386/tm-sun386.h \
7ae7b919
RP
940 config/i386/tm-symmetry.h config/i386/xm-go32.h \
941 config/i386/xm-i386aix.h config/i386/xm-i386bsd.h \
942 config/i386/xm-i386lynx.h config/i386/xm-i386mach.h \
5d76c8e6 943 config/i386/xm-i386m3.h config/i386/xm-i386mk.h \
7ae7b919
RP
944 config/i386/xm-i386sco.h config/i386/xm-i386v.h \
945 config/i386/xm-i386v32.h config/i386/xm-i386v4.h \
946 config/i386/xm-linux.h config/i386/xm-sun386.h \
947 config/i386/xm-symmetry.h config/i960/tm-nindy960.h \
948 config/i960/tm-vx960.h config/m68k/nm-apollo68b.h \
5069d770
FF
949 config/m68k/nm-apollo68v.h config/m68k/nm-delta68.h \
950 config/m68k/nm-dpx2.h config/m68k/nm-hp300bsd.h \
951 config/m68k/nm-hp300hpux.h config/m68k/nm-news.h \
07919221 952 config/m68k/nm-m68klynx.h \
5069d770 953 config/m68k/nm-sun2.h \
7ae7b919 954 config/m68k/nm-sun3.h config/m68k/tm-3b1.h config/m68k/tm-altos.h \
07919221 955 config/m68k/tm-apollo68b.h \
1c95d7ab
JK
956 config/m68k/tm-amix.h \
957 config/m68k/tm-cisco.h config/m68k/tm-delta68.h \
5069d770 958 config/m68k/tm-dpx2.h config/m68k/tm-es1800.h \
7ae7b919 959 config/m68k/tm-hp300bsd.h config/m68k/tm-hp300hpux.h \
07919221 960 config/m68k/tm-isi.h config/m68k/tm-m68klynx.h \
c6f494e8 961 config/m68k/tm-monitor.h \
7ae7b919
RP
962 config/m68k/tm-news.h config/m68k/tm-os68k.h config/m68k/tm-st2000.h \
963 config/m68k/tm-sun2.h config/m68k/tm-sun2os4.h config/m68k/tm-sun3.h \
964 config/m68k/tm-sun3os4.h config/m68k/tm-vx68.h config/m68k/xm-3b1.h \
965 config/m68k/xm-altos.h config/m68k/xm-amix.h \
966 config/m68k/xm-apollo68b.h config/m68k/xm-apollo68v.h \
5069d770 967 config/m68k/xm-delta68.h config/m68k/xm-dpx2.h \
7ae7b919 968 config/m68k/xm-hp300bsd.h config/m68k/xm-hp300hpux.h \
07919221
JK
969 config/m68k/xm-isi.h config/m68k/xm-m68klynx.h \
970 config/m68k/xm-news.h config/m68k/xm-news1000.h \
7ae7b919 971 config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
0ac1a039
FF
972 config/m88k/nm-delta88v4.h config/m88k/nm-m88k.h \
973 config/m88k/tm-delta88.h \
974 config/m88k/tm-delta88v4.h config/m88k/tm-m88k.h \
c8bd627f
FF
975 config/m88k/xm-delta88.h config/m88k/xm-delta88v4.h \
976 config/m88k/xm-dgux.h config/m88k/xm-m88k.h \
0ac1a039 977 config/mips/nm-irix3.h \
0e7da49c 978 config/mips/nm-irix4.h config/mips/nm-irix5.h \
07919221 979 config/mips/nm-mips.h config/mips/nm-riscos.h \
fdf138bb 980 config/mips/nm-news-mips.h config/mips/tm-bigmips.h \
662f3b3f 981 config/mips/tm-bigmips64.h \
07919221 982 config/mips/tm-idt.h config/mips/tm-idtl.h \
662f3b3f 983 config/mips/tm-idt64.h config/mips/tm-idtl64.h \
07919221 984 config/mips/tm-irix3.h config/mips/tm-irix5.h \
662f3b3f 985 config/mips/tm-mips.h config/mips/tm-mips64.h \
1c95d7ab 986 config/mips/tm-mipsm3.h config/mips/tm-mipsv4.h \
5d76c8e6 987 config/mips/xm-irix3.h \
07919221 988 config/mips/xm-irix4.h config/mips/xm-irix5.h \
a8044a2d 989 config/mips/xm-mips.h \
1c95d7ab 990 config/mips/xm-mipsm3.h config/mips/xm-mipsv4.h \
d7a5ff3c
JK
991 config/mips/xm-riscos.h config/mips/xm-news-mips.h \
992 config/nm-lynx.h config/nm-sysv4.h \
7ae7b919 993 config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
5d76c8e6
JK
994 config/ns32k/nm-umax.h \
995 config/ns32k/tm-ns32km3.h \
996 config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
997 config/ns32k/xm-ns32km3.h \
998 config/ns32k/xm-merlin.h config/ns32k/xm-umax.h \
999 config/pa/nm-hppab.h \
7ae7b919 1000 config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
de6a2704
JK
1001 config/pa/xm-hppab.h config/pa/xm-hppah.h config/pa/xm-pa.h \
1002 config/pyr/tm-pyr.h \
7ae7b919 1003 config/pyr/xm-pyr.h config/romp/xm-rtbsd.h config/rs6000/nm-rs6000.h \
d5cb2f7d
JK
1004 config/rs6000/tm-rs6000ly.h config/rs6000/xm-rs6000ly.h \
1005 config/rs6000/nm-rs6000ly.h \
7ae7b919 1006 config/rs6000/tm-rs6000.h config/rs6000/xm-rs6000.h config/sh/tm-sh.h \
07919221
JK
1007 config/sparc/nm-sun4os4.h config/sparc/nm-sparclynx.h \
1008 config/sparc/tm-sparclite.h config/sparc/tm-sparclynx.h \
7ae7b919
RP
1009 config/sparc/tm-spc-em.h config/sparc/tm-sun4os4.h \
1010 config/sparc/tm-sun4sol2.h config/sparc/tm-vxsparc.h \
07919221 1011 config/sparc/xm-sparclynx.h \
7ae7b919
RP
1012 config/sparc/xm-sun4os4.h config/sparc/xm-sun4sol2.h \
1013 config/tahoe/tm-tahoe.h config/tahoe/xm-tahoe.h config/vax/nm-vax.h \
1014 config/vax/tm-vax.h config/vax/xm-vaxbsd.h config/vax/xm-vaxult.h \
1015 config/vax/xm-vaxult2.h config/z8k/tm-z8k.h
1016
1017ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
1018 config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
cef4c2e7 1019 config/alpha/alpha-osf1.mh config/alpha/alpha-osf1.mt \
07919221 1020 config/alpha/alpha-nw.mt \
7ae7b919
RP
1021 config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
1022 config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
1023 config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
1024 config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
1025 config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
5069d770 1026 config/i386/i386bsd.mt config/i386/i386lynx.mh \
ed89c3d9
FF
1027 config/i386/i386lynx.mt config/i386/i386m3.mh config/i386/i386m3.mt \
1028 config/i386/i386mach.mh config/i386/i386mk.mh config/i386/i386mk.mt \
1029 config/i386/i386nw.mt config/i386/i386sco.mh \
5069d770 1030 config/i386/i386sco4.mh \
7ae7b919
RP
1031 config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
1032 config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
1033 config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
6879f0db
FF
1034 config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
1035 config/i386/sun386.mh \
7ae7b919
RP
1036 config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
1037 config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
1038 config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
1039 config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
07919221 1040 config/m68k/apollo68b.mt \
1c95d7ab
JK
1041 config/m68k/apollo68v.mh \
1042 config/m68k/cisco.mt config/m68k/delta68.mh \
5069d770
FF
1043 config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
1044 config/m68k/es1800.mt config/m68k/hp300bsd.mh \
7ae7b919
RP
1045 config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
1046 config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
3fd4045f 1047 config/m68k/m68klynx.mh config/m68k/m68klynx.mt \
5069d770 1048 config/m68k/monitor.mt \
7ae7b919
RP
1049 config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
1050 config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
1051 config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
1052 config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
1053 config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
0ac1a039
FF
1054 config/m88k/delta88.mt config/m88k/delta88v4.mh \
1055 config/m88k/delta88v4.mt config/m88k/m88k.mh config/m88k/m88k.mt \
662f3b3f
JK
1056 config/mips/bigmips.mt config/mips/bigmips64.mt \
1057 config/mips/decstation.mh \
7ae7b919 1058 config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
662f3b3f 1059 config/mips/idt64.mt config/mips/idtl64.mt \
7ae7b919 1060 config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
07919221 1061 config/mips/irix5.mh config/mips/irix5.mt \
7ae7b919 1062 config/mips/littlemips.mh config/mips/littlemips.mt \
662f3b3f 1063 config/mips/mipsel64.mt \
ed89c3d9 1064 config/mips/mipsm3.mh config/mips/mipsm3.mt \
1c95d7ab 1065 config/mips/mipsv4.mh config/mips/mipsv4.mt \
5069d770 1066 config/mips/news-mips.mh config/mips/riscos.mh \
7ae7b919 1067 config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
ed89c3d9
FF
1068 config/ns32k/merlin.mt config/ns32k/ns32km3.mh config/ns32k/ns32km3.mt \
1069 config/ns32k/umax.mh config/ns32k/umax.mt \
7ae7b919
RP
1070 config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
1071 config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
1072 config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
1073 config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
3fd4045f 1074 config/sparc/sparclynx.mh config/sparc/sparclynx.mt \
7ae7b919
RP
1075 config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
1076 config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
1077 config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
1078 config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
1079 config/vax/vaxult2.mh config/z8k/z8ksim.mt
1080
1081
36b1d528 1082udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
7ae7b919
RP
1083 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
1084
021a5c6b
JK
1085udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
1086 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
1087
36b1d528 1088udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
7ae7b919
RP
1089 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
1090
1091a29k-pinsn.o: a29k-pinsn.c $(bfd_h) $(dis-asm_h)
899931b6 1092a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
7ae7b919 1093a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
cef4c2e7
PS
1094
1095alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1096
1097alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1098 $(inferior_h) $(symtab_h) $(dis-asm.h)
1099
7ae7b919 1100altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
8aa8690c
FF
1101
1102annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h)
1103
7ae7b919
RP
1104arm-pinsn.o: arm-pinsn.c $(OP_INCLUDE)/arm.h $(defs_h) $(symtab_h)
1105
1106blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1107 objfiles.h symfile.h target.h
1108
1109breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
dfbb7762 1110 $(inferior_h) language.h target.h thread.h
7ae7b919
RP
1111
1112buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1113 objfiles.h symfile.h $(symtab_h)
1114
1115c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1116 language.h parser-defs.h $(symtab_h)
1117
1118c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
1119 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1120 typeprint.h $(value_h)
1121
1122c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1123 language.h $(symtab_h) valprint.h $(value_h)
1124
1125ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1126 language.h parser-defs.h $(symtab_h)
1127
1128ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
b8615fae
JK
1129 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1130 target.h $(value_h) typeprint.h
7ae7b919
RP
1131
1132ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
b8615fae 1133 language.h $(symtab_h) valprint.h $(value_h) c-lang.h
7ae7b919 1134
ead291d4
SG
1135coff-solib.o: coff-solib.c $(defs_h)
1136
7ae7b919
RP
1137coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
1138 complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
dfbb7762 1139 symfile.h $(symtab_h) gdb-stabs.h stabsread.h
7ae7b919
RP
1140
1141command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1142 $(gdbtypes_h) $(symtab_h) $(value_h)
1143
1144complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
1145
1146convex-pinsn.o: convex-pinsn.c $(OP_INCLUDE)/convex.h $(defs_h) \
1147 $(symtab_h)
1148
1149convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1150 $(gdbcore_h) $(inferior_h)
1151
1152convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1153 $(inferior_h)
1154
256533df
PS
1155core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \
1156 $(inferior_h) target.h
1157
7ae7b919
RP
1158core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \
1159 $(inferior_h) target.h
1160
1161core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
b8615fae 1162 $(inferior_h) target.h language.h
7ae7b919 1163
b8615fae 1164coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h)
7ae7b919
RP
1165
1166corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
b8615fae 1167 target.h thread.h
7ae7b919
RP
1168
1169cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1170 $(gdbtypes_h) $(symtab_h) $(value_h)
1171
755892d6
RP
1172dcache.o: dcache.c $(dcache_h)
1173
7ae7b919
RP
1174dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
1175 complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
1176 $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
1177 symfile.h $(symtab_h) target.h
1178
c6f494e8
RP
1179dcache.o: dcache.c $(dcache_h)
1180
68f49dae
FF
1181delta68-nat.o: delta68-nat.c $(defs_h)
1182
7ae7b919
RP
1183demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
1184
1185dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1186 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1187 $(symtab_h)
1188
1189elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1190 gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1191
b8615fae 1192environ.o: environ.c $(defs_h) environ.h $(gdbcore_h)
7ae7b919
RP
1193
1194eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1195 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1196
1197exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
b8615fae 1198 target.h language.h
7ae7b919
RP
1199
1200expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1201 language.h parser-defs.h $(symtab_h) $(value_h)
1202
1203findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1204
1205fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
b8615fae 1206 $(inferior_h) target.h terminal.h thread.h
7ae7b919 1207
754e5da2
SG
1208gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
1209 $(bfd_h) symfile.h objfiles.h target.h
1210 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/gdbtk.c \
1211 -DGDBTK_FILENAME=\"$(libdir)/gdbtk.tcl\"
1212
7ae7b919
RP
1213gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
1214 $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
1215 $(value_h)
1216
1217go32-xdep.o: go32-xdep.c
1218
1219gould-pinsn.o: gould-pinsn.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
1220 $(gdbcore_h) $(symtab_h)
1221
1222gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1223h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1224
1225h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
1226 $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
1227 $(value_h)
1228
1229hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1230hppa-pinsn.o: hppa-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1231
1232hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1233 $(inferior_h) objfiles.h symfile.h target.h
1234
1235hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1236hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1237i386-pinsn.o: i386-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1238i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1239i386b-nat.o: i386b-nat.c $(defs_h)
3fd4045f 1240i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
cef4c2e7 1241i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h
7ae7b919
RP
1242i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1243
5fa83062 1244i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
7ae7b919
RP
1245 $(inferior_h) language.h target.h
1246
1247i386v4-nat.o: i386v4-nat.c $(defs_h)
1248
5fa83062 1249i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
7ae7b919
RP
1250 $(inferior_h) language.h
1251
1252i960-pinsn.o: i960-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1253
5fa83062 1254i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
7ae7b919
RP
1255 $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1256
1257infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
b8615fae 1258 $(inferior_h) target.h language.h
7ae7b919
RP
1259
1260inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
b8615fae 1261 signals.h target.h terminal.h thread.h
7ae7b919
RP
1262
1263infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1264
1265infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
b8615fae 1266 $(inferior_h) target.h thread.h
7ae7b919
RP
1267
1268inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
b8615fae 1269 target.h terminal.h $(command_h)
7ae7b919
RP
1270
1271irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h)
1272isi-xdep.o: isi-xdep.c
1273
1274language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1275 $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
1276 target.h $(value_h)
1277
1278m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1279 language.h m2-lang.h parser-defs.h $(symtab_h)
1280
1281m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1282 $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
1283 $(value_h)
1284
1285m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
1286 valprint.h
1287
1288m68k-pinsn.o: m68k-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1289m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h)
3fd4045f 1290m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
7ae7b919
RP
1291m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1292m88k-pinsn.o: m88k-pinsn.c $(defs_h) $(symtab_h)
1293m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1294
172559ec 1295top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
c6f494e8 1296 $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
b70b042d 1297 $(remote_utils_h)
172559ec
JK
1298
1299main.o: main.c top.h $(defs_h)
7ae7b919 1300
cad1498f
SG
1301annotate.o: annotate.c annotate.h $(defs_h) value.h target.h $(gdbtypes_h)
1302
b8615fae
JK
1303maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
1304 $(expression_h)
1305
f4f0d174
JK
1306mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1307 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1308 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1309
1340861c
KH
1310os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(def_h) \
1311 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1312 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1313
7ae7b919
RP
1314mem-break.o: mem-break.c $(defs_h)
1315
1316minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1317 $(symtab_h)
1318
1319mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1320mips-pinsn.o: mips-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1321
1322mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1323 $(inferior_h) language.h objfiles.h symfile.h
1324
bf660885 1325mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
7ae7b919
RP
1326 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1327 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1328
1c95d7ab
JK
1329mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1330
7ae7b919
RP
1331news-xdep.o: news-xdep.c
1332
1333Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
9b311b22 1334 nindy-share/env.h
7ae7b919
RP
1335 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
1336
1337nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
9b311b22 1338 nindy-share/env.h
7ae7b919
RP
1339 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
1340
db85f523 1341nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
6a6fe3db 1342 gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h
db85f523 1343
9b311b22 1344ttyflush.o: nindy-share/ttyflush.c
7ae7b919
RP
1345 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
1346
1347nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1348
1349ns32k-pinsn.o: ns32k-pinsn.c $(defs_h) $(gdbcore_h) ns32k-opcode.h \
1350 $(symtab_h)
1351
1352objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1353 $(symtab_h)
1354
cef4c2e7
PS
1355osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1356 objfiles.h regex.h symfile.h target.h language.h
1357
0f221a69 1358somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
7ae7b919
RP
1359 gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1360
1361parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
1362 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
1363
1364printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
1365 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1366 $(symtab_h) target.h
1367
1368procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1369 target.h
1370
7ae7b919
RP
1371pyr-pinsn.o: pyr-pinsn.c $(OP_INCLUDE)/pyr.h $(defs_h) $(gdbcore_h) \
1372 $(symtab_h)
1373
1374pyr-tdep.o: pyr-tdep.c $(defs_h)
1375pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1376
51b4195f
JK
1377regex.o: regex.c regex.h
1378
7ae7b919
RP
1379remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
1380 $(inferior_h) target.h terminal.h
1381
a06f0c9f 1382remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
c6f494e8 1383 $(inferior_h) target.h terminal.h $(remote_utils_h)
a06f0c9f 1384
7ae7b919
RP
1385remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
1386 $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
1387
1388remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
b70b042d 1389 $(inferior_h) $(remote_utils_h) terminal.h
7ae7b919
RP
1390
1391remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
1392 $(inferior_h) serial.h target.h terminal.h
1393
1394remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1395 $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
1396
1397remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
1398 minimon.h target.h terminal.h
1399
c033ec17 1400remote-mon.o: remote-mon.c $(wait_h) $(command_h) $(defs_h) \
7ae7b919
RP
1401 $(gdbcore_h) monitor.h serial.h target.h
1402
5fa83062 1403remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \
9b311b22 1404 $(defs_h) $(gdbcore_h) $(inferior_h) \
b70b042d
RP
1405 nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
1406 symfile.h
7ae7b919
RP
1407
1408remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
1409 $(inferior_h) target.h terminal.h
1410
1411remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
1412 target.h
1413
1414remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1415 $(inferior_h) target.h terminal.h $(udiheaders)
1416
1417remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1418 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1419 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
1420 vx-share/xdr_rdb.h
1421
1422remote-z8k.o: remote-z8k.c $(wait_h) $(srcdir)/../sim/z8k/sim.h \
1423 $(defs_h) $(gdbcore_h) $(inferior_h) target.h terminal.h
1424
b70b042d 1425remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
94d4b713 1426 $(inferior_h) $(remote_utils_h)
b70b042d 1427
7ae7b919 1428remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
b70b042d 1429 $(inferior_h) $(remote_utils_h) symfile.h terminal.h
7ae7b919
RP
1430
1431rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1432
1433rs6000-pinsn.o: rs6000-pinsn.c $(OP_INCLUDE)/rs6k.h $(defs_h)
1434
1435rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1436 target.h xcoffsolib.h
1437
1438ser-go32.o: ser-go32.c $(defs_h) serial.h
1439ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h
1440ser-unix.o: ser-unix.c $(defs_h) serial.h
1441serial.o: serial.c $(defs_h) serial.h
1442
1443sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
1444 $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
1445 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1446
1447solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1448 objfiles.h regex.h symfile.h target.h
1449
1450source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1451 $(gdbcore_h) language.h objfiles.h regex.h symfile.h $(symtab_h)
1452
1453sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1454sparc-pinsn.o: sparc-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1455
5fa83062 1456sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
7ae7b919
RP
1457 $(inferior_h) objfiles.h symfile.h target.h
1458
1782eb41
KH
1459sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h
1460
7ae7b919
RP
1461stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1462 $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
1463 $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h)
1464
1465stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1466 language.h target.h
1467
1468sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1469sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1470
1471symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
1472 $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
1473 language.h objfiles.h symfile.h $(symtab_h) target.h
1474
1475symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
56eec3c7 1476symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
b8774958 1477
7ae7b919
RP
1478symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
1479 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1480 $(symtab_h)
1481
1482symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
1483 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1484 regex.h symfile.h $(symtab_h) target.h $(value_h)
1485
1486tahoe-pinsn.o: tahoe-pinsn.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
1487 $(symtab_h)
1488
1489target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
1490 objfiles.h symfile.h target.h
1491
89ce0c8f 1492thread.o: thread.c $(defs_h) thread.h $(gdbcmd_h)
25286543 1493
7ae7b919
RP
1494typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1495 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1496 $(value_h)
1497
1498ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
98d82489
FF
1499ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1500umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
7ae7b919
RP
1501
1502utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
94d4b713 1503 language.h signals.h target.h terminal.h $(readline_headers)
7ae7b919
RP
1504
1505valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
1506 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
b8774958 1507
7ae7b919 1508valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
b8774958 1509
7ae7b919
RP
1510valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1511 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1512 $(value_h)
1513
1514values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1515 $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h)
1516
1517vax-pinsn.o: vax-pinsn.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
1518
1519xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
1520 vx-share/vxWorks.h vx-share/xdr_ld.h
1521 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
1522
1523xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
1524 vx-share/vxWorks.h vx-share/xdr_ptrace.h
1525 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
1526
1527xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
1528 vx-share/vxWorks.h vx-share/xdr_rdb.h
1529 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
1530
1531xcoffexec.o: xcoffexec.c $(BFD_SRC)/libbfd.h $(defs_h) $(gdbcmd_h) \
1532 $(gdbcore_h) $(inferior_h) objfiles.h symfile.h target.h xcoffsolib.h
1533
1534xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1535 $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
1536 $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
1537 complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
1538 $(symtab_h)
1539
1540xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
1541
1542z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
1543 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
1544
1545c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
b8615fae
JK
1546 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1547 $(bfd_h) objfiles.h symfile.h
7ae7b919
RP
1548
1549ch-exp.tab.o: ch-exp.tab.c ch-lang.h $(defs_h) $(expression_h) \
b8615fae
JK
1550 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1551 $(bfd_h) objfiles.h symfile.h
7ae7b919
RP
1552
1553m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
b8615fae
JK
1554 language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
1555 $(bfd_h) objfiles.h symfile.h
7ae7b919
RP
1556
1557### end of the gdb Makefile.in.