Update "make saber_gdb" a bit.
[binutils-gdb.git] / gdb / Makefile
1 M_MAKEFILE=./tconfig/none ./xconfig/none
2 srcdir=.
3 # "no target".
4 # This can be used to build you a Makefile that only runs administrative
5 # commands like 'clean', 'gdb.tar.Z', etc.
6 # Target config file for "no target". This can be used to build you
7 # a Makefile that only runs administrative commands like 'clean',
8 # 'gdb.tar.Z', etc.
9 #
10 # Copyright (C) 1990 Free Software Foundation, Inc.
11
12 # This file is part of GDB.
13
14 # GDB is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 1, or (at your option)
17 # any later version.
18
19 # GDB is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU General Public License for more details.
23
24 # You should have received a copy of the GNU General Public License
25 # along with GDB; see the file COPYING. If not, write to
26 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 ALLDEPFILES = $(ALLDEPFILES_MAINDIR) $(ALLDEPFILES_SUBDIR)
28 ALLDEPFILES_MAINDIR=\
29 altos-xdep.c\
30 am29k-pinsn.c\
31 am29k-tdep.c\
32 arm-convert.s\
33 arm-pinsn.c\
34 arm-tdep.c\
35 arm-xdep.c\
36 convex-pinsn.c\
37 convex-tdep.c\
38 convex-xdep.c\
39 coredep.c\
40 exec.c\
41 gould-pinsn.c\
42 gould-xdep.c\
43 hp300ux-xdep.c\
44 i386-pinsn.c\
45 i386-tdep.c\
46 i386-xdep.c\
47 i960-pinsn.c\
48 i960-tdep.c\
49 infptrace.c\
50 m68k-pinsn.c\
51 m68k-tdep.c\
52 m88k-pinsn.c\
53 m88k-tdep.c\
54 m88k-xdep.c\
55 mips-pinsn.c\
56 mips-tdep.c\
57 mips-xdep.c\
58 mipsread.c\
59 news-xdep.c\
60 nindy-tdep.c\
61 ns32k-pinsn.c\
62 pyr-pinsn.c\
63 pyr-tdep.c\
64 pyr-xdep.c\
65 remote-eb.c\
66 remote-nindy.c\
67 remote-vx.c\
68 solib.c\
69 sparc-pinsn.c\
70 sparc-tdep.c\
71 sparc-xdep.c\
72 sun3-xdep.c\
73 sun386-xdep.c\
74 symm-tdep.c\
75 symm-xdep.c\
76 tdesc.c\
77 umax-xdep.c\
78 vax-pinsn.c
79
80 ALLDEPFILES_SUBDIR=\
81 nindy-share/Onindy.c\
82 nindy-share/nindy.c\
83 nindy-share/ttybreak.c\
84 nindy-share/ttyflush.c\
85 vx-share/xdr_ld.c\
86 vx-share/xdr_ptrace.c\
87 vx-share/xdr_rdb.c\
88 vx-share/xdr_regs.c
89
90 ALLPARAM=\
91 tm-29k.h\
92 tm-3b1.h\
93 tm-88k.h\
94 tm-altos.h\
95 tm-altosgas.h\
96 tm-arm.h\
97 tm-bigmips.h\
98 tm-convex.h\
99 tm-hp300bsd.h\
100 tm-hp300hpux.h\
101 tm-i386v-g.h\
102 tm-i386v.h\
103 tm-isi.h\
104 tm-merlin.h\
105 tm-mips.h\
106 tm-news.h\
107 tm-nindy960.h\
108 tm-np1.h\
109 tm-pn.h\
110 tm-pyr.h\
111 tm-sparc.h\
112 tm-sun2.h\
113 tm-sun2os4.h\
114 tm-sun3.h\
115 tm-sun386.h\
116 tm-sun3os4.h\
117 tm-sun4os4.h\
118 tm-symmetry.h\
119 tm-umax.h\
120 tm-vax.h\
121 tm-vx68.h\
122 tm-vx960.h\
123 xm-3b1.h\
124 xm-88k.h\
125 xm-altos.h\
126 xm-arm.h\
127 xm-bigmips.h\
128 xm-convex.h\
129 xm-hp300bsd.h\
130 xm-hp300hpux.h\
131 xm-i386v.h\
132 xm-i386v32.h\
133 xm-isi.h\
134 xm-merlin.h\
135 xm-mips.h\
136 xm-news.h\
137 xm-news1000.h\
138 xm-np1.h\
139 xm-pn.h\
140 xm-pyr.h\
141 xm-sparc.h\
142 xm-sun2.h\
143 xm-sun3.h\
144 xm-sun386.h\
145 xm-sun3os4.h\
146 xm-sun4os4.h\
147 xm-symmetry.h\
148 xm-umax.h\
149 xm-vax.h
150
151 ALLCONFIG=\
152 ./tconfig/3b1\
153 ./tconfig/CVS.adm\
154 ./tconfig/altos\
155 ./tconfig/altosgas\
156 ./tconfig/am29k\
157 ./tconfig/arm\
158 ./tconfig/bigmips\
159 ./tconfig/convex\
160 ./tconfig/hp300bsd\
161 ./tconfig/hp300hpux\
162 ./tconfig/i386v\
163 ./tconfig/i386v-g\
164 ./tconfig/i386v32\
165 ./tconfig/i386v32-g\
166 ./tconfig/i960\
167 ./tconfig/isi\
168 ./tconfig/littlemips\
169 ./tconfig/m88k\
170 ./tconfig/m88k.orig\
171 ./tconfig/merlin\
172 ./tconfig/news\
173 ./tconfig/news1000\
174 ./tconfig/nindy960\
175 ./tconfig/none\
176 ./tconfig/np1\
177 ./tconfig/pn\
178 ./tconfig/pyramid\
179 ./tconfig/sun2os3\
180 ./tconfig/sun2os4\
181 ./tconfig/sun3\
182 ./tconfig/sun386\
183 ./tconfig/sun3os3\
184 ./tconfig/sun3os4\
185 ./tconfig/sun4\
186 ./tconfig/sun4os3\
187 ./tconfig/sun4os4\
188 ./tconfig/symmetry\
189 ./tconfig/umax\
190 ./tconfig/vax\
191 ./tconfig/vxworks68\
192 ./tconfig/vxworks960\
193 ./xconfig/3b1\
194 ./xconfig/CVS.adm\
195 ./xconfig/altos\
196 ./xconfig/altosgas\
197 ./xconfig/arm\
198 ./xconfig/bigmips\
199 ./xconfig/convex\
200 ./xconfig/hp300bsd\
201 ./xconfig/hp300hpux\
202 ./xconfig/i386v\
203 ./xconfig/i386v-g\
204 ./xconfig/i386v32\
205 ./xconfig/i386v32-g\
206 ./xconfig/isi\
207 ./xconfig/littlemips\
208 ./xconfig/m88k\
209 ./xconfig/m88k.orig\
210 ./xconfig/merlin\
211 ./xconfig/news\
212 ./xconfig/news1000\
213 ./xconfig/none\
214 ./xconfig/np1\
215 ./xconfig/pn\
216 ./xconfig/pyramid\
217 ./xconfig/sun2os3\
218 ./xconfig/sun2os4\
219 ./xconfig/sun3\
220 ./xconfig/sun386\
221 ./xconfig/sun3os3\
222 ./xconfig/sun3os4\
223 ./xconfig/sun4\
224 ./xconfig/sun4os3\
225 ./xconfig/sun4os4\
226 ./xconfig/symmetry\
227 ./xconfig/umax\
228 ./xconfig/vax
229
230 ##Copyright (C) 1989-1991 Free Software Foundation, Inc.
231
232 # This file is part of GDB.
233
234 # GDB is free software; you can redistribute it and/or modify
235 # it under the terms of the GNU General Public License as published by
236 # the Free Software Foundation; either version 1, or (at your option)
237 # any later version.
238
239 # GDB is distributed in the hope that it will be useful,
240 # but WITHOUT ANY WARRANTY; without even the implied warranty of
241 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
242 # GNU General Public License for more details.
243
244 # You should have received a copy of the GNU General Public License
245 # along with GDB; see the file COPYING. If not, write to
246 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
247
248 # Place to install binaries.
249 bindir=/usr/local/bin
250
251 # System V: If you compile gdb with a compiler which uses the coff
252 # encapsulation feature (this is a function of the compiler used, NOT
253 # of the m-?.h file selected by config.gdb), you must make sure that
254 # the GNU nm is the one that is used by munch.
255
256 # If you are compiling with GCC, make sure that either 1) You use the
257 # -traditional flag, or 2) You have the fixed include files where GCC
258 # can reach them. Otherwise the ioctl calls in inflow.c and readline.c
259 # will be incorrectly compiled. The "fixincludes" script in the gcc
260 # distribution will fix your include files up.
261 #CC=cc
262 #CC=gcc -traditional
263 GCC=gcc
264
265 VPATH=$(srcdir)
266
267 # It is also possible that you will need to add -I/usr/include/sys to the
268 # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
269 # is where it should be according to Posix).
270
271 YACC=bison -y
272 # YACC=yacc
273 SHELL=/bin/sh
274 MAKE=make
275
276 # Set this up with gcc if you have gnu ld and the loader will print out
277 # line numbers for undefinded refs.
278 #CC-LD=gcc -static
279 CC-LD=${CC}
280
281 # define this to be "gmalloc.o" if you want to use the gnu malloc routine
282 # (useful for debugging memory allocation problems in gdb). To use your
283 # system malloc, uncomment the following two lines.
284 #GNU_MALLOC =
285 #MALLOC_CFLAGS = -DNO_MALLOC_CHECK
286 GNU_MALLOC = gmalloc.o mcheck.o mtrace.o
287 MALLOC_CFLAGS =
288
289 # Where is the "include" directory? Traditionally ../include or ./include
290 INCLUDE_DIR = ${srcdir}/../include
291 INCLUDE_DEP = $$(INCLUDE_DIR)
292
293 # Where is the source dir for the BFD library? Traditionally ../bfd or ./bfd
294 # (When we want the binary library built from it, we use ${BFD_DIR}${subdir}.)
295 BFD_DIR = ${srcdir}/../bfd
296 BFD_DEP = $$(BFD_DIR)
297
298 # All the includes used for CFLAGS and for lint.
299 # -I. for config files.
300 # -I${srcdir} possibly for regex.h also.
301 INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR) -I${srcdir}/vx-share
302
303 # {X,T}M_CFLAGS, if defined, has system-dependent CFLAGS.
304 # CFLAGS for both GDB and readline.
305 GLOBAL_CFLAGS = -g ${TM_CFLAGS} ${XM_CFLAGS}
306 #PROFILE_CFLAGS = -pg
307
308 CFLAGS = ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} ${MALLOC_CFLAGS} ${INCLUDE_CFLAGS}
309 # None of the things in CFLAGS will do any harm, and on some systems
310 # (e.g. SunOS4) it is important to use the M_CFLAGS.
311 LDFLAGS = $(CFLAGS)
312
313 # Where is the "-liberty" library, containing getopt and obstack?
314 LIBIBERTY_DIR = ${srcdir}/../libiberty
315 LIBIBERTY = ${LIBIBERTY_DIR}${subdir}/libiberty.a
316
317 # Flags that describe where you can find the termcap library.
318 # You may need to make other arrangements for USG.
319 TERMCAP = -ltermcap
320
321 # You must define REGEX and REGEX1 on USG machines.
322 # If your sysyem is missing alloca(), or, more likely, it's there but
323 # it doesn't work, define ALLOCA & ALLOCA1
324
325 # {X,T}M_CLIBS, if defined, has system-dependent libs
326 # For example, -lPW for System V to get alloca().
327 # FIXME STOPGAP FOR BFD LIBRARY: BFD stuff
328 CLIBS = ${TERMCAP} $(XM_CLIBS) ${TM_CLIBS} ${BFD_DIR}${subdir}/libbfd.a \
329 ${LIBIBERTY}
330 CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_DIR}/libbfd.a \
331 ${LIBIBERTY}
332
333 ADD_FILES = ${REGEX} ${ALLOCA} ${GNU_MALLOC}
334 ADD_DEPS = ${REGEX1} ${ALLOCA1} ${GNU_MALLOC}
335
336 VERSION = 3.95
337 DIST=gdb-$(VERSION)
338
339 LINT=/usr/5bin/lint
340 LINTFLAGS=
341
342 # Source files in the main directory.
343 # Files which are included via a tconfig/* or xconfig/* file
344 # should *not* be specified here; they're in "ALLDEPFILES".
345 SFILES_MAINDIR = \
346 blockframe.c breakpoint.c command.c core.c \
347 environ.c eval.c expprint.c findvar.c infcmd.c inflow.c infrun.c \
348 main.c printcmd.c \
349 remote.c source.c stack.c symmisc.c symtab.c symfile.c \
350 utils.c valarith.c valops.c valprint.c values.c expread.y \
351 signame.c cplus-dem.c mem-break.c target.c inftarg.c \
352 dbxread.c coffread.c \
353 ieee-float.c
354
355 # Source files in subdirectories (which will be handled separately by
356 # 'make gdb.tar.Z').
357 # Files which are included via a tconfig/* or xconfig/* file
358 # should *not* be specified here; they're in "ALLDEPFILES".
359 SFILES_SUBDIR = \
360 ${srcdir}/vx-share/dbgRpcLib.h \
361 ${srcdir}/vx-share/ptrace.h \
362 ${srcdir}/vx-share/reg.h \
363 ${srcdir}/vx-share/vxTypes.h \
364 ${srcdir}/vx-share/vxWorks.h \
365 ${srcdir}/vx-share/wait.h \
366 ${srcdir}/vx-share/xdr_ld.h \
367 ${srcdir}/vx-share/xdr_ptrace.h \
368 ${srcdir}/vx-share/xdr_rdb.h \
369 ${srcdir}/vx-share/xdr_regs.h \
370 ${srcdir}/nindy-share/Makefile \
371 ${srcdir}/nindy-share/VERSION \
372 ${srcdir}/nindy-share/b.out.h \
373 ${srcdir}/nindy-share/block_io.h \
374 ${srcdir}/nindy-share/coff.h \
375 ${srcdir}/nindy-share/demux.h \
376 ${srcdir}/nindy-share/env.h \
377 ${srcdir}/nindy-share/stop.h \
378 ${srcdir}/nindy-share/ttycntl.h
379
380 # All source files that go into linking GDB, except config-specified files.
381 SFILES = $(SFILES_MAINDIR) $(SFILES_SUBDIR)
382
383 # All source files that lint should look at
384 LINTFILES = $(SFILES) expread.tab.c init.c
385
386 # Any additional files specified on these lines should also be added to
387 # the OTHERS = definition below, so they go in the tar files.
388 SFILES_STAND = $(SFILES) standalone.c
389 SFILES_KGDB = $(SFILES) stuff.c kdb-start.c
390
391 # Header files that are not named in tconfig/* or xconfig/* go here.
392 HFILES= breakpoint.h command.h defs.h environ.h \
393 expression.h frame.h gdbcmd.h gdbcore.h \
394 getpagesize.h ieee-float.h inferior.h param-no-tm.h param.h \
395 signals.h signame.h symfile.h symtab.h \
396 target.h tdesc.h terminal.h tm-68k.h tm-i960.h tm-sunos.h \
397 value.h
398
399 OPCODES = pn-opcode.h np1-opcode.h sparc-opcode.h vax-opcode.h m68k-opcode.h \
400 ns32k-opcode.h convx-opcode.h pyr-opcode.h mips-opcode.h \
401 am29k-opcode.h
402
403 REMOTE_EXAMPLES = rem-m68k.shar rem-multi.shar
404
405 MALLOCSRC = gmalloc.c mcheck.c mtrace.c mtrace.awk \
406 ansidecl.h stdlib.h gmalloc.h stddef.h
407
408 POSSLIBS_MAINDIR = regex.c regex.h alloca.c $(MALLOCSRC)
409 POSSLIBS = $(POSSLIBS_MAINDIR)
410
411 TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c
412
413 # tdesc-lib cannot be named simply tdesc, because if if it were GNU make
414 # would try to make it from tdesc.c.
415 # tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com
416 OTHERS = Makefile.dist depend alldeps.mak Makefile.sdir \
417 createtags munch config.gdb config.status \
418 ChangeLog ChangeLog-3.x \
419 README TODO TAGS WHATS.NEW \
420 gdb.texinfo gdbint.texinfo gdbrc.tex threecol.tex \
421 .gdbinit COPYING expread.tab.c stab.def \
422 copying.c Projects Convex.notes copying.awk \
423 saber.suppress standalone.c stuff.c kdb-start.c \
424 hp-include # tests
425
426 DEPFILES= ${TDEPFILES} ${XDEPFILES}
427
428 SOURCES=$(SFILES) $(ALLDEPFILES)
429 TAGFILES = $(SOURCES) ${HFILES} ${OPCODES} ${ALLPARAM} ${POSSLIBS}
430 TAGFILES_MAINDIR = $(SFILES_MAINDIR) $(ALLDEPFILES_MAINDIR) \
431 ${HFILES} ${OPCODES} ${ALLPARAM} ${POSSLIBS_MAINDIR}
432 TARFILES = ${TAGFILES_MAINDIR} ${OTHERS} ${REMOTE_EXAMPLES}
433
434 OBS = main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
435 values.o eval.o valops.o valarith.o valprint.o printcmd.o \
436 symtab.o symfile.o symmisc.o infcmd.o infrun.o remote.o \
437 command.o utils.o expread.o expprint.o environ.o version.o \
438 copying.o $(DEPFILES) signame.o cplus-dem.o mem-break.o target.o \
439 inftarg.o ieee-float.o putenv.o \
440 dbxread.o coffread.o # mipsread.o
441
442 RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
443
444 TSOBS = core.o inflow.o
445
446 NTSOBS = standalone.o
447
448 TSSTART = /lib/crt0.o
449
450 NTSSTART = kdb-start.o
451
452 RL_LIB = readline/libreadline.a
453 RL_LIB_DEP = $(RL_LIB)
454
455 # Prevent Sun make from putting in the machine type. Setting
456 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
457 .c.o:
458 ${CC} -c ${CFLAGS} $<
459
460 all: gdb
461
462 install: gdb
463 cp gdb $(bindir)/gdb.new
464 mv $(bindir)/gdb.new $(bindir)/gdb
465 $(M_INSTALL)
466
467 init.c: $(srcdir)/munch $(MUNCH_DEFINE) $(OBS) $(TSOBS)
468 $(srcdir)/munch ${MUNCH_DEFINE} $(OBS) $(TSOBS) > init.c
469
470 gdb: $(OBS) $(TSOBS) ${ADD_DEPS} ${RL_LIB_DEP} ${CDEPS} init.o
471 ${CC-LD} $(LDFLAGS) -o gdb init.o $(OBS) $(TSOBS) $(ADD_FILES) \
472 ${RL_LIB} $(CLIBS)
473
474 saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
475 #setopt load_flags $(CFLAGS) -I$(BFD_DIR) -DHOST_SYS=SUN4_SYS
476 #load ./init.c $(SFILES)
477 #unload ${srcdir}/expread.y ${srcdir}/vx-share/*.h
478 #unload ${srcdir}/nindy-share/[A-Z]*
479 #load ${srcdir}/expread.tab.c readline/libreadline.a
480 #load copying.c version.c
481 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
482 #load ${LIBIBERTY_DIR}/*.c
483 #load ${BFD_DIR}/*.c
484 #load -ltermcap
485 ##void mcheck(a) void (*a)(); { }
486 ##void mtrace() { }
487
488
489
490 # This is useful when debugging GDB, because some Unix's don't let you run GDB
491 # on itself without copying the executable. So "make gdb1" will make
492 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
493 # Removing gdb1 before the copy is the right thing if gdb1 is open
494 # in another process.
495 gdb1: gdb
496 rm -f gdb1
497 cp gdb gdb1
498
499 # This is a remote stub which runs under unix and starts up an
500 # inferior process. This is at least useful for debugging GDB's
501 # remote support.
502 rapp: $(RAPP_OBS)
503 rm -f rapp_init.c
504 ${srcdir}/munch ${RAPP_OBS} > rapp_init.c
505 ${CC-LD} $(LDFLAGS) -o $@ rapp_init.c $(RAPP_OBS)
506
507 Makefiles= Makefile.sdir $(M_MAKEFILE) \
508 ${srcdir}/alldeps.mak ${srcdir}/Makefile.dist
509
510 MAKE_MAKEFILE= echo "M_MAKEFILE=$(M_MAKEFILE)" | \
511 cat - ${Makefiles} ${srcdir}/depend >Makefile
512
513 Makefile: $(Makefiles)
514 $(MAKE_MAKEFILE)
515
516 alldeps.mak: ${srcdir}/tconfig ${srcdir}/xconfig
517 rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp
518 for i in `ls -d ${srcdir}/tconfig/*[0-9A-Za-z] \
519 ${srcdir}/xconfig/*[0-9A-Za-z] | grep -v RCS` ; do \
520 echo $$i >>allconfig.tmp; \
521 awk <$$i ' \
522 $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \
523 for (i = 2; i <= NF; i++) \
524 print $$i >> "alldeps.tmp" ; \
525 } \
526 $$1 == "TM_FILE=" || $$1 == "XM_FILE=" { \
527 print $$2 >> "allparam.tmp" }' ; \
528 done
529 sort <alldeps.tmp | uniq | \
530 sed -e 's/arm-convert.o/arm-convert.s/' \
531 -e 's!^Onindy.o!nindy-share/Onindy.c!' \
532 -e 's!^nindy.o!nindy-share/nindy.c!' \
533 -e 's!ttybreak.o!nindy-share/ttybreak.c!' \
534 -e 's!ttyflush.o!nindy-share/ttyflush.c!' \
535 -e 's!xdr_ld.o!vx-share/xdr_ld.c!' \
536 -e 's!xdr_ptrace.o!vx-share/xdr_ptrace.c!' \
537 -e 's!xdr_rdb.o!vx-share/xdr_rdb.c!' \
538 -e 's!xdr_regs.o!vx-share/xdr_regs.c!' \
539 -e 's/\.o/.c/' \
540 >alldeps2.tmp
541 echo 'ALLDEPFILES = $$(ALLDEPFILES_MAINDIR) $$(ALLDEPFILES_SUBDIR)' \
542 >>alldeps.mak;
543 grep -v / alldeps2.tmp | \
544 awk 'BEGIN {printf "ALLDEPFILES_MAINDIR="} \
545 NR == 0 {printf $$0;} \
546 NR != 0 {printf "\\\n" $$0} \
547 END {printf "\n\n"}' >>alldeps.mak;
548 grep / alldeps2.tmp | \
549 awk 'BEGIN {printf "ALLDEPFILES_SUBDIR="} \
550 NR == 0 {printf $$0;} \
551 NR != 0 {printf "\\\n" $$0} \
552 END {printf "\n\n"}' >>alldeps.mak;
553 sort <allparam.tmp | uniq | awk 'BEGIN {printf "ALLPARAM="} \
554 NR == 0 {printf $$0;} \
555 NR != 0 {printf "\\\n" $$0} \
556 END {printf "\n\n"}' >>alldeps.mak;
557 sort <allconfig.tmp | uniq | awk 'BEGIN {printf "ALLCONFIG="} \
558 NR == 0 {printf $$0;} \
559 NR != 0 {printf "\\\n" $$0} \
560 END {printf "\n\n"}' >>alldeps.mak;
561 rm -f alldeps.tmp alldeps2.tmp allparam.tmp allconfig.tmp
562
563 # The sed script makes everything which depends on {x,t}m.h depend on
564 # config.status as well, in case someone reconfigures gdb out from
565 # under an already compiled gdb.
566 depend: $(SOURCES) Makefile.dist
567 @echo Ignore errors about non-existent system-supplied include files
568 @echo for systems other than the one you are using.
569 @echo "If xm.h and tm.h don't exist, the error messages saying so"
570 @echo can safely be ignored.
571 @echo Also ignore parse errors in valops.c, and any errors in
572 @echo arm-convert.s.
573 -$(GCC) -MM $(CFLAGS) -I$(BFD_DIR) \
574 `ls $(SOURCES) | sort -u` >depend.tmp
575 <depend.tmp sed -e 's/ [xt]m.h/& config.status/g' \
576 -e 's; vx-share/; $${srcdir}/vx-share/;g' \
577 -e 's; nindy-share/; $${srcdir}/nindy-share/;g' \
578 -e 's; $(INCLUDE_DIR)/; $(INCLUDE_DEP)/;g' \
579 -e 's; [a-z0-9./]*bfd/; $(BFD_DEP)/;g' \
580 -e 's; \./; $${srcdir}/;g' \
581 >depend
582 $(MAKE_MAKEFILE)
583 rm depend.tmp
584
585 config.status:
586 @echo "You must configure gdb. Look at the README file for details."
587 @false
588
589 # These are not generated by "make depend" because they only are there
590 # for some machines.
591 # But these rules don't do what we want; we want to hack the foo.o: tm.h
592 # dependency to do the right thing.
593 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h : tm-68k.h
594 tm-hp300hpux.h tm-sun2.h tm-3b1.h : tm-68k.h
595 xm-news1000.h : xm-news.h
596 xm-i386-sv32.h : xm-i386.h
597 tm-i386gas.h: tm-i386.h
598 xm-sun4os4.h : xm-sparc.h
599 tm-sun4os4.h : tm-sparc.h
600
601 kdb : $(NTSSTART) $(OBS) $(NTSOBS) ${ADD_DEPS} ${RL_LIB_DEP}
602 rm -f init.c
603 $(srcdir)/munch ${MUNCH_DEFINE} $(OBS) $(NTSOBS) > init.c
604 $(CC) $(LDFLAGS) -c init.c $(CLIBS)
605 ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
606 ${RL_LIB} -lc $(CLIBS)
607
608 # Put the proper machine-specific files first.
609 # createtags will edit the .o in DEPFILES into .c
610 TAGS: ${TAGFILES}
611 $(srcdir)/createtags $(TM_FILE) ${XM_FILE} $(DEPFILES) ${TAGFILES}
612 tags: TAGS
613
614 # FIXME: Get alldeps.mak up to date, config.gdb none, THEN make gdb.tar.Z!
615 gdb.tar.Z: ${TARFILES}
616 rm -f gdb.tar; rm -rf $(DIST)
617 cd readline ; make readline.tar
618 mkdir $(DIST)
619 cd $(DIST) ; for i in ${TARFILES} ; do ln -s ../$$i . ; done
620 mkdir $(DIST)/readline
621 cd $(DIST)/readline ; tar xf ../../readline/readline.tar
622 mkdir $(DIST)/xconfig ${DIST}/tconfig
623 cd $(DIST)/tconfig ; \
624 for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done
625 mkdir $(DIST)/vx-share $(DIST)/nindy-share
626 cd $(DIST)/tconfig ; \
627 for i in $(SFILES_SUBDIR) $(ALLDEPFILES_SUBDIR); \
628 do ln -s ../../$$i ../$$i ; done
629 tar chf - $(DIST) | compress >gdb.tar.Z
630 rm -rf $(DIST)
631
632 clean:
633 rm -f ${OBS} ${TSOBS} ${NTSOBS} ${ADD_FILES}
634 rm -f init.c init.o version.c
635 rm -f gdb core gdb.tar gdb.tar.Z make.log
636 rm -f gdb[0-9]
637 cd readline ; make clean
638
639 distclean: clean expread.tab.c TAGS
640 rm -f tm.h xm.h config.status
641 rm -f y.output yacc.acts yacc.tmp
642 rm -f ${TESTS} Makefile
643
644 realclean: clean
645 rm -f expread.tab.c TAGS
646 rm -f tm.h xm.h config.status
647 rm -f Makefile
648
649 gdb.dvi : gdb.texinfo
650 tex gdb.texinfo
651 texindex gdb.??
652 tex gdb.texinfo
653
654 # Make copying.c from COPYING
655 copying.c : COPYING copying.awk
656 awk -f copying.awk < COPYING > copying.c
657
658 version.c : Makefile.dist
659 echo 'char *version = "$(VERSION)";' >version.c
660
661 ${srcdir}/expread.tab.c : $(srcdir)/expread.y
662 @echo 'Expect 4 shift/reduce conflict.'
663 ${YACC} $(srcdir)/expread.y
664 mv y.tab.c ${srcdir}/expread.tab.c
665
666 expread.o : ${srcdir}/expread.tab.c defs.h param.h symtab.h \
667 frame.h expression.h
668 $(CC) -c ${CFLAGS} `echo ${srcdir}/expread.tab.c | sed 's,^\./,,'`
669 mv expread.tab.o expread.o
670
671 # dbxread, coffread, mipsread have dependencies on BFD header files.
672 dbxread.o: ${srcdir}/dbxread.c
673 ${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/dbxread.c
674
675 coffread.o: ${srcdir}/coffread.c
676 ${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/coffread.c
677
678 mipsread.o: ${srcdir}/mipsread.c
679 ${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/mipsread.c
680
681 # Drag in the files that are in another directory.
682
683 xdr_ld.o: ${srcdir}/vx-share/xdr_ld.c
684 ${CC} -c ${CFLAGS} ${srcdir}/vx-share/xdr_ld.c
685
686 xdr_ptrace.o: ${srcdir}/vx-share/xdr_ptrace.c
687 ${CC} -c ${CFLAGS} ${srcdir}/vx-share/xdr_ptrace.c
688
689 xdr_rdb.o: ${srcdir}/vx-share/xdr_rdb.c
690 ${CC} -c ${CFLAGS} ${srcdir}/vx-share/xdr_rdb.c
691
692 xdr_regs.o: ${srcdir}/vx-share/xdr_regs.c
693 ${CC} -c ${CFLAGS} ${srcdir}/vx-share/xdr_regs.c
694
695 nindy.o: ${srcdir}/nindy-share/nindy.c
696 ${CC} -c ${CFLAGS} ${srcdir}/nindy-share/nindy.c
697
698 Onindy.o: ${srcdir}/nindy-share/Onindy.c
699 ${CC} -c ${CFLAGS} ${srcdir}/nindy-share/Onindy.c
700
701 ttybreak.o: ${srcdir}/nindy-share/ttybreak.c
702 ${CC} -c ${CFLAGS} ${srcdir}/nindy-share/ttybreak.c
703
704 ttyflush.o: ${srcdir}/nindy-share/ttyflush.c
705 ${CC} -c ${CFLAGS} ${srcdir}/nindy-share/ttyflush.c
706
707 tdesc-lib/libdc.o : force_update
708 cd tdesc-lib ; ${MAKE} "SYSV_DEFINE=${SYSV_DEFINE}"
709
710 # In LOCAL_INCLUDES, -I${srcdir} is right if srcdir is an absolute path,
711 # and -I../${srcdir} is right if it is relative (e.g. ".."), so search both.
712 readline/libreadline.a : force_update
713 cd readline ; ${MAKE} "SYSV=${SYSV_DEFINE}"\
714 "VPATH=${srcdir}/readline:../${srcdir}/readline"\
715 "LOCAL_INCLUDES=-I../ -I${srcdir}/ -I../${srcdir}/"\
716 "DEBUG_FLAGS=${GLOBAL_CFLAGS}" "CC=${CC}" libreadline.a
717
718 lint: $(LINTFILES)
719 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES)
720
721 gdb.cxref: $(SFILES)
722 cxref -I. $(SFILES) >gdb.cxref
723
724 force_update :
725
726 # When used with GDB, the demangler should never look for leading
727 # underscores because GDB strips them off during symbol read-in. Thus
728 # -Dnounderscore.
729
730 cplus-dem.o : cplus-dem.c
731 ${CC} -c ${CFLAGS} -Dnounderscore \
732 `echo ${srcdir}/cplus-dem.c | sed 's,^\./,,'`
733 altos-xdep.o : altos-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
734 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
735 $(INCLUDE_DIR)/ansidecl.h
736 am29k-pinsn.o : am29k-pinsn.c defs.h target.h am29k-opcode.h
737 am29k-tdep.o : am29k-tdep.c defs.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
738 $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h frame.h param.h tm.h config.status \
739 param-no-tm.h xm.h config.status value.h symtab.h inferior.h breakpoint.h
740 arm-pinsn.o : arm-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
741 arm-opcode.h
742 arm-tdep.o : arm-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
743 inferior.h breakpoint.h value.h symtab.h arm-opcode.h gdbcore.h \
744 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
745 arm-xdep.o : arm-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
746 inferior.h breakpoint.h value.h symtab.h arm-opcode.h gdbcore.h \
747 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
748 blockframe.o : blockframe.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
749 frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h value.h \
750 target.h
751 breakpoint.o : breakpoint.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
752 frame.h breakpoint.h value.h expression.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
753 $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h inferior.h target.h
754 coffread.o : coffread.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
755 breakpoint.h value.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h symfile.h \
756 $(BFD_DIR)/libcoff.h
757 command.o : command.c defs.h command.h symtab.h value.h
758 convex-pinsn.o : convex-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
759 symtab.h convx-opcode.h
760 convex-tdep.o : convex-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
761 command.h symtab.h value.h frame.h inferior.h breakpoint.h \
762 $(INCLUDE_DIR)/wait.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \
763 gdbcmd.h
764 convex-xdep.o : convex-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
765 command.h symtab.h value.h frame.h inferior.h breakpoint.h \
766 $(INCLUDE_DIR)/wait.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \
767 gdbcmd.h
768 core.o : core.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h inferior.h \
769 breakpoint.h value.h symtab.h command.h $(INCLUDE_DIR)/bfd.h \
770 $(INCLUDE_DIR)/ansidecl.h target.h gdbcore.h
771 coredep.o : coredep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status gdbcore.h \
772 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h
773 cplus-dem.o : cplus-dem.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status
774 dbxread.o : dbxread.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
775 $(INCLUDE_DIR)/a.out.gnu.h $(INCLUDE_DIR)/reloc.h $(INCLUDE_DIR)/stab.gnu.h \
776 $(INCLUDE_DIR)/stab.def symtab.h breakpoint.h value.h command.h target.h \
777 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h $(BFD_DIR)/liba.out.h \
778 symfile.h
779 environ.o : environ.c environ.h defs.h
780 eval.o : eval.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \
781 expression.h target.h frame.h
782 exec.o : exec.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h inferior.h \
783 breakpoint.h value.h symtab.h target.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
784 $(INCLUDE_DIR)/ansidecl.h
785 expprint.o : expprint.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
786 expression.h value.h
787 findvar.o : findvar.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
788 frame.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \
789 inferior.h breakpoint.h target.h
790 gould-pinsn.o : gould-pinsn.c gdbcore.h $(INCLUDE_DIR)/bfd.h \
791 $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h defs.h param.h tm.h config.status \
792 param-no-tm.h xm.h config.status symtab.h frame.h np1-opcode.h
793 gould-xdep.o : gould-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
794 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
795 $(INCLUDE_DIR)/ansidecl.h
796 hp300ux-xdep.o : hp300ux-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
797 frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \
798 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
799 i386-pinsn.o : i386-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
800 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h
801 i386-tdep.o : i386-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
802 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
803 $(INCLUDE_DIR)/ansidecl.h
804 i386-xdep.o : i386-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
805 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
806 $(INCLUDE_DIR)/ansidecl.h
807 i960-pinsn.o : i960-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
808 inferior.h breakpoint.h value.h symtab.h
809 i960-tdep.o : i960-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
810 value.h frame.h signame.h ieee-float.h
811 ieee-float.o : ieee-float.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
812 ieee-float.h
813 infcmd.o : infcmd.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \
814 inferior.h breakpoint.h value.h environ.h gdbcmd.h command.h gdbcore.h \
815 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h target.h
816 inflow.o : inflow.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
817 inferior.h breakpoint.h value.h symtab.h command.h signals.h terminal.h \
818 target.h
819 infptrace.o : infptrace.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
820 inferior.h breakpoint.h value.h symtab.h target.h gdbcore.h \
821 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
822 infrun.o : infrun.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \
823 inferior.h breakpoint.h value.h $(INCLUDE_DIR)/wait.h gdbcore.h \
824 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h signame.h command.h terminal.h \
825 target.h
826 inftarg.o : inftarg.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
827 inferior.h breakpoint.h value.h symtab.h target.h $(INCLUDE_DIR)/wait.h \
828 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h ieee-float.h
829 m68k-pinsn.o : m68k-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
830 m68k-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
831 m68k-tdep.o : m68k-tdep.c defs.h ieee-float.h
832 main.o : main.c defs.h gdbcmd.h command.h param.h tm.h config.status param-no-tm.h xm.h config.status \
833 symtab.h inferior.h breakpoint.h value.h frame.h signals.h target.h
834 mem-break.o : mem-break.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status
835 mips-pinsn.o : mips-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
836 mips-opcode.h
837 mips-tdep.o : mips-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
838 inferior.h breakpoint.h value.h symtab.h gdbcmd.h command.h gdbcore.h \
839 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
840 mips-xdep.o : mips-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
841 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
842 $(INCLUDE_DIR)/ansidecl.h
843 mipsread.o : mipsread.c param.h tm.h config.status param-no-tm.h xm.h config.status \
844 $(INCLUDE_DIR)/obstack.h defs.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
845 $(INCLUDE_DIR)/ansidecl.h symfile.h $(INCLUDE_DIR)/intel-coff.h
846 news-xdep.o : news-xdep.c
847 Onindy.o : ${srcdir}/nindy-share/Onindy.c ${srcdir}/nindy-share/ttycntl.h \
848 ${srcdir}/nindy-share/block_io.h $(INCLUDE_DIR)/wait.h ${srcdir}/nindy-share/env.h \
849 /usr/include/string.h
850 nindy.o : ${srcdir}/nindy-share/nindy.c ${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/block_io.h \
851 $(INCLUDE_DIR)/wait.h ${srcdir}/nindy-share/env.h /usr/include/string.h
852 ttybreak.o : ${srcdir}/nindy-share/ttybreak.c ${srcdir}/nindy-share/ttycntl.h
853 ttyflush.o : ${srcdir}/nindy-share/ttyflush.c ${srcdir}/nindy-share/ttycntl.h
854 nindy-tdep.o : nindy-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
855 frame.h
856 ns32k-pinsn.o : ns32k-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
857 symtab.h ns32k-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
858 $(INCLUDE_DIR)/ansidecl.h
859 printcmd.o : printcmd.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
860 symtab.h value.h expression.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
861 $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h target.h
862 pyr-pinsn.o : pyr-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
863 pyr-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
864 pyr-tdep.o : pyr-tdep.c
865 pyr-xdep.o : pyr-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
866 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
867 $(INCLUDE_DIR)/ansidecl.h
868 remote-eb.o : remote-eb.c defs.h tm-29k.h param-no-tm.h xm.h config.status inferior.h \
869 breakpoint.h value.h symtab.h frame.h param.h $(INCLUDE_DIR)/wait.h \
870 terminal.h target.h
871 remote-nindy.o : remote-nindy.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
872 frame.h inferior.h breakpoint.h value.h symtab.h target.h gdbcore.h \
873 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h ieee-float.h \
874 $(INCLUDE_DIR)/wait.h ${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/demux.h \
875 ${srcdir}/nindy-share/env.h ${srcdir}/nindy-share/stop.h
876 remote-vx.o : remote-vx.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
877 inferior.h breakpoint.h value.h symtab.h $(INCLUDE_DIR)/wait.h target.h \
878 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h symfile.h \
879 ${srcdir}/vx-share/xdr_ptrace.h ${srcdir}/vx-share/xdr_regs.h ${srcdir}/vx-share/reg.h \
880 ${srcdir}/vx-share/xdr_ld.h ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h
881 remote.o : remote.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
882 inferior.h breakpoint.h value.h symtab.h target.h $(INCLUDE_DIR)/wait.h \
883 terminal.h
884 signame.o : signame.c signame.h defs.h param.h tm.h config.status param-no-tm.h xm.h config.status
885 solib.o : solib.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h gdbcore.h \
886 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h target.h frame.h
887 source.o : source.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
888 command.h gdbcmd.h frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
889 $(INCLUDE_DIR)/ansidecl.h regex.h
890 sparc-pinsn.o : sparc-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
891 symtab.h sparc-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
892 $(INCLUDE_DIR)/ansidecl.h /usr/include/string.h target.h
893 sparc-tdep.o : sparc-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
894 inferior.h breakpoint.h value.h symtab.h signame.h target.h ieee-float.h \
895 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
896 sparc-xdep.o : sparc-xdep.c defs.h tm-sparc.h param-no-tm.h xm.h config.status inferior.h \
897 breakpoint.h value.h symtab.h frame.h param.h target.h gdbcore.h \
898 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h
899 stack.o : stack.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \
900 gdbcmd.h command.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
901 $(INCLUDE_DIR)/ansidecl.h target.h breakpoint.h
902 sun3-xdep.o : sun3-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status inferior.h \
903 breakpoint.h value.h symtab.h frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
904 $(INCLUDE_DIR)/ansidecl.h
905 sun386-xdep.o : sun386-xdep.c
906 symfile.o : symfile.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
907 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h frame.h target.h \
908 value.h symfile.h gdbcmd.h command.h breakpoint.h
909 symm-tdep.o : symm-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
910 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
911 $(INCLUDE_DIR)/ansidecl.h
912 symm-xdep.o : symm-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
913 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
914 $(INCLUDE_DIR)/ansidecl.h
915 symmisc.o : symmisc.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
916 breakpoint.h value.h command.h
917 symtab.o : symtab.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
918 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h frame.h target.h \
919 value.h symfile.h gdbcmd.h command.h
920 target.o : target.c defs.h target.h gdbcmd.h command.h symtab.h inferior.h \
921 breakpoint.h value.h frame.h param.h tm.h config.status param-no-tm.h xm.h config.status \
922 $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h symfile.h
923 tdesc.o : tdesc.c
924 umax-xdep.o : umax-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
925 inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
926 $(INCLUDE_DIR)/ansidecl.h
927 utils.o : utils.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status signals.h gdbcmd.h \
928 command.h terminal.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \
929 $(INCLUDE_DIR)/obstack.h target.h
930 valarith.o : valarith.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status value.h \
931 symtab.h expression.h target.h
932 valops.o : valops.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \
933 frame.h inferior.h breakpoint.h gdbcore.h $(INCLUDE_DIR)/bfd.h \
934 $(INCLUDE_DIR)/ansidecl.h target.h
935 valprint.o : valprint.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
936 value.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h gdbcmd.h \
937 command.h target.h
938 values.o : values.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \
939 gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h frame.h command.h \
940 gdbcmd.h
941 vax-pinsn.o : vax-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
942 vax-opcode.h
943 xdr_ld.o : ${srcdir}/vx-share/xdr_ld.c ${srcdir}/vx-share/vxWorks.h ${srcdir}/vx-share/vxTypes.h \
944 /usr/include/rpc/rpc.h ${srcdir}/vx-share/xdr_ld.h
945 xdr_ptrace.o : ${srcdir}/vx-share/xdr_ptrace.c
946 xdr_rdb.o : ${srcdir}/vx-share/xdr_rdb.c ${srcdir}/vx-share/vxWorks.h ${srcdir}/vx-share/vxTypes.h \
947 ${srcdir}/vx-share/xdr_rdb.h
948 xdr_regs.o : ${srcdir}/vx-share/xdr_regs.c