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