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