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