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