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