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