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