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