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