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