]> Git Repo - binutils.git/blob - gdb/Makefile.in
1abded177d9009ee57d682210ad43ea967ff93fc
[binutils.git] / gdb / Makefile.in
1 #Copyright 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
2
3 # This file is part of GDB.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19 prefix = /usr/local
20
21 program_transform_name =
22 exec_prefix = $(prefix)
23 bindir = $(exec_prefix)/bin
24 libdir = $(exec_prefix)/lib
25 tooldir = $(libdir)/$(target_alias)
26
27 datadir = $(prefix)/lib
28 mandir = $(prefix)/man
29 man1dir = $(mandir)/man1
30 man2dir = $(mandir)/man2
31 man3dir = $(mandir)/man3
32 man4dir = $(mandir)/man4
33 man5dir = $(mandir)/man5
34 man6dir = $(mandir)/man6
35 man7dir = $(mandir)/man7
36 man8dir = $(mandir)/man8
37 man9dir = $(mandir)/man9
38 infodir = $(prefix)/info
39 includedir = $(prefix)/include
40 docdir = $(datadir)/doc
41
42 SHELL = /bin/sh
43
44 INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
45 INSTALL_PROGRAM = $(INSTALL)
46 INSTALL_DATA = $(INSTALL)
47 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
48 INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
49
50 AR = ar
51 AR_FLAGS = qv
52 RANLIB = ranlib
53
54 # Flags that describe where you can find the termcap library.
55 # This can be overridden in the host Makefile fragment file.
56 TERMCAP = -ltermcap
57
58 # System V: If you compile gdb with a compiler which uses the coff
59 # encapsulation feature (this is a function of the compiler used, NOT
60 # of the m-?.h file selected by config.gdb), you must make sure that
61 # the GNU nm is the one that is used by munch.
62
63 # If you are compiling with GCC, make sure that either 1) You have the
64 # fixed include files where GCC can reach them, or 2) You use the
65 # -traditional flag.  Otherwise the ioctl calls in inflow.c
66 # will be incorrectly compiled.  The "fixincludes" script in the gcc
67 # distribution will fix your include files up.
68 #CC=cc
69 #CC=gcc -traditional
70 GCC=gcc
71
72 # Directory containing source files.  Don't clean up the spacing,
73 # this exact string is matched for by the "configure" script.
74 srcdir = .
75
76 # If you use bison instead of yacc, it needs to include the "-y" argument.
77 #BISON=bison -y
78 BISON=yacc
79 YACC=$(BISON)
80
81 # where to find makeinfo, preferably one designed for texinfo-2
82 MAKEINFO=makeinfo
83
84 # Set this up with gcc if you have gnu ld and the loader will print out
85 # line numbers for undefined references.
86 #CC-LD=gcc -static
87 CC-LD=$(CC)
88
89 # Where is our "include" directory?  Typically $(srcdir)/../include.
90 # This is essentially the header file directory for the library
91 # routines in libiberty.
92 INCLUDE_DIR =  $(srcdir)/../include
93 INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
94 # Where is the "-liberty" library, containing getopt and obstack?
95 LIBIBERTY = ../libiberty/libiberty.a
96
97 # Where is the MMALLOC library?  Typically ../mmalloc.
98 # Note that mmalloc can still be used on systems without mmap().
99 # To use your system malloc, comment out the following defines.
100 MMALLOC = ../mmalloc/libmmalloc.a
101 # To use your system malloc, uncomment MMALLOC_DISABLE.
102 #MMALLOC_DISABLE = -DNO_MMALLOC
103 # To use mmalloc but disable corruption checking, uncomment MMALLOC_CHECK
104 #MMALLOC_CHECK = -DNO_MMALLOC_CHECK
105 MMALLOC_CFLAGS = $(MMALLOC_CHECK) $(MMALLOC_DISABLE)
106
107 # Where are the BFD library?
108 BFD_DIR = ../bfd
109 BFD = $(BFD_DIR)/libbfd.a
110 BFD_SRC = $(srcdir)/$(BFD_DIR)
111 BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
112
113 # Where is the READLINE library?  Typically in ../readline.
114 READLINE_DIR = ../readline
115 READLINE = $(READLINE_DIR)/libreadline.a
116 READLINE_SRC = $(srcdir)/$(READLINE_DIR)
117 READLINE_CFLAGS = -I$(READLINE_SRC)
118
119 # Opcodes currently live in one of two places.  Either they are in the
120 # opcode library, typically ../opcodes, or they are in a header file
121 # in INCLUDE_DIR.
122 # Where is the "-lopcodes" library, with (some of) the opcode tables and
123 # disassemblers?
124 OPCODES = ./../opcodes/libopcodes.a
125 # Where are the other opcode tables which only have header file
126 # versions?
127 OP_INCLUDE = $(INCLUDE_DIR)/opcode
128 OPCODES_CFLAGS = -I$(OP_INCLUDE)
129
130 # All the includes used for CFLAGS and for lint.
131 # -I. for config files.
132 # -I$(srcdir) for gdb internal headers and possibly for regex.h also.
133 # -I$(srcdir)/config for more generic config files.
134
135 # It is also possible that you will need to add -I/usr/include/sys if
136 # your system doesn't have fcntl.h in /usr/include (which is where it
137 # should be according to Posix).
138 GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config
139
140 # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
141 # from the config directory.
142 GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
143 #PROFILE_CFLAGS = -pg
144
145 # CFLAGS is specifically reserved for setting from the command line
146 # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
147 CFLAGS = -g
148
149 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
150 INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
151         $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
152         $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS)
153
154 # We are using our own version of REGEX now to be consistent across
155 # machines.
156 REGEX = regex.o
157 REGEX1 = regex.o
158
159 # If your system is missing alloca(), or, more likely, it's there but
160 # it doesn't work, then refer to libiberty.
161
162 # Libraries and corresponding dependencies for compiling gdb.
163 # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
164 # TERMCAP comes after readline, since readline depends on it.
165 # If you have the Cygnus libraries installed,
166 # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
167 INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
168         -liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
169 CLIBS = $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) \
170         $(LIBIBERTY) $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
171 CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) \
172         $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) $(LIBIBERTY)
173
174 ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
175 ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
176
177 VERSION = 4.10.3
178 DIST=gdb
179
180 LINT=/usr/5bin/lint
181 LINTFLAGS= $(BFD_CFLAGS)
182
183 RUNTEST=runtest
184 RUNTESTFLAGS=
185
186 # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
187 # interface to the serial port.  Hopefully if get ported to OS/2, VMS,
188 # etc., then there will be (as part of the C library or perhaps as
189 # part of libiberty) a POSIX interface.  But at least for now the
190 # host-dependent makefile fragment might need to use something else
191 # besides ser-unix.o
192 SER_HARDWIRE=ser-unix.o
193
194 # The `remote' debugging target is supported for most architectures,
195 # but not all (e.g. 960)
196 REMOTE_O = remote.o dcache.o remote-utils.o
197
198 # Host and target-dependent makefile fragments come in here.
199 ####
200 # End of host and target-dependent makefile fragments
201
202 FLAGS_TO_PASS = \
203         "prefix=$(prefix)" \
204         "exec_prefix=$(exec_prefix)" \
205         "against=$(against)" \
206         "AR=$(AR)" \
207         "AR_FLAGS=$(AR_FLAGS)" \
208         "CC=$(CC)" \
209         "CFLAGS=$(CFLAGS)" \
210         "CHILLFLAGS=$(CHILLFLAGS)" \
211         "CHILL=$(CHILL)" \
212         "CHILL_LIB=$(CHILL_LIB)" \
213         "CXX=$(CXX)" \
214         "CXXFLAGS=$(CXXFLAGS)" \
215         "RANLIB=$(RANLIB)" \
216         "MAKEINFO=$(MAKEINFO)" \
217         "INSTALL=$(INSTALL)" \
218         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
219         "INSTALL_DATA=$(INSTALL_DATA)" \
220         "RUNTEST=$(RUNTEST)" \
221         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
222         "BISON=$(BISON)"
223
224 # Flags that we pass when building the testsuite.
225
226 CC_FOR_TARGET = ` \
227   if [ -f $${rootme}/../gcc/Makefile ] ; then \
228     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
229   else \
230     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
231       echo $(CC); \
232     else \
233       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
234     fi; \
235   fi`
236
237 CXX = gcc
238
239 CXX_FOR_TARGET = ` \
240   if [ -f $${rootme}/../gcc/Makefile ] ; then \
241     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
242   else \
243     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
244       echo $(CXX); \
245     else \
246       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
247     fi; \
248   fi`
249
250 CHILLFLAGS = $(CFLAGS)
251 CHILL = gcc
252 CHILL_FOR_TARGET = ` \
253   if [ -f $${rootme}/../gcc/Makefile ] ; then \
254     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../chillrt/; \
255   else \
256     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
257       echo $(CC); \
258     else \
259       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
260     fi; \
261   fi`
262 CHILL_LIB = -lchill
263
264 # The use of $$(x_FOR_TARGET) reduces the command line length by not
265 # duplicating the lengthy definition.
266 TARGET_FLAGS_TO_PASS = \
267         "prefix=$(prefix)" \
268         "exec_prefix=$(exec_prefix)" \
269         "against=$(against)" \
270         'CC=$$(CC_FOR_TARGET)' \
271         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
272         "CFLAGS=$(CFLAGS)" \
273         "CHILLFLAGS=$(CHILLFLAGS)" \
274         'CHILL=$$(CHILL_FOR_TARGET)' \
275         "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
276         "CHILL_LIB=$(CHILL_LIB)" \
277         'CXX=$$(CXX_FOR_TARGET)' \
278         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
279         "CXXFLAGS=$(CXXFLAGS)" \
280         "MAKEINFO=$(MAKEINFO)" \
281         "INSTALL=$(INSTALL)" \
282         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
283         "INSTALL_DATA=$(INSTALL_DATA)" \
284         "RUNTEST=$(RUNTEST)" \
285         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
286         "BISON=$(BISON)"
287
288 # All source files that go into linking GDB.
289 # Links made at configuration time should not be specified here, since
290 # SFILES is used in building the distribution archive.
291
292 SFILES = blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c \
293         c-typeprint.c c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c \
294         ch-valprint.c coffread.c command.c complaints.c core.c cp-valprint.c \
295         dbxread.c demangle.c dwarfread.c elfread.c environ.c eval.c expprint.c \
296         findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c putenv.c \
297         m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
298         mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
299         printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
300         symtab.c target.c thread.c typeprint.c utils.c valarith.c valops.c \
301         valprint.c values.c serial.c ser-unix.c
302
303 # Files that are not source code, but need to go into
304 # gdb-$(VERSION).tar.Z.
305
306 NONSRC = Makefile.in munch configure.in ChangeLog ChangeLog-9091 \
307         ChangeLog-92 ChangeLog-3.x gdb.1 refcard.ps README TODO TAGS NEWS \
308         Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
309         saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
310         nindy-share/Makefile nindy-share/VERSION nindy-share/README \
311         vx-share/README 29k-share/README config/convex/Convex.notes
312
313 # All source files that lint should look at
314 LINTFILES = $(SFILES) $(YYFILES) init.c
315
316 # Any additional files specified on these lines should also be added to
317 # the NONSRC definition, so they go in the tar files.
318 SFILES_STAND = $(SFILES) standalone.c
319 SFILES_KGDB  = $(SFILES) stuff.c kdb-start.c
320
321 # "system" headers.  Using these in dependencies is a rather personal
322 # choice.  By default, we do not depend on these files.
323 #getopt_h =     $(INCLUDE_DIR)/getopt.h
324 #ieee-float_h = $(INCLUDE_DIR)/ieee-float.h
325 #bfd_h =                $(BFD_DIR)/bfd.h
326 #wait_h =       $(INCLUDE_DIR)/wait.h
327 #dis-asm_h =    $(INCLUDE_DIR)/dis-asm.h 
328
329 dcache_h = dcache.h
330 remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h
331
332 readline_headers = \
333         $(READLINE_SRC)/chardefs.h \
334         $(READLINE_SRC)/history.h \
335         $(READLINE_SRC)/keymaps.h \
336         $(READLINE_SRC)/readline.h
337
338 udiheaders = \
339         29k-share/udi/udiproc.h \
340         29k-share/udi/udiphcfg.h \
341         29k-share/udi/udiphunix.h \
342         29k-share/udi/udiptcfg.h \
343         29k-share/udi/udipt29k.h \
344         29k-share/udi/udisoc.h
345
346 dcache_h =      dcache.h
347
348 gdbcore_h =     gdbcore.h $(bfd_h)
349
350 frame_h =       frame.h
351 symtab_h =      symtab.h
352 gdbtypes_h =    gdbtypes.h
353 expression_h =  expression.h
354 value_h =       value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
355
356 breakpoint_h =  breakpoint.h $(frame_h) $(value_h)
357
358 command_h =     command.h
359 gdbcmd_h =      gdbcmd.h $(command_h)
360
361 defs_h =        defs.h xm.h tm.h nm.h config.status
362
363 inferior_h =    inferior.h $(breakpoint_h)
364
365 # Header files that are not named in config/*/* Makefile fragments go
366 # into HFILES.
367
368 HFILES = buildsym.h call-cmds.h defs.h environ.h $(gdbcmd_h) \
369         $(gdbcore_h) gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
370         objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
371         symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
372         c-lang.h ch-lang.h m2-lang.h complaints.h ns32k-opcode.h valprint.h \
373         config/m68k/tm-m68k.h config/pa/tm-hppa.h config/i960/tm-i960.h \
374         config/sparc/tm-sparc.h config/tm-sunos.h config/tm-sysv4.h \
375         config/m68k/xm-m68k.h config/sparc/xm-sparc.h config/xm-sysv4.h \
376         config/vax/xm-vax.h config/nm-m3.h config/nm-trash.h $(udiheaders) \
377         29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
378         nindy-share/block_io.h nindy-share/coff.h \
379         nindy-share/env.h nindy-share/stop.h \
380         vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
381         vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
382         vx-share/xdr_ptrace.h vx-share/xdr_rdb.h thread.h \
383         $(remote_utils_h)
384
385 # GDB "info" files, which should be included in their entirety
386 INFOFILES = gdb.info*
387
388 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
389
390 POSSLIBS = regex.c regex.h
391
392 # Subdirectories of gdb, which should be included in their entirety in
393 # gdb-xxx.tar.Z:
394 TARDIRS = doc gdbserver sparclite
395
396 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
397 # default their values the way we do for SER_HARDWIRE; in the future
398 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
399 # variables analogous to SER_HARDWIRE which get defaulted in this
400 # Makefile.in
401
402 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) $(REMOTE_O)
403
404 SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
405 # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
406 # and it's more useful to see it in the .y file.
407 TAGFILES = $(SFILES) $(HFILES) $(ALLDEPFILES) $(ALLPARAM) $(POSSLIBS) 
408
409 TARFILES = $(SFILES) $(HFILES) $(NONSRC) $(ALLDEPFILES) $(ALLCONFIG) \
410         $(ALLPARAM) $(INFOFILES) $(POSSLIBS) $(REMOTE_EXAMPLES)
411
412
413 OBS =   version.o main.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
414         source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
415         symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
416         utils.o expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
417         mem-break.o target.o putenv.o parse.o language.o $(YYOBJ) buildsym.o \
418         objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
419         dwarfread.o mipsread.o stabsread.o core.o c-lang.o ch-lang.o m2-lang.o \
420         complaints.o typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
421         c-valprint.o cp-valprint.o ch-valprint.o m2-valprint.o nlmread.o \
422         serial.o
423
424 RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
425
426 TSOBS = inflow.o
427
428 NTSOBS = standalone.o
429
430 TSSTART = /lib/crt0.o
431
432 NTSSTART = kdb-start.o
433
434 SUBDIRS = doc testsuite
435
436 # For now, shortcut the "configure GDB for fewer languages" stuff.
437 YYFILES = c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
438 YYOBJ = c-exp.tab.o m2-exp.tab.o ch-exp.tab.o
439
440 # Prevent Sun make from putting in the machine type.  Setting
441 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
442 .c.o:
443         $(CC) -c $(INTERNAL_CFLAGS) $<
444
445 all: gdb
446         @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
447
448 installcheck:
449 check: force
450         @rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=check DODIRS=testsuite subdir_do
451 info dvi install-info clean-info: force
452         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
453
454 gdb.z:gdb.1
455         nroff -man $(srcdir)/gdb.1 | col -b > gdb.t 
456         pack gdb.t ; rm -f gdb.t
457         mv gdb.t.z gdb.z
458
459 # Traditionally "install" depends on "all".  But it may be useful
460 # not to; for example, if the user has made some trivial change to a 
461 # source file and doesn't care about rebuilding or just wants to save the
462 # time it takes for make to check that all is up to date.
463 # install-only is intended to address that need.
464 install: all install-only
465 install-only: 
466         $(INSTALL_XFORM) gdb $(bindir)/gdb
467         $(INSTALL_XFORM1) $(srcdir)/gdb.1 $(man1dir)/gdb.1
468         @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
469
470 uninstall: force
471         rm -f $(bindir)/gdb $(man1dir)/gdb.1
472         @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
473
474 init.c: munch $(OBS) $(TSOBS)
475         $(srcdir)/munch $(MUNCH_DEFINE) $(OBS) $(TSOBS) > init.c-new
476         mv init.c-new init.c
477
478 .PRECIOUS: init.c
479
480 # Removing the old gdb first works better if it is running, at least on SunOS.
481 gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
482         rm -f gdb
483         $(CC-LD) $(GLOBAL_CFLAGS) $(LDFLAGS) -o gdb \
484           init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
485
486 saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
487         #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
488         #load ./init.c $(SFILES)
489         #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y $(srcdir)/ch-exp.y
490         #unload vx-share/*.h
491         #unload nindy-share/[A-Z]*
492         #load c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
493         #load copying.c version.c
494         #load ../opcodes/libopcodes.a
495         #load ../libiberty/libiberty.a
496         #load ../bfd/libbfd.a
497         #load ../readline/libreadline.a
498         #load ../mmalloc/libmmalloc.a
499         #load -ltermcap 
500         #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
501         echo "Load .c corresponding to:" $(DEPFILES)
502
503
504 # This is useful when debugging GDB, because some Unix's don't let you run GDB
505 # on itself without copying the executable.  So "make gdb1" will make
506 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
507 # Removing gdb1 before the copy is the right thing if gdb1 is open
508 # in another process.
509 gdb1: gdb
510         rm -f gdb1
511         cp gdb gdb1
512
513 # This is a remote stub which runs under unix and starts up an
514 # inferior process.  This is at least useful for debugging GDB's
515 # remote support.
516 rapp: $(RAPP_OBS)
517         rm -f rapp_init.c
518         $(srcdir)/munch $(MUNCH_DEFINE) $(RAPP_OBS) > rapp_init.c
519         $(CC-LD) $(LDFLAGS) -o $@ rapp_init.c $(RAPP_OBS)
520
521 config.status:
522         @echo "You must configure gdb.  Look at the README file for details."
523         @false
524
525 ### fixme - this can't be right.
526 # This checks the configure.in file versus the config/ directory.
527 config-check: config-check-hosts config-check-targets
528 config-check-hosts:
529         grep gdb_host= $(srcdir)/configure.in | \
530                 sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
531         (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
532         diff -u HOSTconf.o HOSTdir.o
533
534 ### fixme - nor can this.
535 config-check-targets:
536         grep gdb_target= $(srcdir)/configure.in | \
537                 sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
538         (cd $(srcdir)/config; ls *.mt) >TARGdir.o
539         diff -u HOSTconf.o HOSTdir.o
540
541 # FIXME. These are not generated by "make depend" because they only are there
542 # for some machines.
543 # But these rules don't do what we want; we want to hack the foo.o: tm.h
544 # dependency to do the right thing.
545 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
546 tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
547 xm-news1000.h: xm-news.h
548 xm-i386-sv32.h: xm-i386.h
549 tm-i386gas.h: tm-i386.h
550 xm-sun4os4.h: xm-sparc.h
551 tm-sun4os4.h: tm-sparc.h
552 xm-vaxult.h: xm-vax.h
553 xm-vaxbsd.h: xm-vax.h
554
555 kdb:    $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
556         rm -f init.c
557         $(srcdir)/munch $(MUNCH_DEFINE) $(OBS) $(NTSOBS) > init.c
558         $(CC) $(LDFLAGS) -c init.c $(CLIBS) 
559         ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
560           -lc $(CLIBS)
561
562 # Put the proper machine-specific files first, so M-. on a machine
563 # specific routine gets the one for the correct machine.
564 TAGS:   
565         etags `find $(srcdir)/config \( -name $(TM_FILE) \
566                 -o -name $(XM_FILE) \
567                 -o -name $(NAT_FILE) \) -print` \
568         `(for i in $(DEPFILES) $(TAGFILES); do \
569                 echo $(srcdir)/$$i ; \
570         done) | sed -e 's/\.o$$/\.c/'` \
571
572 tags: TAGS
573
574 # Making distributions of GDB and friends.
575
576 # Make a tar file containing the GDB directory of the distribution.
577 gdb.tar.Z: force_update
578         $(MAKE) $(MFLAGS) -f Makefile.in setup-to-dist
579         $(MAKE) $(MFLAGS) -f Makefile.in gdb-$(VERSION).tar.Z
580
581 # Make a directory `proto-gdb.dir' that contains an image of the GDB
582 # directory of the distribution, built up with symlinks.  Note that this
583 # make target is not directly referenced by any other rules in this makefile,
584 # it is referenced by the makefile in the parent directory.
585 make-proto-gdb.dir: force_update 
586         $(MAKE) $(MFLAGS) -f Makefile.in setup-to-dist
587         $(MAKE) $(MFLAGS) -f Makefile make-proto-gdb-1
588
589 # Set up the GDB source directory for distribution, by building all files that
590 # are products of other files.
591 setup-to-dist: force_update
592         ../configure none
593         (cd doc; $(MAKE) $(MFLAGS) GDBvn.texi)
594         $(MAKE) $(MFLAGS) gdb.info
595         $(MAKE) $(MFLAGS) refcard.ps
596
597 # Build a tar file from a proto-gdb.dir.
598 gdb-$(VERSION).tar.Z: force_update
599         rm -f gdb.tar gdb-$(VERSION).tar.Z
600         $(MAKE) $(MFLAGS) -f Makefile make-proto-gdb-1
601         ln -s proto-gdb.dir $(DIST)
602         tar chf - $(DIST) | compress >gdb-$(VERSION).tar.Z
603         rm -rf $(DIST) proto-gdb.dir
604
605 # Build a proto-gdb.dir after GDB has been set up for distribution.
606 # This stuff must be run in `Makefile', not `Makefile.in`; we use the makefile
607 # built in the setup-to-dist process, since it defines things like ALLCONFIG
608 # and ALLDEPFILES, that we need.
609 make-proto-gdb-1: $(TARFILES) $(TARDIRS) gdb.info
610         rm -rf proto-gdb.dir
611         mkdir proto-gdb.dir
612         rootme=`pwd`/ ; export rootme ; \
613           for i in `echo $(TARDIRS)`; do \
614             (cd proto-gdb.dir ; \
615             mkdir -p $$i; \
616             cd $$i; \
617             ln -s $${rootme}/$$i/* .; \
618             rm -rf SCCS CVS CVS.adm RCS config.status; \
619             if test -f Makefile.in; then rm -f Makefile; else true; fi;); \
620           done ; \
621           for i in `echo $(TARFILES)`; do \
622             (cd proto-gdb.dir ; \
623             dir=`dirname $$i`; \
624             if test -d $$dir; then true; else mkdir -p $$dir; fi; \
625             ln -s $${rootme}/$$i $$i;); \
626           done
627         chmod og=u `find . -print`
628
629 # Build a proto-testsuite.dir.
630 make-proto-testsuite.dir: force_update
631         rm -rf proto-testsuite.dir
632         mkdir proto-testsuite.dir
633         rootme=`pwd`/ ; export rootme ; \
634           for i in `find testsuite -type f -print`; do \
635             (cd proto-testsuite.dir ; \
636             dir=`dirname $$i`; \
637             if test -d $$dir; then true; else mkdir -p $$dir; fi; \
638             ln -s $${rootme}/$$i $$i;); \
639           done
640         find proto-testsuite.dir -name Makefile -exec rm {} \;
641         find proto-testsuite.dir -name config.status -exec rm {} \;
642
643 clean:
644         @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do 
645         rm -f *.o $(ADD_FILES) *~
646         rm -f init.c version.c
647         rm -f gdb core make.log
648         rm -f gdb[0-9]
649
650 # This used to depend on c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
651 # I believe this is wrong; the makefile standards for distclean just
652 # describe removing files; the only sort of "re-create a distribution"
653 # functionality described is if the distributed files are unmodified.
654 distclean: clean
655         @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do 
656         rm -f nm.h tm.h xm.h config.status
657         rm -f y.output yacc.acts yacc.tmp y.tab.h
658         rm -f Makefile
659
660 realclean: clean
661         @$(MAKE) $(FLAGS_TO_PASS) DO=realclean "DODIRS=$(SUBDIRS)" subdir_do
662         rm -f c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
663         rm -f nm.h tm.h xm.h config.status
664         rm -f y.output yacc.acts yacc.tmp
665         rm -f Makefile
666
667 subdir_do: force
668         @for i in $(DODIRS); do \
669                 if [ -f ./$$i/Makefile ] ; then \
670                         if (cd ./$$i; \
671                                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
672                         else exit 1 ; fi ; \
673                 else true ; fi ; \
674         done
675
676 Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
677         $(SHELL) config.status
678
679 force:
680
681 # Documentation!
682 # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
683 refcard.dvi:
684         ( cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) )
685         mv doc/refcard.dvi .
686
687 # GDB QUICK REFERENCE (PostScript output, common PS fonts)
688 refcard.ps:
689         ( cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) )
690         mv doc/refcard.ps .
691
692 # GDB MANUAL: TeX dvi file
693 gdb.dvi:
694         ( cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) )
695         mv doc/gdb.dvi .
696
697 # GDB MANUAL: info file
698 gdb.info:
699         ( cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) )
700         mv doc/gdb.info* .
701
702 # Make copying.c from COPYING
703 copying.c: COPYING copying.awk
704         awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
705
706 version.c: Makefile
707         echo 'char *version = "$(VERSION)";' >version.c
708         echo 'char *host_canonical = "$(host_canonical)";' >> version.c
709         echo 'char *target_canonical = "$(target_canonical)";' >> version.c
710
711 # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
712 # in srcdir, then compiled in objdir to c-exp.tab.o.
713
714 # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
715 # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
716
717 # Remove bogus decls for malloc/realloc/free which conflict with everything
718 # else.
719 c-exp.tab.o: c-exp.tab.c
720 c-exp.tab.c: c-exp.y Makefile.in
721         @echo 'Expect 4 shift/reduce conflicts.'
722         $(YACC) $(YFLAGS) $(srcdir)/c-exp.y
723         -sed -e '/extern.*malloc/d' \
724              -e '/extern.*realloc/d' \
725              -e '/extern.*free/d' \
726              -e '/include.*malloc.h/d' \
727              -e 's/malloc/xmalloc/g' \
728              -e 's/realloc/xrealloc/g' \
729           < y.tab.c > c-exp.new
730         -rm y.tab.c
731         mv c-exp.new ./c-exp.tab.c
732
733 # ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
734 # in srcdir, then compiled in objdir to ch-exp.tab.o.
735 # Remove bogus decls for malloc/realloc/free which conflict with everything
736 # else.
737 ch-exp.tab.o: ch-exp.tab.c
738 # the dependency here on c-exp.tab.c is artificial.  Without this
739 # dependency, a parallel make will attempt to build both at the same
740 # time and the second yacc will pollute the first y.tab.c file.
741 ch-exp.tab.c: ch-exp.y Makefile.in c-exp.tab.c
742         $(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
743         -sed -e '/extern.*malloc/d' \
744              -e '/extern.*realloc/d' \
745              -e '/extern.*free/d' \
746              -e '/include.*malloc.h/d' \
747              -e 's/malloc/xmalloc/g' \
748              -e 's/realloc/xrealloc/g' \
749           < y.tab.c > ch-exp.new
750         -rm y.tab.c
751         mv ch-exp.new ./ch-exp.tab.c
752
753 # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
754 # in srcdir, then compiled in objdir to m2-exp.tab.o.
755 # Remove bogus decls for malloc/realloc/free which conflict with everything
756 # else.
757 m2-exp.tab.o: m2-exp.tab.c
758 # the dependency here on ch-exp.tab.c is artificial.  Without this
759 # dependency, a parallel make will attempt to build both at the same
760 # time and the second yacc will pollute the first y.tab.c file.
761 m2-exp.tab.c: m2-exp.y Makefile.in ch-exp.tab.c
762         $(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
763         -sed -e '/extern.*malloc/d' \
764              -e '/extern.*realloc/d' \
765              -e '/extern.*free/d' \
766              -e '/include.*malloc.h/d' \
767              -e 's/malloc/xmalloc/g' \
768              -e 's/realloc/xrealloc/g' \
769           < y.tab.c > m2-exp.new
770         -rm y.tab.c
771         mv m2-exp.new ./m2-exp.tab.c
772
773 # These files are updated atomically, so make never has to remove them
774 .PRECIOUS: m2-exp.tab.c ch-exp.tab.c c-exp.tab.c
775
776 lint: $(LINTFILES)
777         $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
778            `echo $(DEPFILES) | sed 's/\.o /\.c /g'
779
780 gdb.cxref: $(SFILES)
781         cxref -I. $(SFILES) >gdb.cxref
782
783 force_update:
784
785 # GNU Make has an annoying habit of putting *all* the Makefile variables
786 # into the environment, unless you include this target as a circumvention.
787 # Rumor is that this will be fixed (and this target can be removed)
788 # in GNU Make 4.0.
789 .NOEXPORT:
790
791 # GNU Make 3.63 has a different problem: it keeps tacking command line
792 # overrides onto the definition of $(MAKE).  This variable setting
793 # will remove them.
794 MAKEOVERRIDES=
795
796 ## This is ugly, but I don't want GNU make to put these variables in
797 ## the environment.  Older makes will see this as a set of targets
798 ## with no dependencies and no actions.
799 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
800
801 # These are things from config/*/*.m? fragments.  There is no good reason
802 # why they are separate from the lists of files above.
803
804 ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
805         a29k-pinsn.c a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
806         altos-xdep.c arm-convert.s \
807         arm-pinsn.c arm-tdep.c arm-xdep.c coff-solib.c convex-pinsn.c \
808         convex-tdep.c \
809         convex-xdep.c core-svr4.c coredep.c corelow.c dcache.c delta68-nat.c \
810         dpx2-nat.c exec.c fork-child.c \
811         go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
812         hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
813         i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
814         i386aix-nat.c i386m3-nat.c i386v4-nat.c i386lynx-nat.c i386ly-tdep.c \
815         i387-tdep.c \
816         i960-pinsn.c i960-tdep.c \
817         infptrace.c inftarg.c irix4-nat.c isi-xdep.c m3-nat.c \
818         m68k-pinsn.c m68k-tdep.c \
819         m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
820         mips-tdep.c mipsm3-nat.c news-xdep.c \
821         nindy-share/Onindy.c nindy-share/nindy.c \
822         nindy-share/ttyflush.c nindy-tdep.c \
823         ns32k-pinsn.c ns32km3-nat.c osfsolib.c \
824         paread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
825         remote-adapt.c remote-bug.c remote-eb.c remote-es.c \
826         remote-hms.c remote-mips.c \
827         remote-mm.c remote-mon.c remote-nindy.c remote-sim.c \
828         remote-st.c remote-utils.c dcache.c \
829         remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
830         rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
831         sparc-pinsn.c sparc-tdep.c sun3-nat.c sun386-nat.c symm-tdep.c \
832         symm-nat.c tahoe-pinsn.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
833         vax-pinsn.c \
834         vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
835         xcoffexec.c xcoffread.c xcoffsolib.c z8k-tdep.c
836
837 ALLPARAM = config/a29k/nm-ultra3.h config/a29k/tm-a29k.h \
838         config/a29k/tm-ultra3.h config/a29k/xm-ultra3.h \
839         config/alpha/nm-alpha.h config/alpha/tm-alpha.h \
840         config/alpha/xm-alpha.h config/arm/tm-arm.h \
841         config/arm/xm-arm.h config/convex/tm-convex.h \
842         config/convex/xm-convex.h config/gould/tm-np1.h config/gould/tm-pn.h \
843         config/gould/xm-np1.h config/gould/xm-pn.h config/h8300/tm-h8300.h \
844         config/h8500/tm-h8500.h config/i386/nm-i386aix.h \
845         config/i386/nm-i386bsd.h config/i386/nm-i386lynx.h \
846         config/i386/nm-i386mach.h config/i386/nm-i386sco.h \
847         config/i386/nm-i386sco4.h config/i386/nm-i386v.h \
848         config/i386/nm-i386v4.h config/i386/nm-linux.h \
849         config/i386/nm-sun386.h config/i386/nm-symmetry.h \
850         config/i386/tm-i386aix.h config/i386/tm-i386bsd.h \
851         config/i386/tm-i386lynx.h config/i386/tm-i386m3.h \
852         config/i386/tm-i386mk.h config/i386/tm-i386nw.h \
853         config/i386/tm-i386v.h \
854         config/i386/tm-i386v4.h config/i386/tm-linux.h \
855         config/i386/tm-sun386.h \
856         config/i386/tm-symmetry.h config/i386/xm-go32.h \
857         config/i386/xm-i386aix.h config/i386/xm-i386bsd.h \
858         config/i386/xm-i386lynx.h config/i386/xm-i386mach.h \
859         config/i386/xm-i386m3.h config/i386/xm-i386mk.h \
860         config/i386/xm-i386sco.h config/i386/xm-i386v.h \
861         config/i386/xm-i386v32.h config/i386/xm-i386v4.h \
862         config/i386/xm-linux.h config/i386/xm-sun386.h \
863         config/i386/xm-symmetry.h config/i960/tm-nindy960.h \
864         config/i960/tm-vx960.h config/m68k/nm-apollo68b.h \
865         config/m68k/nm-apollo68v.h config/m68k/nm-delta68.h \
866         config/m68k/nm-dpx2.h config/m68k/nm-hp300bsd.h \
867         config/m68k/nm-hp300hpux.h config/m68k/nm-news.h \
868         config/m68k/nm-sun2.h \
869         config/m68k/nm-sun3.h config/m68k/tm-3b1.h config/m68k/tm-altos.h \
870         config/m68k/tm-amix.h config/m68k/tm-delta68.h \
871         config/m68k/tm-dpx2.h config/m68k/tm-es1800.h \
872         config/m68k/tm-hp300bsd.h config/m68k/tm-hp300hpux.h \
873         config/m68k/tm-isi.h config/m68k/tm-m68k-em.h \
874         config/m68k/tm-monitor.h \
875         config/m68k/tm-news.h config/m68k/tm-os68k.h config/m68k/tm-st2000.h \
876         config/m68k/tm-sun2.h config/m68k/tm-sun2os4.h config/m68k/tm-sun3.h \
877         config/m68k/tm-sun3os4.h config/m68k/tm-vx68.h config/m68k/xm-3b1.h \
878         config/m68k/xm-altos.h config/m68k/xm-amix.h \
879         config/m68k/xm-apollo68b.h config/m68k/xm-apollo68v.h \
880         config/m68k/xm-delta68.h config/m68k/xm-dpx2.h \
881         config/m68k/xm-hp300bsd.h config/m68k/xm-hp300hpux.h \
882         config/m68k/xm-isi.h config/m68k/xm-news.h config/m68k/xm-news1000.h \
883         config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
884         config/m88k/nm-m88k.h config/m88k/tm-delta88.h config/m88k/tm-m88k.h \
885         config/m88k/xm-delta88.h config/m88k/xm-m88k.h config/mips/nm-irix3.h \
886         config/mips/nm-irix4.h config/mips/nm-mips.h config/mips/nm-riscos.h \
887         config/mips/nm-news-mips.h config/mips/tm-bigmips.h \
888         config/mips/tm-irix3.h config/mips/tm-mips.h config/mips/tm-mipsm3.h \
889         config/mips/xm-irix3.h \
890         config/mips/xm-irix4.h config/mips/xm-makeva.h config/mips/xm-mips.h \
891         config/mips/xm-mipsm3.h \
892         config/mips/xm-riscos.h config/mips/xm-news-mips.h config/nm-sysv4.h \
893         config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
894         config/ns32k/nm-umax.h \
895         config/ns32k/tm-ns32km3.h \
896         config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
897         config/ns32k/xm-ns32km3.h \
898         config/ns32k/xm-merlin.h config/ns32k/xm-umax.h \
899         config/pa/nm-hppab.h \
900         config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
901         config/pa/xm-hppab.h config/pa/xm-hppah.h config/pa/xm-pa.h \
902         config/pyr/tm-pyr.h \
903         config/pyr/xm-pyr.h config/romp/xm-rtbsd.h config/rs6000/nm-rs6000.h \
904         config/rs6000/tm-rs6000.h config/rs6000/xm-rs6000.h config/sh/tm-sh.h \
905         config/sparc/nm-sun4os4.h config/sparc/tm-sparclite.h \
906         config/sparc/tm-spc-em.h config/sparc/tm-sun4os4.h \
907         config/sparc/tm-sun4sol2.h config/sparc/tm-vxsparc.h \
908         config/sparc/xm-sun4os4.h config/sparc/xm-sun4sol2.h \
909         config/tahoe/tm-tahoe.h config/tahoe/xm-tahoe.h config/vax/nm-vax.h \
910         config/vax/tm-vax.h config/vax/xm-vaxbsd.h config/vax/xm-vaxult.h \
911         config/vax/xm-vaxult2.h config/z8k/tm-z8k.h
912
913 ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
914         config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
915         config/alpha/alpha-osf1.mh config/alpha/alpha-osf1.mt \
916         config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
917         config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
918         config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
919         config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
920         config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
921         config/i386/i386bsd.mt config/i386/i386lynx.mh \
922         config/i386/i386lynx.mt \
923         config/i386/i386mach.mh config/i386/i386nw.mt config/i386/i386sco.mh \
924         config/i386/i386sco4.mh \
925         config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
926         config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
927         config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
928         config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
929         config/i386/sun386.mh \
930         config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
931         config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
932         config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
933         config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
934         config/m68k/apollo68v.mh config/m68k/delta68.mh \
935         config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
936         config/m68k/es1800.mt config/m68k/hp300bsd.mh \
937         config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
938         config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
939         config/m68k/m68k-em.mt \
940         config/m68k/monitor.mt \
941         config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
942         config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
943         config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
944         config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
945         config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
946         config/m88k/delta88.mt config/m88k/m88k.mh config/m88k/m88k.mt \
947         config/mips/bigmips.mt config/mips/decstation.mh \
948         config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
949         config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
950         config/mips/littlemips.mh config/mips/littlemips.mt \
951         config/mips/news-mips.mh config/mips/riscos.mh \
952         config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
953         config/ns32k/merlin.mt config/ns32k/umax.mh config/ns32k/umax.mt \
954         config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
955         config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
956         config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
957         config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
958         config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
959         config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
960         config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
961         config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
962         config/vax/vaxult2.mh config/z8k/z8ksim.mt
963
964
965 udip2soc.o: 29k-share/udi/udip2soc.c $(udiheaders)
966         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
967
968 udr.o: 29k-share/udi/udr.c $(udiheaders) 
969         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
970
971 a29k-pinsn.o: a29k-pinsn.c $(bfd_h) $(dis-asm_h)
972 a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
973 a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
974
975 alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
976
977 alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
978         $(inferior_h) $(symtab_h) $(dis-asm.h)
979
980 altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
981 arm-pinsn.o: arm-pinsn.c $(OP_INCLUDE)/arm.h $(defs_h) $(symtab_h)
982
983 blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
984         objfiles.h symfile.h target.h
985
986 breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
987         $(inferior_h) language.h target.h
988
989 buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
990         objfiles.h symfile.h $(symtab_h)
991
992 c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
993         language.h parser-defs.h $(symtab_h)
994
995 c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
996         $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
997         typeprint.h $(value_h)
998
999 c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1000         language.h $(symtab_h) valprint.h $(value_h)
1001
1002 ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1003         language.h parser-defs.h $(symtab_h)
1004
1005 ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
1006         $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1007         $(value_h)
1008
1009 ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1010         language.h $(symtab_h) valprint.h $(value_h)
1011
1012 coff-solib.o: coff-solib.c $(defs_h)
1013
1014 coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
1015         complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
1016         symfile.h $(symtab_h)
1017
1018 command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1019         $(gdbtypes_h) $(symtab_h) $(value_h)
1020
1021 complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
1022
1023 convex-pinsn.o: convex-pinsn.c $(OP_INCLUDE)/convex.h $(defs_h) \
1024         $(symtab_h)
1025
1026 convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1027         $(gdbcore_h) $(inferior_h)
1028
1029 convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1030         $(inferior_h)
1031
1032 core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \
1033         $(inferior_h) target.h
1034
1035 core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1036         $(inferior_h) target.h
1037
1038 coredep.o: coredep.c $(defs_h) $(gdbcore_h)
1039
1040 corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1041         target.h
1042
1043 cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1044         $(gdbtypes_h) $(symtab_h) $(value_h)
1045
1046 dcache.o: dcache.c $(dcache_h)
1047
1048 dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
1049         complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
1050         $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
1051         symfile.h $(symtab_h) target.h
1052
1053 dcache.o: dcache.c $(dcache_h)
1054
1055 delta68-nat.o: delta68-nat.c $(defs_h)
1056
1057 demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
1058
1059 dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1060         $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1061         $(symtab_h)
1062
1063 elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1064         gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1065
1066 environ.o: environ.c $(defs_h) environ.h
1067
1068 eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1069         $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1070
1071 exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1072         target.h
1073
1074 expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1075         language.h parser-defs.h $(symtab_h) $(value_h)
1076
1077 findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1078
1079 fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
1080         $(inferior_h) target.h terminal.h
1081
1082 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
1083         $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
1084         $(value_h)
1085
1086 go32-xdep.o: go32-xdep.c
1087
1088 gould-pinsn.o: gould-pinsn.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
1089         $(gdbcore_h) $(symtab_h)
1090
1091 gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1092 h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1093
1094 h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
1095         $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
1096         $(value_h)
1097
1098 hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1099 hppa-pinsn.o: hppa-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h) 
1100
1101 hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1102         $(inferior_h) objfiles.h symfile.h target.h
1103
1104 hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1105 hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1106 i386-pinsn.o: i386-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1107 i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1108 i386b-nat.o: i386b-nat.c $(defs_h) 
1109 i386lynx-nat.o: i386lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1110 i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h
1111 i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
1112
1113 i386v-nat.o: i386v-nat.c $(ieee-float_h) $(defs_h) $(gdbcore_h) \
1114         $(inferior_h) language.h target.h
1115
1116 i386v4-nat.o: i386v4-nat.c $(defs_h)
1117
1118 i387-tdep.o: i387-tdep.c $(ieee-float_h) $(defs_h) $(gdbcore_h) \
1119         $(inferior_h) language.h
1120
1121 i960-pinsn.o: i960-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1122
1123 i960-tdep.o: i960-tdep.c $(ieee-float_h) $(defs_h) $(expression_h) \
1124         $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1125
1126 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
1127         $(inferior_h) target.h
1128
1129 inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
1130         signals.h target.h terminal.h
1131
1132 infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1133
1134 infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1135         $(inferior_h) target.h
1136
1137 inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1138         target.h terminal.h
1139
1140 irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h)
1141 isi-xdep.o: isi-xdep.c
1142
1143 language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1144         $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
1145         target.h $(value_h)
1146
1147 m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1148         language.h m2-lang.h parser-defs.h $(symtab_h)
1149
1150 m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1151         $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
1152         $(value_h)
1153
1154 m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
1155         valprint.h
1156
1157 m68k-pinsn.o: m68k-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h) 
1158 m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) 
1159 m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1160 m88k-pinsn.o: m88k-pinsn.c $(defs_h) $(symtab_h) 
1161 m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1162
1163 main.o: main.c $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
1164         $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
1165         $(remote_utils_h)
1166         $(CC) -c $(INTERNAL_CFLAGS) $(READLINE_CFLAGS) $(srcdir)/main.c
1167
1168 maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) 
1169 mem-break.o: mem-break.c $(defs_h) 
1170
1171 minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1172         $(symtab_h)
1173
1174 mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
1175 mips-pinsn.o: mips-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h) 
1176
1177 mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1178         $(inferior_h) language.h objfiles.h symfile.h
1179
1180 mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1181         $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1182         objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1183
1184 news-xdep.o: news-xdep.c
1185
1186 Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
1187         nindy-share/env.h
1188         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
1189
1190 nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
1191         nindy-share/env.h
1192         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
1193
1194 nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1195         gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1196
1197 ttyflush.o: nindy-share/ttyflush.c
1198         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
1199
1200 nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) 
1201
1202 ns32k-pinsn.o: ns32k-pinsn.c $(defs_h) $(gdbcore_h) ns32k-opcode.h \
1203         $(symtab_h)
1204
1205 objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1206         $(symtab_h)
1207
1208 osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1209         objfiles.h regex.h symfile.h target.h language.h
1210
1211 paread.o: paread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1212         gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1213
1214 parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
1215         $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
1216
1217 printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
1218         $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1219         $(symtab_h) target.h
1220
1221 procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1222         target.h
1223
1224 putenv.o: putenv.c
1225
1226 pyr-pinsn.o: pyr-pinsn.c $(OP_INCLUDE)/pyr.h $(defs_h) $(gdbcore_h) \
1227         $(symtab_h)
1228
1229 pyr-tdep.o: pyr-tdep.c $(defs_h) 
1230 pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) 
1231
1232 regex.o: regex.c regex.h
1233
1234 remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
1235         $(inferior_h) target.h terminal.h
1236
1237 remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
1238         $(inferior_h) target.h terminal.h $(remote_utils_h)
1239
1240 remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
1241         $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
1242
1243 remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
1244         $(inferior_h) $(remote_utils_h) terminal.h
1245
1246 remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
1247         $(inferior_h) serial.h target.h terminal.h
1248
1249 remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1250         $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
1251
1252 remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
1253         minimon.h target.h terminal.h
1254
1255 remote-mon.o: remote-mon.c $(wait_h) $(command_h) $(defs_h) \
1256         $(gdbcore_h) monitor.h serial.h target.h
1257
1258 remote-nindy.o: remote-nindy.c $(ieee-float_h) $(wait_h) $(command_h) \
1259         $(defs_h) $(gdbcore_h) $(inferior_h) \
1260         nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
1261         symfile.h
1262
1263 remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
1264         $(inferior_h) target.h terminal.h
1265
1266 remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
1267         target.h
1268
1269 remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1270         $(inferior_h) target.h terminal.h $(udiheaders)
1271
1272 remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1273         $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1274         vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
1275         vx-share/xdr_rdb.h
1276
1277 remote-z8k.o: remote-z8k.c $(wait_h) $(srcdir)/../sim/z8k/sim.h \
1278         $(defs_h) $(gdbcore_h) $(inferior_h) target.h terminal.h
1279
1280 remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1281         $(inferior_h) $(remote_utils_h) 
1282
1283 remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1284         $(inferior_h) $(remote_utils_h) symfile.h terminal.h
1285
1286 rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1287
1288 rs6000-pinsn.o: rs6000-pinsn.c $(OP_INCLUDE)/rs6k.h $(defs_h)
1289
1290 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1291         target.h xcoffsolib.h
1292
1293 ser-go32.o: ser-go32.c $(defs_h) serial.h 
1294 ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h
1295 ser-unix.o: ser-unix.c $(defs_h) serial.h 
1296 serial.o: serial.c $(defs_h) serial.h 
1297
1298 sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
1299         $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
1300         $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1301
1302 solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1303         objfiles.h regex.h symfile.h target.h
1304
1305 source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1306         $(gdbcore_h) language.h objfiles.h regex.h symfile.h $(symtab_h)
1307
1308 sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1309 sparc-pinsn.o: sparc-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1310
1311 sparc-tdep.o: sparc-tdep.c $(ieee-float_h) $(defs_h) $(gdbcore_h) \
1312         $(inferior_h) objfiles.h symfile.h target.h
1313
1314 stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1315         $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
1316         $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h)
1317
1318 stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1319         language.h target.h
1320
1321 sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1322 sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1323
1324 symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
1325         $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
1326         language.h objfiles.h symfile.h $(symtab_h) target.h
1327
1328 symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)   
1329 symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1330
1331 symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
1332         $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1333         $(symtab_h) 
1334
1335 symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
1336         $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1337         regex.h symfile.h $(symtab_h) target.h $(value_h)
1338
1339 tahoe-pinsn.o: tahoe-pinsn.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
1340         $(symtab_h)
1341
1342 target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
1343         objfiles.h symfile.h target.h
1344
1345 thread.o: thread.c $(defs_h) thread.h 
1346
1347 typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1348         $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1349         $(value_h) 
1350
1351 ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1352 ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1353 umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1354
1355 utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
1356         language.h signals.h target.h terminal.h
1357
1358 valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
1359         $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1360
1361 valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1362
1363 valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1364         $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1365         $(value_h)
1366
1367 values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1368         $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h)
1369
1370 vax-pinsn.o: vax-pinsn.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
1371
1372 xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
1373         vx-share/vxWorks.h vx-share/xdr_ld.h
1374         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
1375
1376 xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
1377         vx-share/vxWorks.h vx-share/xdr_ptrace.h
1378         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
1379
1380 xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
1381         vx-share/vxWorks.h vx-share/xdr_rdb.h
1382         $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
1383
1384 xcoffexec.o: xcoffexec.c $(BFD_SRC)/libbfd.h $(defs_h) $(gdbcmd_h) \
1385         $(gdbcore_h) $(inferior_h) objfiles.h symfile.h target.h xcoffsolib.h
1386
1387 xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1388         $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
1389         $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
1390         complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
1391         $(symtab_h)
1392
1393 xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
1394
1395 z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
1396         $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
1397
1398 c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
1399         $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
1400
1401 ch-exp.tab.o: ch-exp.tab.c ch-lang.h $(defs_h) $(expression_h) \
1402         $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
1403
1404 m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1405         language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h)
1406
1407 ### end of the gdb Makefile.in.
This page took 0.093704 seconds and 2 git commands to generate.