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