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