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