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