* m32r-rom.c: #include <sys/types.h>.
[deliverable/binutils-gdb.git] / gdb / Makefile.in
CommitLineData
e02a2ad9 1# Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996
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
TT
132LIB_INSTALL_DIR = $(libdir)
133TCL = @TCL_LD_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
5436fc65 134TCL_CFLAGS = @TCLHDIR@
cd2df226
SG
135
136# Where is the TK library? Typically in ../tk.
047465fd 137TK = @TK_BUILD_LIB_SPEC@
5436fc65
C
138TK_CFLAGS = @TKHDIR@
139
047465fd
TT
140X11_CFLAGS = @TK_XINCLUDES@
141X11_LDFLAGS =
142X11_LIBS =
5436fc65
C
143
144ENABLE_GDBTK= @ENABLE_GDBTK@
145#end-sanitize-gdbtk
146
147ENABLE_CFLAGS= @ENABLE_CFLAGS@
148ENABLE_CLIBS= @ENABLE_CLIBS@
149ENABLE_OBS= @ENABLE_OBS@
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='
6c0643e3
FF
204INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty $(ENABLE_CLIBS) \
205 $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) @LIBS@ \
206 -lmmalloc -liberty
207CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(LIBIBERTY) $(ENABLE_CLIBS) \
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
2ad5709f
FF
354SFILES = bcache.c blockframe.c breakpoint.c buildsym.c callback.c c-exp.y \
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 \
7ae7b919 362 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
db85f523 363 mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
3c02944a 364 printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c scm-valprint.c \
0e4ca328 365 source.c stabsread.c stack.c symfile.c symmisc.c \
172559ec 366 symtab.c target.c thread.c top.c \
fcf05549
SS
367 typeprint.c utils.c \
368 valarith.c valops.c valprint.c values.c \
369 serial.c ser-unix.c mdebugread.c os9kread.c
7ae7b919 370
33cf356a
SG
371LINTFILES = $(SFILES) $(YYFILES) init.c
372
7ae7b919 373# "system" headers. Using these in dependencies is a rather personal
5fa83062
JK
374# choice. (-rich, summer 1993)
375# (Why would we not want to depend on them? If one of these changes in a
376# non-binary-compatible way, it is a real pain to remake the right stuff
377# without these dependencies -kingdon, 13 Mar 1994)
378getopt_h = $(INCLUDE_DIR)/getopt.h
379floatformat_h = $(INCLUDE_DIR)/floatformat.h
380bfd_h = $(BFD_DIR)/bfd.h
381wait_h = $(INCLUDE_DIR)/wait.h
382dis-asm_h = $(INCLUDE_DIR)/dis-asm.h
7ae7b919 383
c6f494e8 384dcache_h = dcache.h
ed89c3d9 385remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h remote-sim.h
c6f494e8 386
7ae7b919
RP
387readline_headers = \
388 $(READLINE_SRC)/chardefs.h \
389 $(READLINE_SRC)/history.h \
390 $(READLINE_SRC)/keymaps.h \
391 $(READLINE_SRC)/readline.h
392
393udiheaders = \
36b1d528
SG
394 $(srcdir)/29k-share/udi/udiproc.h \
395 $(srcdir)/29k-share/udi/udiphcfg.h \
396 $(srcdir)/29k-share/udi/udiphunix.h \
397 $(srcdir)/29k-share/udi/udiptcfg.h \
398 $(srcdir)/29k-share/udi/udipt29k.h \
399 $(srcdir)/29k-share/udi/udisoc.h
7ae7b919 400
7ae7b919
RP
401gdbcore_h = gdbcore.h $(bfd_h)
402
403frame_h = frame.h
2ad5709f 404symtab_h = symtab.h bcache.h
7ae7b919
RP
405gdbtypes_h = gdbtypes.h
406expression_h = expression.h
407value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
408
409breakpoint_h = breakpoint.h $(frame_h) $(value_h)
410
411command_h = command.h
412gdbcmd_h = gdbcmd.h $(command_h)
413
db210d08 414defs_h = defs.h xm.h tm.h nm.h config.status config.h
7ae7b919
RP
415
416inferior_h = inferior.h $(breakpoint_h)
417
4901e77d
FF
418# Header files that need to have srcdir added. Note that in the cases
419# where we use a macro like $(gdbcmd_h), things are carefully arranged
420# so that each .h file is listed exactly once (M-x tags-search works
421# wrong if TAGS has files twice). Because this is tricky to get
422# right, it is probably easiest just to list .h files here directly.
7ae7b919 423
2ad5709f
FF
424HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
425 dst.h environ.h $(gdbcmd_h) gdbcore.h \
1c95d7ab 426 gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
7ae7b919
RP
427 objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
428 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
e7b5942b
JK
429 c-lang.h ch-lang.h f-lang.h m2-lang.h \
430 complaints.h valprint.h \
7ae7b919 431 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
9b311b22
FF
432 nindy-share/block_io.h nindy-share/coff.h \
433 nindy-share/env.h nindy-share/stop.h \
7ae7b919
RP
434 vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
435 vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
fdfa3315 436 vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \
d360e1e0 437 dcache.h remote-utils.h remote-sim.h top.h somsolib.h
2531303c 438
1c95d7ab 439# Header files that already have srcdir in them, or which are in objdir.
f4f0d174 440
1c95d7ab 441HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h
f4f0d174
JK
442
443
2531303c
FF
444# GDB "info" files, which should be included in their entirety
445INFOFILES = gdb.info*
33cf356a 446
22473f72 447REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
33cf356a 448
811f1bdc 449POSSLIBS = gnu-regex.c gnu-regex.h
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
c61c48c0 457DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
5d8b7982 458 $(REMOTE_OBS) $(SIM_OBS) $(ENABLE_OBS) @THREAD_DB_OBS@
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 463TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
c8a1505a 464 $(POSSLIBS)
f4f0d174 465TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
7ae7b919 466
d8fc8773 467COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
7ae7b919 468 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
9b311b22 469 symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
d8fc8773 470 expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
f93b941b 471 mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
2ad5709f 472 exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \
e7b5942b 473 dbxread.o coffread.o elfread.o \
fcf05549 474 dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
5e548861 475 c-lang.o ch-exp.o ch-lang.o f-lang.o m2-lang.o \
3c02944a 476 scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o \
e7b5942b
JK
477 c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \
478 c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
dedcc91d 479 nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o callback.o
33cf356a 480
e7b5942b 481OBS = $(COMMON_OBS) $(ANNOTATE_OBS) main.o
d8fc8773 482
172559ec 483LIBGDB_OBS =
d8fc8773 484
c9c23412 485TSOBS = inflow.o
33cf356a
SG
486
487NTSOBS = standalone.o
488
33cf356a
SG
489NTSSTART = kdb-start.o
490
5d394f70 491SUBDIRS = doc testsuite nlm
33cf356a
SG
492
493# For now, shortcut the "configure GDB for fewer languages" stuff.
5e548861
PB
494YYFILES = c-exp.tab.c f-exp.tab.c m2-exp.tab.c
495YYOBJ = c-exp.tab.o f-exp.tab.o m2-exp.tab.o
33cf356a 496
de19d1ed
FF
497# Things which need to be built when making a distribution.
498
499DISTSTUFF = $(YYFILES)
500
33cf356a
SG
501# Prevent Sun make from putting in the machine type. Setting
502# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
503.c.o:
7ae7b919 504 $(CC) -c $(INTERNAL_CFLAGS) $<
33cf356a 505
218d43e5 506all: gdb
0139c441 507 @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
6fcb280e 508
80c8fd72 509installcheck:
f4f0d174
JK
510
511# The check target can not use subdir_do, because subdir_do does not
512# use TARGET_FLAGS_TO_PASS.
e7d3b7d1 513check: force
f4f0d174
JK
514 @if [ -f testsuite/Makefile ]; then \
515 rootme=`pwd`; export rootme; \
b98612f1 516 rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
f4f0d174
JK
517 cd testsuite; \
518 $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
519 else true; fi
520
7ae7b919 521info dvi install-info clean-info: force
0139c441 522 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
33cf356a
SG
523
524gdb.z:gdb.1
525 nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
526 pack gdb.t ; rm -f gdb.t
527 mv gdb.t.z gdb.z
b8774958 528
7ae7b919 529# Traditionally "install" depends on "all". But it may be useful
702c0ff7
JK
530# not to; for example, if the user has made some trivial change to a
531# source file and doesn't care about rebuilding or just wants to save the
532# time it takes for make to check that all is up to date.
7ae7b919
RP
533# install-only is intended to address that need.
534install: all install-only
ef1a0540 535install-only:
94d4b713 536 transformed_name=`t='$(program_transform_name)'; \
582433a8 537 echo gdb | sed -e $$t` ; \
09722039
SG
538 if test "x$$transformed_name" = x; then \
539 transformed_name=gdb ; \
540 else \
541 true ; \
542 fi ; \
543 $(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
544 $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
d3d75ec9 545 # start-sanitize-gdbtk
2ec604df 546 if [ x"$(ENABLE_GDBTK)" != x ] ; then \
e822a3db 547 $(INSTALL_DATA) $(srcdir)/gdbtk.tcl $(datadir)/gdbtk.tcl ; \
09722039
SG
548 else \
549 true ; \
550 fi
d3d75ec9 551 # end-sanitize-gdbtk
7ae7b919 552 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
33cf356a 553
7ae7b919 554uninstall: force
736a82e7 555 transformed_name=`t='$(program_transform_name)'; \
582433a8 556 echo gdb | sed -e $$t` ; \
09722039
SG
557 if test "x$$transformed_name" = x; then \
558 transformed_name=gdb ; \
559 else \
560 true ; \
561 fi ; \
562 rm -f $(bindir)/$$transformed_name $(man1dir)/$$transformed_name.1
5436fc65
C
563 # start-sanitize-gdbtk
564 if [ x"$(ENABLE_GDBTK)" != x ] ; then \
e822a3db 565 rm -f $(datadir)/gdbtk.tcl ; \
5436fc65
C
566 fi
567 # end-sanitize-gdbtk
7ae7b919 568 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
33cf356a 569
976bb0be
JK
570# We do this by grepping through sources. If that turns out to be too slow,
571# maybe we could just require every .o file to have an initialization routine
572# of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
623d7380
JK
573#
574# Formatting conventions: The name of the _initialize_* routines must start
575# in column zero, and must not be inside #if.
0f221a69
FF
576#
577# Note that the set of files with init functions might change, or the names
578# of the functions might change, so this files needs to depend on all the
579# object files that will be linked into gdb.
580
976bb0be
JK
581init.c: $(OBS) $(TSOBS)
582 @echo Making init.c
583 @rm -f init.c-tmp
584 @echo '/* Do not modify this file. */' >init.c-tmp
585 @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
d9951af4
SG
586 @echo '#include "ansidecl.h"' >>init.c-tmp
587 @echo 'extern void initialize_all_files PARAMS ((void));' >>init.c-tmp
588 @echo 'void initialize_all_files PARAMS ((void)) {' >>init.c-tmp
5d394f70
SG
589 @echo $(OBS) $(TSOBS) | \
590 tr ' ' '\012' | \
591 sed -e '/^Onindy.o/d' \
976bb0be
JK
592 -e '/^nindy.o/d' \
593 -e '/ttyflush.o/d' \
594 -e '/xdr_ld.o/d' \
595 -e '/xdr_ptrace.o/d' \
596 -e '/xdr_rdb.o/d' \
597 -e '/udr.o/d' \
598 -e '/udip2soc.o/d' \
7fb95139 599 -e '/udi2go32.o/d' \
976bb0be 600 -e '/version.o/d' \
d8efbc66 601 -e '/^[a-z0-9A-Z_]*_[SU].o/d' \
976bb0be 602 -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
5d394f70
SG
603 -e 's/\.o/.c/' \
604 -e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
5faa6e1e 605 xargs grep -s '^_initialize_[a-z_0-9A-Z]* *(' | \
7b6244eb 606 sed -n -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
976bb0be
JK
607 @echo '}' >>init.c-tmp
608 @mv init.c-tmp init.c
7ae7b919 609
c2153bf2
JK
610.PRECIOUS: init.c
611
612# Removing the old gdb first works better if it is running, at least on SunOS.
667fb5c3 613gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
c2153bf2 614 rm -f gdb
5d394f70 615 $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) -o gdb \
33cf356a
SG
616 init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
617
b7da2494
SG
618nlm: force
619 rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
620
218d43e5
SS
621libgdb: libgdb-files $(LIBGDB_OBS)
622
d3507982
JK
623# libproc is not listed here because all-libproc is a dependency of all-gui,
624# not all-gdb, and thus might be built after us.
625LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
626# libproc needs to be before libiberty for alloca.
627LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \
628 $(ADD_DEPS) $(CDEPS) init.o
629
630libgdb-files: $(LIBGDBDEPS) Makefile.in
8eb7b7c3
TL
631 -rm -f libgdb-files
632 for i in $(LIBGDBFILES); do\
667fb5c3 633 echo $$i >> libgdb-files;\
8eb7b7c3
TL
634 done
635
33cf356a 636saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
7ae7b919 637 #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
33cf356a 638 #load ./init.c $(SFILES)
5e548861 639 #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y
7ae7b919
RP
640 #unload vx-share/*.h
641 #unload nindy-share/[A-Z]*
5e548861 642 #load c-exp.tab.c m2-exp.tab.c
33cf356a 643 #load copying.c version.c
1e4f3c20 644 #load ../opcodes/libopcodes.a
33cf356a
SG
645 #load ../libiberty/libiberty.a
646 #load ../bfd/libbfd.a
647 #load ../readline/libreadline.a
648 #load ../mmalloc/libmmalloc.a
649 #load -ltermcap
650 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
651 echo "Load .c corresponding to:" $(DEPFILES)
652
653
6ec7e4d3
SS
654# A Mach 3.0 program to force gdb back to command level
655
a8044a2d 656stop-gdb: stop-gdb.o
a2b63bbd 657 ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
a8044a2d 658 stop-gdb.o $(CLIBS) $(LOADLIBES)
6ec7e4d3 659
33cf356a
SG
660# This is useful when debugging GDB, because some Unix's don't let you run GDB
661# on itself without copying the executable. So "make gdb1" will make
662# gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
663# Removing gdb1 before the copy is the right thing if gdb1 is open
664# in another process.
665gdb1: gdb
666 rm -f gdb1
667 cp gdb gdb1
668
7ae7b919 669### fixme - this can't be right.
ef131e13
JG
670# This checks the configure.in file versus the config/ directory.
671config-check: config-check-hosts config-check-targets
672config-check-hosts:
7ae7b919 673 grep gdb_host= $(srcdir)/configure.in | \
ef131e13 674 sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
7ae7b919 675 (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
ef131e13
JG
676 diff -u HOSTconf.o HOSTdir.o
677
7ae7b919 678### fixme - nor can this.
ef131e13 679config-check-targets:
7ae7b919 680 grep gdb_target= $(srcdir)/configure.in | \
ef131e13 681 sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
7ae7b919 682 (cd $(srcdir)/config; ls *.mt) >TARGdir.o
ef131e13
JG
683 diff -u HOSTconf.o HOSTdir.o
684
7ae7b919 685# FIXME. These are not generated by "make depend" because they only are there
33cf356a
SG
686# for some machines.
687# But these rules don't do what we want; we want to hack the foo.o: tm.h
688# dependency to do the right thing.
2225eb85
FF
689tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
690tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
33cf356a
SG
691xm-news1000.h: xm-news.h
692xm-i386-sv32.h: xm-i386.h
693tm-i386gas.h: tm-i386.h
694xm-sun4os4.h: xm-sparc.h
695tm-sun4os4.h: tm-sparc.h
696xm-vaxult.h: xm-vax.h
697xm-vaxbsd.h: xm-vax.h
698
7ae7b919 699kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
33cf356a
SG
700 ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
701 -lc $(CLIBS)
702
8d57a263 703# Put the proper machine-specific files first, so M-. on a machine
f4f0d174
JK
704# specific routine gets the one for the correct machine. (FIXME: those
705# files go in twice; we should be removing them from the main list).
706
707# TAGS depends on all the files that go into it so you can rebuild TAGS
708# with `make TAGS' and not have to say `rm TAGS' first.
709
710TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
4901e77d 711 @echo Making TAGS
94d4b713
JK
712 @etags $(srcdir)/$(TM_FILE) \
713 $(srcdir)/$(XM_FILE) \
714 $(srcdir)/$(NAT_FILE) \
f4f0d174 715 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
7ae7b919 716 echo $(srcdir)/$$i ; \
f4f0d174
JK
717 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
718 echo $$i ; \
c8a1505a
JK
719 done) | sed -e 's/\.o$$/\.c/'` \
720 `find $(srcdir)/config -name '*.h' -print`
7ae7b919 721
33cf356a
SG
722tags: TAGS
723
b76dcd4b 724clean mostlyclean:
4e772f44 725 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
976bb0be 726 rm -f *.o $(ADD_FILES) *~ init.c-tmp
33cf356a 727 rm -f init.c version.c
1ded65d1 728 rm -f gdb core make.log libgdb-files
33cf356a 729 rm -f gdb[0-9]
33cf356a 730
5e548861 731# This used to depend on c-exp.tab.c m2-exp.tab.c TAGS
39d4639b
JK
732# I believe this is wrong; the makefile standards for distclean just
733# describe removing files; the only sort of "re-create a distribution"
734# functionality described is if the distributed files are unmodified.
735distclean: clean
4e772f44 736 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
bfcf3112 737 rm -f nm.h tm.h xm.h config.status config.h stamp-h
fdf138bb 738 rm -f y.output yacc.acts yacc.tmp y.tab.h
c61c48c0 739 rm -f config.log config.cache
7ae7b919 740 rm -f Makefile
33cf356a 741
582433a8
ILT
742maintainer-clean realclean: clean
743 @echo "This command is intended for maintainers to use;"
744 @echo "it deletes files that may require special tools to rebuild."
745 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" subdir_do
5e548861 746 rm -f c-exp.tab.c f-exp.tab.c m2-exp.tab.c
e7b5942b 747 rm -f TAGS $(INFOFILES)
39d4639b
JK
748 rm -f nm.h tm.h xm.h config.status
749 rm -f y.output yacc.acts yacc.tmp
c61c48c0 750 rm -f config.log config.cache
7ae7b919 751 rm -f Makefile
33cf356a 752
de19d1ed 753diststuff: $(DISTSTUFF)
2ad5709f 754 cd doc; $(MAKE) $(MFLAGS) all-doc
de19d1ed 755
33cf356a
SG
756subdir_do: force
757 @for i in $(DODIRS); do \
6f4a4fbb 758 if [ -f ./$$i/Makefile ] ; then \
33cf356a 759 if (cd ./$$i; \
ef131e13 760 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
33cf356a
SG
761 else exit 1 ; fi ; \
762 else true ; fi ; \
763 done
d941d8c3 764
c61c48c0 765Makefile: Makefile.in config.status @frags@
7ae7b919 766 $(SHELL) config.status
d941d8c3 767
bfcf3112 768config.h: stamp-h ; @true
18ea4416
ILT
769stamp-h: config.in config.status
770 CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
bfcf3112 771
e61853dd
C
772config.status: configure
773 $(SHELL) config.status --recheck
774
33cf356a 775force:
d941d8c3 776
33cf356a
SG
777# Documentation!
778# GDB QUICK REFERENCE (TeX dvi file, CM fonts)
d9f12910
PB
779doc/refcard.dvi:
780 cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS)
d941d8c3 781
33cf356a 782# GDB QUICK REFERENCE (PostScript output, common PS fonts)
d9f12910
PB
783doc/refcard.ps:
784 cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS)
d941d8c3 785
33cf356a 786# GDB MANUAL: TeX dvi file
d9f12910
PB
787doc/gdb.dvi:
788 cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS)
d941d8c3 789
33cf356a 790# GDB MANUAL: info file
d9f12910
PB
791doc/gdb.info:
792 cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS)
d941d8c3 793
33cf356a 794# Make copying.c from COPYING
7ae7b919
RP
795copying.c: COPYING copying.awk
796 awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
d941d8c3 797
33cf356a
SG
798version.c: Makefile
799 echo 'char *version = "$(VERSION)";' >version.c
a28d16d3
JK
800 echo 'char *host_name = "$(host_alias)";' >> version.c
801 echo 'char *target_name = "$(target_alias)";' >> version.c
d941d8c3 802
7ae7b919
RP
803# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
804# in srcdir, then compiled in objdir to c-exp.tab.o.
f3fe62b1
JK
805
806# If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
807# would sometimes re-write it into $(srcdir)/c-exp.tab.c.
808
9aa44833 809# Remove bogus decls for malloc/realloc/free which conflict with everything
ef1a0540
JK
810# else. Strictly speaking c-exp.tab.c should therefore depend on
811# Makefile.in, but that was a pretty big annoyance.
33cf356a 812c-exp.tab.o: c-exp.tab.c
ef1a0540 813c-exp.tab.c: c-exp.y
7ae7b919 814 $(YACC) $(YFLAGS) $(srcdir)/c-exp.y
9aa44833
SG
815 -sed -e '/extern.*malloc/d' \
816 -e '/extern.*realloc/d' \
817 -e '/extern.*free/d' \
e58de8a2 818 -e '/include.*malloc.h/d' \
e35843d4
FF
819 -e 's/malloc/xmalloc/g' \
820 -e 's/realloc/xrealloc/g' \
39d4639b 821 < y.tab.c > c-exp.new
9aa44833 822 -rm y.tab.c
f3fe62b1 823 mv c-exp.new ./c-exp.tab.c
d941d8c3 824
e7b5942b
JK
825f-exp.tab.o: f-exp.tab.c
826f-exp.tab.c: f-exp.y c-exp.tab.c
827 $(YACC) $(YFLAGS) $(srcdir)/f-exp.y
828 -sed -e '/extern.*malloc/d' \
829 -e '/extern.*realloc/d' \
830 -e '/extern.*free/d' \
831 -e '/include.*malloc.h/d' \
832 -e 's/malloc/xmalloc/g' \
833 -e 's/realloc/xrealloc/g' \
834 < y.tab.c > f-exp.new
835 -rm y.tab.c
836 mv f-exp.new ./f-exp.tab.c
837
7ae7b919
RP
838# m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
839# in srcdir, then compiled in objdir to m2-exp.tab.o.
e58de8a2
FF
840# Remove bogus decls for malloc/realloc/free which conflict with everything
841# else.
33cf356a 842m2-exp.tab.o: m2-exp.tab.c
5e548861 843m2-exp.tab.c: m2-exp.y
7ae7b919 844 $(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
9aa44833
SG
845 -sed -e '/extern.*malloc/d' \
846 -e '/extern.*realloc/d' \
847 -e '/extern.*free/d' \
e58de8a2 848 -e '/include.*malloc.h/d' \
e35843d4
FF
849 -e 's/malloc/xmalloc/g' \
850 -e 's/realloc/xrealloc/g' \
39d4639b 851 < y.tab.c > m2-exp.new
9aa44833 852 -rm y.tab.c
f3fe62b1 853 mv m2-exp.new ./m2-exp.tab.c
39d4639b
JK
854
855# These files are updated atomically, so make never has to remove them
5e548861 856.PRECIOUS: m2-exp.tab.c f-exp.tab.c c-exp.tab.c
d941d8c3 857
33cf356a
SG
858lint: $(LINTFILES)
859 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
1a57cd09 860 `echo $(DEPFILES) | sed 's/\.o /\.c /g'`
d941d8c3 861
33cf356a
SG
862gdb.cxref: $(SFILES)
863 cxref -I. $(SFILES) >gdb.cxref
d941d8c3 864
33cf356a 865force_update:
d941d8c3 866
33cf356a
SG
867# GNU Make has an annoying habit of putting *all* the Makefile variables
868# into the environment, unless you include this target as a circumvention.
869# Rumor is that this will be fixed (and this target can be removed)
870# in GNU Make 4.0.
871.NOEXPORT:
d941d8c3 872
aecc5459
ILT
873# GNU Make 3.63 has a different problem: it keeps tacking command line
874# overrides onto the definition of $(MAKE). This variable setting
875# will remove them.
876MAKEOVERRIDES=
877
58bb1e76
ILT
878## This is ugly, but I don't want GNU make to put these variables in
879## the environment. Older makes will see this as a set of targets
880## with no dependencies and no actions.
881unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
58bb1e76 882
f3fe62b1 883ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
07919221 884 29k-share/udi/udi2go32.c \
a9c67591 885 a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
cef4c2e7 886 altos-xdep.c arm-convert.s \
a9c67591 887 arm-tdep.c arm-xdep.c coff-solib.c \
a1df8e78
FF
888 convex-tdep.c convex-xdep.c \
889 core-sol2.c core-regset.c core-aout.c corelow.c \
890 dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
a9c67591
JK
891 go32-xdep.c gould-tdep.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
892 hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c \
736a82e7 893 hpread.c \
a9c67591 894 i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
f4f0d174 895 i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
5d76c8e6 896 i387-tdep.c \
a9c67591 897 i960-tdep.c \
07919221 898 infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
f4f0d174 899 lynx-nat.c m3-nat.c \
a9c67591 900 m68k-tdep.c \
e02a2ad9 901 m88k-nat.c m88k-tdep.c mac-nat.c mips-nat.c \
1c95d7ab 902 mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
5d76c8e6 903 nindy-share/Onindy.c nindy-share/nindy.c \
9b311b22 904 nindy-share/ttyflush.c nindy-tdep.c \
a9c67591 905 ns32k-tdep.c ns32km3-nat.c osfsolib.c \
d360e1e0 906 somread.c somsolib.c $(HPREAD_SOURCE) \
a9c67591 907 procfs.c pyr-tdep.c pyr-xdep.c \
9c0bc1da
DE
908 remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \
909 remote-es.c remote-hms.c remote-mips.c \
dedcc91d 910 remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \
c6f494e8 911 remote-st.c remote-utils.c dcache.c \
c61c48c0 912 remote-udi.c remote-vx.c remote-vx29k.c \
a9c67591
JK
913 rs6000-nat.c rs6000-tdep.c \
914 ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
915 sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
3fd4045f 916 symm-tdep.c symm-nat.c \
a9c67591
JK
917 tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
918 vax-tdep.c \
5d76c8e6 919 vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
1480482a 920 win32-nat.c \
e7b5942b 921 xcoffread.c xcoffsolib.c z8k-tdep.c
7ae7b919 922
83d9bb14 923ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt config/a29k/vx29k.mt\
7ae7b919 924 config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
2592eef8
PS
925 config/alpha/alpha-osf1.mh config/alpha/alpha-osf2.mh \
926 config/alpha/alpha-osf1.mt config/alpha/alpha-nw.mt \
7ae7b919
RP
927 config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
928 config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
929 config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
930 config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
931 config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
5069d770 932 config/i386/i386bsd.mt config/i386/i386lynx.mh \
ed89c3d9
FF
933 config/i386/i386lynx.mt config/i386/i386m3.mh config/i386/i386m3.mt \
934 config/i386/i386mach.mh config/i386/i386mk.mh config/i386/i386mk.mt \
935 config/i386/i386nw.mt config/i386/i386sco.mh \
5069d770 936 config/i386/i386sco4.mh \
7ae7b919
RP
937 config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
938 config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
939 config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
6879f0db
FF
940 config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
941 config/i386/sun386.mh \
7ae7b919 942 config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
1480482a 943 config/i386/win32.mh config/i386/win32.mt \
d5fde1c9 944 config/i960/mon960.mt \
7ae7b919
RP
945 config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
946 config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
947 config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
07919221 948 config/m68k/apollo68b.mt \
1c95d7ab
JK
949 config/m68k/apollo68v.mh \
950 config/m68k/cisco.mt config/m68k/delta68.mh \
5069d770
FF
951 config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
952 config/m68k/es1800.mt config/m68k/hp300bsd.mh \
7ae7b919
RP
953 config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
954 config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
3fd4045f 955 config/m68k/m68klynx.mh config/m68k/m68klynx.mt \
5069d770 956 config/m68k/monitor.mt \
7ae7b919
RP
957 config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
958 config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
959 config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
960 config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
961 config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
0ac1a039
FF
962 config/m88k/delta88.mt config/m88k/delta88v4.mh \
963 config/m88k/delta88v4.mt config/m88k/m88k.mh config/m88k/m88k.mt \
662f3b3f
JK
964 config/mips/bigmips.mt config/mips/bigmips64.mt \
965 config/mips/decstation.mh \
7ae7b919 966 config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
662f3b3f 967 config/mips/idt64.mt config/mips/idtl64.mt \
7ae7b919 968 config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
07919221 969 config/mips/irix5.mh config/mips/irix5.mt \
7ae7b919 970 config/mips/littlemips.mh config/mips/littlemips.mt \
662f3b3f 971 config/mips/mipsel64.mt \
ed89c3d9 972 config/mips/mipsm3.mh config/mips/mipsm3.mt \
1c95d7ab 973 config/mips/mipsv4.mh config/mips/mipsv4.mt \
5069d770 974 config/mips/news-mips.mh config/mips/riscos.mh \
7ae7b919 975 config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
ed89c3d9
FF
976 config/ns32k/merlin.mt config/ns32k/ns32km3.mh config/ns32k/ns32km3.mt \
977 config/ns32k/umax.mh config/ns32k/umax.mt \
7ae7b919
RP
978 config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
979 config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
980 config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
981 config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
3fd4045f 982 config/sparc/sparclynx.mh config/sparc/sparclynx.mt \
7ae7b919
RP
983 config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
984 config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
985 config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
986 config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
987 config/vax/vaxult2.mh config/z8k/z8ksim.mt
988
989
36b1d528 990udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
7ae7b919
RP
991 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
992
021a5c6b
JK
993udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
994 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
995
36b1d528 996udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
7ae7b919
RP
997 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
998
899931b6 999a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
a9c67591 1000
7ae7b919 1001a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
cef4c2e7
PS
1002
1003alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1004
1005alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
d5fde1c9 1006 $(inferior_h) $(symtab_h) $(dis-asm.h) gdb_string.h
cef4c2e7 1007
7ae7b919 1008altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
8aa8690c
FF
1009
1010annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h)
1011
b607efe7
FF
1012arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
1013 $(gdbcore_h)
7ae7b919 1014
2ad5709f
FF
1015bcache.o: bcache.c bcache.h $(defs_h)
1016
7ae7b919
RP
1017blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1018 objfiles.h symfile.h target.h
1019
1020breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
fdfa3315 1021 $(inferior_h) language.h target.h gdbthread.h gdb_string.h
7ae7b919
RP
1022
1023buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
d5fde1c9 1024 objfiles.h symfile.h $(symtab_h) gdb_string.h
7ae7b919 1025
dedcc91d
SC
1026callback.o: callback.c $(defs_h) callback.h
1027
7ae7b919
RP
1028c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1029 language.h parser-defs.h $(symtab_h)
1030
1031c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
d5fde1c9
FF
1032 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1033 target.h typeprint.h $(value_h) gdb_string.h
7ae7b919
RP
1034
1035c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1036 language.h $(symtab_h) valprint.h $(value_h)
1037
e7b5942b 1038f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
d5fde1c9 1039 language.h parser-defs.h $(symtab_h) gdb_string.h
e7b5942b
JK
1040
1041f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \
d5fde1c9
FF
1042 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1043 target.h typeprint.h $(value_h) gdb_string.h
e7b5942b
JK
1044
1045f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
d5fde1c9
FF
1046 language.h $(symtab_h) valprint.h $(value_h) gdb_string.h
1047
1048ch-exp.o: ch-exp.c ch-lang.h $(defs_h) language.h parser-defs.h $(bfd_h) symfile.h objfiles.h $(value_h)
e7b5942b 1049
7ae7b919
RP
1050ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1051 language.h parser-defs.h $(symtab_h)
1052
1053ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
b8615fae 1054 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
d5fde1c9 1055 target.h $(value_h) typeprint.h gdb_string.h
7ae7b919
RP
1056
1057ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
b8615fae 1058 language.h $(symtab_h) valprint.h $(value_h) c-lang.h
7ae7b919 1059
ead291d4
SG
1060coff-solib.o: coff-solib.c $(defs_h)
1061
7ae7b919
RP
1062coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
1063 complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
d5fde1c9
FF
1064 symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h \
1065 gdb_string.h
7ae7b919
RP
1066
1067command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
b52cac6b 1068 $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h $(wait_h)
7ae7b919
RP
1069
1070complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
1071
7ae7b919
RP
1072convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1073 $(gdbcore_h) $(inferior_h)
1074
1075convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1076 $(inferior_h)
1077
d360e1e0
PS
1078copying.o: copying.c $(defs_h) $(gdbcmd_h)
1079
a1df8e78
FF
1080core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h)
1081
256533df 1082core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \
d5fde1c9 1083 $(inferior_h) target.h gdb_string.h
256533df 1084
a1df8e78 1085core-regset.o: core-regset.c $(command_h) $(defs_h) $(gdbcore_h) \
d5fde1c9 1086 $(inferior_h) target.h gdb_string.h
7ae7b919 1087
9c0bc1da 1088corefile.o: corefile.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
d5fde1c9 1089 $(inferior_h) target.h language.h gdb_string.h
7ae7b919 1090
7ae7b919 1091corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
fdfa3315 1092 target.h gdbthread.h gdb_string.h
7ae7b919
RP
1093
1094cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
d5fde1c9 1095 $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h
7ae7b919 1096
b607efe7 1097dcache.o: dcache.c $(dcache_h) $(defs_h) $(gdbcmd_h) gdb_string.h $(gdbcore_h)
755892d6 1098
7ae7b919
RP
1099dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
1100 complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
1101 $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
d5fde1c9 1102 symfile.h $(symtab_h) target.h gdb_string.h
7ae7b919 1103
68f49dae
FF
1104delta68-nat.o: delta68-nat.c $(defs_h)
1105
d5fde1c9
FF
1106demangle.o: demangle.c $(defs_h) $(gdbcmd_h) gdb_string.h
1107
1108dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) gdb_string.h
7ae7b919 1109
d5fde1c9 1110dstread.o: dstread.c gdb_string.h
d360e1e0 1111
7ae7b919
RP
1112dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1113 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
d5fde1c9 1114 $(symtab_h) gdb_string.h
7ae7b919 1115
fcf05549
SS
1116dwarf2read.o: dwarf2read.c $(bfd_h) buildsym.h $(defs_h) \
1117 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1118 $(symtab_h) gdb_string.h
1119
7ae7b919 1120elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
d5fde1c9 1121 gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h
7ae7b919 1122
d5fde1c9 1123environ.o: environ.c $(defs_h) environ.h $(gdbcore_h) gdb_string.h
7ae7b919
RP
1124
1125eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
d5fde1c9
FF
1126 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \
1127 gdb_string.h
7ae7b919
RP
1128
1129exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
d5fde1c9 1130 target.h language.h gdb_string.h
7ae7b919
RP
1131
1132expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1133 language.h parser-defs.h $(symtab_h) $(value_h)
1134
d5fde1c9
FF
1135findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1136 gdb_string.h
7ae7b919
RP
1137
1138fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
fdfa3315 1139 $(inferior_h) target.h terminal.h gdbthread.h gdb_string.h
7ae7b919 1140
d3d75ec9 1141# start-sanitize-gdbtk
754e5da2 1142gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
d5fde1c9 1143 $(bfd_h) symfile.h objfiles.h target.h gdb_string.h
ad0c0b7f 1144 $(CC) -c $(INTERNAL_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
e822a3db 1145 $(srcdir)/gdbtk.c -DGDBTK_FILENAME=\"$(datadir)/gdbtk.tcl\"
d3d75ec9 1146# end-sanitize-gdbtk
754e5da2 1147
7ae7b919
RP
1148gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
1149 $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
d5fde1c9 1150 $(value_h) gdb_string.h
7ae7b919
RP
1151
1152go32-xdep.o: go32-xdep.c
1153
a9c67591 1154gould-tdep.o: gould-tdep.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
7ae7b919
RP
1155 $(gdbcore_h) $(symtab_h)
1156
1157gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
a9c67591 1158
7ae7b919
RP
1159h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1160
1161h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
1162 $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
1163 $(value_h)
1164
1165hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
7ae7b919
RP
1166
1167hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1168 $(inferior_h) objfiles.h symfile.h target.h
1169
1170hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1171hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
d360e1e0 1172
d5fde1c9
FF
1173i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1174 gdb_string.h
a9c67591 1175
d360e1e0
PS
1176i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \
1177 language.h $(gdbcore_h) $(floatformat_h) target.h
a9c67591 1178
7ae7b919 1179i386b-nat.o: i386b-nat.c $(defs_h)
a9c67591 1180
3fd4045f 1181i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
a9c67591 1182
b607efe7 1183i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h $(gdbcore_h)
a9c67591 1184
d360e1e0 1185i386m3-nat.o: i386m3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) target.h
a9c67591 1186
7ae7b919
RP
1187i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1188
5fa83062 1189i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
7ae7b919
RP
1190 $(inferior_h) language.h target.h
1191
1192i386v4-nat.o: i386v4-nat.c $(defs_h)
1193
5fa83062 1194i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
7ae7b919
RP
1195 $(inferior_h) language.h
1196
5fa83062 1197i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
b607efe7 1198 $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h)
7ae7b919
RP
1199
1200infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
d5fde1c9 1201 $(inferior_h) target.h language.h gdb_string.h
7ae7b919
RP
1202
1203inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
fdfa3315 1204 signals.h target.h terminal.h gdbthread.h gdb_string.h
7ae7b919 1205
d5fde1c9 1206infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
b52cac6b 1207 gdb_string.h $(wait_h) $(command_h)
7ae7b919
RP
1208
1209infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
fdfa3315 1210 $(inferior_h) target.h gdbthread.h gdb_string.h
7ae7b919
RP
1211
1212inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
b8615fae 1213 target.h terminal.h $(command_h)
7ae7b919 1214
3730a0ed 1215irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
d360e1e0 1216irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) target.h \
811f1bdc 1217 $(symtab_h) symfile.h objfiles.h $(command_h) $(frame_h) gnu-regex.h \
d5fde1c9
FF
1218 language.h gdb_string.h
1219
7ae7b919
RP
1220isi-xdep.o: isi-xdep.c
1221
1222language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1223 $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
d5fde1c9 1224 target.h $(value_h) gdb_string.h
7ae7b919 1225
3730a0ed
FF
1226lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcore_h) \
1227 target.h
d360e1e0 1228
7ae7b919
RP
1229m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1230 language.h m2-lang.h parser-defs.h $(symtab_h)
1231
1232m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1233 $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
d5fde1c9 1234 $(value_h) gdb_string.h
7ae7b919
RP
1235
1236m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
b607efe7 1237 valprint.h m2-lang.h
7ae7b919 1238
d360e1e0
PS
1239m3-nat.o: m3-nat.c $(defs_h) $(inferior_h) $(value_h) language.h target.h \
1240 $(wait_h) $(gdbcmd_h) $(gdbcore_h)
1241
b607efe7
FF
1242m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \
1243 $(gdbcore_h) gdb_string.h
a9c67591 1244
3fd4045f 1245m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
a9c67591 1246
7ae7b919 1247m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
a9c67591 1248
7ae7b919
RP
1249m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1250
d5fde1c9 1251mac-nat.o: mac-nat.c $(defs_h) gdb_string.h
172559ec 1252
d5fde1c9 1253main.o: main.c top.h $(defs_h) gdb_string.h
7ae7b919 1254
b8615fae 1255maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
b52cac6b 1256 $(expression_h) objfiles.h symfile.h
b8615fae 1257
f4f0d174
JK
1258mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1259 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
d5fde1c9
FF
1260 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \
1261 gdb_string.h
f4f0d174 1262
d360e1e0
PS
1263mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h)
1264
1265os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1340861c 1266 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
3a179be1 1267 objfiles.h stabsread.h symfile.h $(symtab_h) \
d5fde1c9 1268 target.h gdb_string.h
1340861c 1269
7ae7b919
RP
1270mem-break.o: mem-break.c $(defs_h)
1271
1272minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
d5fde1c9 1273 $(symtab_h) gdb_string.h
7ae7b919
RP
1274
1275mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
7ae7b919
RP
1276
1277mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
d5fde1c9 1278 $(inferior_h) language.h objfiles.h symfile.h gdb_string.h
7ae7b919 1279
bf660885 1280mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
7ae7b919 1281 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
d5fde1c9
FF
1282 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \
1283 gdb_string.h
7ae7b919 1284
1c95d7ab
JK
1285mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1286
1265e2d8 1287monitor.o: monitor.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
d5fde1c9 1288 $(inferior_h) target.h serial.h terminal.h gdb_string.h
1265e2d8 1289
7ae7b919
RP
1290news-xdep.o: news-xdep.c
1291
1292Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
9b311b22 1293 nindy-share/env.h
7ae7b919
RP
1294 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
1295
1296nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
9b311b22 1297 nindy-share/env.h
7ae7b919
RP
1298 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
1299
db85f523 1300nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
d5fde1c9
FF
1301 gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h \
1302 gdb_string.h
db85f523 1303
d360e1e0
PS
1304ns32km3-nat.o: ns32km3-nat.c $(defs_h) $(inferior_h)
1305
9b311b22 1306ttyflush.o: nindy-share/ttyflush.c
7ae7b919
RP
1307 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
1308
b607efe7 1309nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(gdbcore_h)
7ae7b919 1310
a9c67591 1311ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h)
7ae7b919
RP
1312
1313objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
d5fde1c9 1314 $(symtab_h) gdb_string.h
7ae7b919 1315
cef4c2e7 1316osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
d5fde1c9 1317 objfiles.h gnu-regex.h symfile.h target.h language.h gdb_string.h
cef4c2e7 1318
0f221a69 1319somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
d5fde1c9 1320 gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h
7ae7b919 1321
d360e1e0
PS
1322somsolib.o: somsolib.c $(defs_h)
1323
5d394f70
SG
1324hpux-thread.o: hpux-thread.c $(defs_h) gdbthread.h target.h inferior.h
1325 $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
1326 -I$(srcdir)/osf-share/HP800 -I/usr/include/dce $(srcdir)/hpux-thread.c
1327
98c0e047 1328hpread.o: hpread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
d5fde1c9 1329 gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h
98c0e047 1330
7ae7b919 1331parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
d5fde1c9
FF
1332 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1333 gdb_string.h
7ae7b919 1334
e02a2ad9
SC
1335ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1336 $(inferior_h) target.h serial.h terminal.h
1337
7ae7b919 1338printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
d5fde1c9
FF
1339 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1340 symfile.h $(symtab_h) target.h gdb_string.h
7ae7b919
RP
1341
1342procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
d5fde1c9 1343 target.h gdb_string.h
7ae7b919 1344
7ae7b919 1345pyr-tdep.o: pyr-tdep.c $(defs_h)
a9c67591 1346
7ae7b919
RP
1347pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1348
d5fde1c9 1349gnu-regex.o: gnu-regex.c gnu-regex.h $(defs_h) gdb_string.h
51b4195f 1350
7ae7b919 1351remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
d5fde1c9
FF
1352 $(inferior_h) target.h terminal.h gdb_string.h
1353
1354remote-arc.o: remote-arc.c gdb_string.h
7ae7b919 1355
9c0bc1da
DE
1356remote-array.o: remote-array.c $(wait_h) $(defs_h) $(gdbcore_h) target.h \
1357 gdb_string.h $(command_h) serial.h monitor.h $(remote_utils_h)
1358
dedcc91d 1359remote-rdp.o: remote-rdp.c $(wait_h) $(defs_h) $(gdbcore_h) \
d5fde1c9 1360 $(inferior_h) gdb_string.h
dedcc91d 1361
a06f0c9f 1362remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
d5fde1c9 1363 $(inferior_h) target.h terminal.h $(remote_utils_h) gdb_string.h
a06f0c9f 1364
d360e1e0 1365remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \
d5fde1c9 1366 $(wait_h) serial.h gdb_string.h
d360e1e0 1367
7ae7b919 1368remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
d5fde1c9
FF
1369 $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h \
1370 gdb_string.h
7ae7b919
RP
1371
1372remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
d5fde1c9 1373 $(inferior_h) $(remote_utils_h) terminal.h gdb_string.h
7ae7b919
RP
1374
1375remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
d5fde1c9 1376 $(inferior_h) serial.h target.h terminal.h gdb_string.h
7ae7b919
RP
1377
1378remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1379 $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
1380
1381remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
d5fde1c9 1382 minimon.h target.h terminal.h gdb_string.h
7ae7b919 1383
5fa83062 1384remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \
9b311b22 1385 $(defs_h) $(gdbcore_h) $(inferior_h) \
b70b042d
RP
1386 nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
1387 symfile.h
7ae7b919 1388
d360e1e0
PS
1389remote-os9k.o: remote-os9k.c $(defs_h) $(gdbcore_h) $(wait_h) \
1390 $(command_h) monitor.h $(remote_utils_h) $(symtab_h) symfile.h \
d5fde1c9 1391 objfiles.h gdb-stabs.h gdb_string.h
d360e1e0 1392
7ae7b919 1393remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
d5fde1c9 1394 $(inferior_h) target.h terminal.h gdb_string.h
7ae7b919
RP
1395
1396remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
d5fde1c9 1397 target.h gdb_string.h
7ae7b919
RP
1398
1399remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
d5fde1c9 1400 $(inferior_h) target.h terminal.h $(udiheaders) gdb_string.h
7ae7b919
RP
1401
1402remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1403 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1404 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
d5fde1c9
FF
1405 vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h) \
1406 gdb_string.h
7ae7b919 1407
83d9bb14
KH
1408remote-vx29k.o: remote-vx29k.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1409 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1410 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
d5fde1c9 1411 vx-share/xdr_rdb.h gdb_string.h
83d9bb14 1412
d9951af4
SG
1413remote-wiggler.o: remote-wiggler.c $(wait_h) complaints.h $(defs_h) \
1414 $(gdbcmd_h) $(gdbcore_h) $(inferior_h) target.h
1415
b70b042d 1416remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
d5fde1c9 1417 $(inferior_h) $(remote_utils_h) gdb_string.h
b70b042d 1418
7ae7b919 1419remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
d5fde1c9 1420 $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h
7ae7b919 1421
5436fc65
C
1422remote-nrom.o: remote-nrom.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1423 $(inferior_h) $(remote_utils_h) symfile.h terminal.h
1424
1265e2d8
SG
1425rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1426 $(inferior_h) target.h serial.h terminal.h
1427
062cb0d3
FF
1428rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h \
1429 xcoffsolib.h
7ae7b919 1430
7ae7b919
RP
1431rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1432 target.h xcoffsolib.h
1433
5579919f
FF
1434scm-exp.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \
1435 scm-lang.h scm-tags.h
1436
1437scm-lang.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \
b607efe7 1438 scm-lang.h scm-tags.h gdb_string.h $(gdbcore_h)
5579919f
FF
1439
1440scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \
b607efe7 1441 scm-lang.h valprint.h $(gdbcore_h)
5579919f 1442
7ae7b919 1443ser-go32.o: ser-go32.c $(defs_h) serial.h
a9c67591 1444
a2b63bbd
JM
1445ser-mac.o: ser-mac.c $(defs_h) serial.h signals.h
1446
b52cac6b 1447ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h
a9c67591 1448
7ae7b919 1449ser-unix.o: ser-unix.c $(defs_h) serial.h
a9c67591 1450
d5fde1c9 1451serial.o: serial.c $(defs_h) serial.h gdb_string.h
7ae7b919
RP
1452
1453sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
1454 $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
1455 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1456
1480482a
SG
1457sh3-rom.o: sh3-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1458 $(inferior_h) target.h serial.h terminal.h
1459
d5fde1c9
FF
1460mon960-rom.o: mon960-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1461 $(inferior_h) target.h serial.h terminal.h
1462
7ae7b919 1463solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
d5fde1c9 1464 objfiles.h gnu-regex.h symfile.h target.h gdb_string.h
7ae7b919
RP
1465
1466source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
d5fde1c9
FF
1467 $(gdbcore_h) language.h objfiles.h gnu-regex.h symfile.h $(symtab_h) \
1468 gdb_string.h
7ae7b919 1469
3730a0ed
FF
1470sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(gdbcore_h) \
1471 target.h
7ae7b919 1472
5fa83062 1473sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
b607efe7 1474 $(inferior_h) objfiles.h symfile.h target.h gdb_string.h
7ae7b919 1475
1782eb41
KH
1476sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h
1477
e02a2ad9
SC
1478dsrec.o: dsrec.c $(defs_h) srec.h
1479
7ae7b919
RP
1480stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1481 $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
d5fde1c9
FF
1482 $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h) \
1483 gdb_string.h
7ae7b919
RP
1484
1485stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
d5fde1c9 1486 language.h target.h gdb_string.h
7ae7b919
RP
1487
1488sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1489sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1490
1491symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
1492 $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
d5fde1c9
FF
1493 language.h objfiles.h symfile.h $(symtab_h) target.h \
1494 gdb_string.h
7ae7b919
RP
1495
1496symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
56eec3c7 1497symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
b8774958 1498
7ae7b919
RP
1499symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
1500 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
d5fde1c9 1501 $(symtab_h) gdb_string.h
7ae7b919
RP
1502
1503symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
1504 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
d5fde1c9
FF
1505 gnu-regex.h symfile.h $(symtab_h) target.h $(value_h) \
1506 gdb_string.h
7ae7b919 1507
a9c67591 1508tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
7ae7b919
RP
1509 $(symtab_h)
1510
1511target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
d5fde1c9 1512 objfiles.h symfile.h target.h gdb_string.h
7ae7b919 1513
fdfa3315 1514thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h)
25286543 1515
e02a2ad9
SC
1516top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
1517 $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
d5fde1c9 1518 $(remote_utils_h) gdb_string.h
e02a2ad9 1519
7ae7b919
RP
1520typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1521 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
d5fde1c9 1522 $(value_h) gdb_string.h
7ae7b919
RP
1523
1524ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
98d82489
FF
1525ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1526umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
7ae7b919
RP
1527
1528utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
d5fde1c9
FF
1529 language.h signals.h target.h terminal.h $(readline_headers) \
1530 gdb_string.h
7ae7b919
RP
1531
1532valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
d5fde1c9
FF
1533 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \
1534 gdb_string.h
b8774958 1535
d5fde1c9
FF
1536valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1537 gdb_string.h
b8774958 1538
7ae7b919
RP
1539valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1540 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
b607efe7 1541 $(value_h) gdb_string.h valprint.h
7ae7b919
RP
1542
1543values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
d5fde1c9 1544 $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h) \
b52cac6b 1545 gdb_string.h scm-lang.h
7ae7b919 1546
a9c67591 1547vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
7ae7b919 1548
b607efe7 1549w65-tdep.o : w65-tdep.c $(gdbcore_h)
d723ade7 1550
d5fde1c9
FF
1551win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
1552 gdb_string.h
1480482a 1553
7ae7b919
RP
1554xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
1555 vx-share/vxWorks.h vx-share/xdr_ld.h
1556 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
1557
1558xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
1559 vx-share/vxWorks.h vx-share/xdr_ptrace.h
1560 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
1561
1562xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
1563 vx-share/vxWorks.h vx-share/xdr_rdb.h
1564 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
1565
7ae7b919
RP
1566xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1567 $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
1568 $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
1569 complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
d5fde1c9 1570 $(symtab_h) partial-stab.h gdb_string.h
7ae7b919
RP
1571
1572xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
1573
1574z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
b607efe7 1575 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(gdbcore_h)
7ae7b919
RP
1576
1577c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
b8615fae
JK
1578 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1579 $(bfd_h) objfiles.h symfile.h
7ae7b919 1580
d360e1e0
PS
1581f-exp.tab.o: f-exp.tab.c f-lang.h $(defs_h) $(expression_h) \
1582 language.h parser-defs.h $(value_h) $(bfd_h) objfiles.h symfile.h
1583
7ae7b919 1584m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
b8615fae
JK
1585 language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
1586 $(bfd_h) objfiles.h symfile.h
7ae7b919
RP
1587
1588### end of the gdb Makefile.in.
This page took 0.342841 seconds and 4 git commands to generate.