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