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