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