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