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