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