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