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