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