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