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