1 M_MAKEFILE
=.
/tconfig
/none .
/xconfig
/none
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',
10 # Copyright (C) 1990 Free Software Foundation, Inc.
12 # This file is part of GDB.
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)
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.
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
)
83 nindy-share
/ttybreak.c\
84 nindy-share
/ttyflush.c\
86 vx-share
/xdr_ptrace.c\
168 .
/tconfig
/littlemips\
192 .
/tconfig
/vxworks960\
207 .
/xconfig
/littlemips\
230 ##Copyright (C) 1989-1991 Free Software Foundation, Inc.
232 # This file is part of GDB.
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)
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.
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.
248 # Place to install binaries.
249 bindir=/usr
/local
/bin
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.
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.
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).
276 # Set this up with gcc if you have gnu ld and the loader will print out
277 # line numbers for undefinded refs.
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.
285 #MALLOC_CFLAGS = -DNO_MALLOC_CHECK
286 GNU_MALLOC
= gmalloc.o mcheck.o mtrace.o
289 # Where is the "include" directory? Traditionally ../include or ./include
290 INCLUDE_DIR
= ${srcdir}/..
/include
291 INCLUDE_DEP
= $$(INCLUDE_DIR
)
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
)
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
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
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.
313 # Where is the "-liberty" library, containing getopt and obstack?
314 LIBIBERTY
= ${srcdir}/..
/libiberty
${subdir}/libiberty.a
316 # Flags that describe where you can find the termcap library.
317 # You may need to make other arrangements for USG.
320 # You must define REGEX and REGEX1 on USG machines.
321 # If your sysyem is missing alloca(), or, more likely, it's there but
322 # it doesn't work, define ALLOCA & ALLOCA1
324 # {X,T}M_CLIBS, if defined, has system-dependent libs
325 # For example, -lPW for System V to get alloca().
326 # FIXME STOPGAP FOR BFD LIBRARY: BFD stuff
327 CLIBS
= ${TERMCAP} $(XM_CLIBS
) ${TM_CLIBS} ${BFD_DIR}${subdir}/libbfd.a \
329 CDEPS
= ${XM_CDEPS} ${TM_CDEPS} ${BFD_DIR}/libbfd.a \
332 ADD_FILES
= ${REGEX} ${ALLOCA} ${GNU_MALLOC}
333 ADD_DEPS
= ${REGEX1} ${ALLOCA1} ${GNU_MALLOC}
341 # Source files in the main directory.
342 # Files which are included via a tconfig/* or xconfig/* file
343 # should *not* be specified here; they're in "ALLDEPFILES".
345 blockframe.c breakpoint.c command.c core.c \
346 environ.c eval.c expprint.c findvar.c infcmd.c inflow.c infrun.c \
348 remote.c source.c stack.c symmisc.c symtab.c symfile.c \
349 utils.c valarith.c valops.c valprint.c values.c expread.y \
350 signame.c cplus-dem.c mem-break.c target.c inftarg.c \
351 dbxread.c coffread.c \
354 # Source files in subdirectories (which will be handled separately by
356 # Files which are included via a tconfig/* or xconfig/* file
357 # should *not* be specified here; they're in "ALLDEPFILES".
359 ${srcdir}/vx-share
/dbgRpcLib.h \
360 ${srcdir}/vx-share
/ptrace.h \
361 ${srcdir}/vx-share
/reg.h \
362 ${srcdir}/vx-share
/vxTypes.h \
363 ${srcdir}/vx-share
/vxWorks.h \
364 ${srcdir}/vx-share
/wait.h \
365 ${srcdir}/vx-share
/xdr_ld.h \
366 ${srcdir}/vx-share
/xdr_ptrace.h \
367 ${srcdir}/vx-share
/xdr_rdb.h \
368 ${srcdir}/vx-share
/xdr_regs.h \
369 ${srcdir}/nindy-share
/Makefile \
370 ${srcdir}/nindy-share
/VERSION \
371 ${srcdir}/nindy-share
/b.out.h \
372 ${srcdir}/nindy-share
/block_io.h \
373 ${srcdir}/nindy-share
/coff.h \
374 ${srcdir}/nindy-share
/demux.h \
375 ${srcdir}/nindy-share
/env.h \
376 ${srcdir}/nindy-share
/stop.h \
377 ${srcdir}/nindy-share
/ttycntl.h
379 # All source files that go into linking GDB, except config-specified files.
380 SFILES
= $(SFILES_MAINDIR
) $(SFILES_SUBDIR
)
382 # All source files that lint should look at
383 LINTFILES
= $(SFILES
) expread.tab.c init.c
385 # Any additional files specified on these lines should also be added to
386 # the OTHERS = definition below, so they go in the tar files.
387 SFILES_STAND
= $(SFILES
) standalone.c
388 SFILES_KGDB
= $(SFILES
) stuff.c kdb-start.c
390 # Header files that are not named in tconfig/* or xconfig/* go here.
391 HFILES
= breakpoint.h command.h defs.h environ.h \
392 expression.h frame.h gdbcmd.h gdbcore.h \
393 getpagesize.h ieee-float.h inferior.h param-no-tm.h param.h \
394 signals.h signame.h symfile.h symtab.h \
395 target.h tdesc.h terminal.h tm-68k.h tm-i960.h tm-sunos.h \
398 OPCODES
= pn-opcode.h np1-opcode.h sparc-opcode.h vax-opcode.h m68k-opcode.h \
399 ns32k-opcode.h convx-opcode.h pyr-opcode.h mips-opcode.h \
402 REMOTE_EXAMPLES
= rem-m68k.
shar rem-multi.
shar
404 MALLOCSRC
= gmalloc.c mcheck.c mtrace.c mtrace.awk \
405 ansidecl.h stdlib.h gmalloc.h stddef.h
407 POSSLIBS_MAINDIR
= regex.c regex.h alloca.c
$(MALLOCSRC
)
408 POSSLIBS
= $(POSSLIBS_MAINDIR
)
410 TESTS
= testbpt.c testfun.c testrec.c testreg.c testregs.c
412 # tdesc-lib cannot be named simply tdesc, because if if it were GNU make
413 # would try to make it from tdesc.c.
414 # tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com
415 OTHERS
= Makefile.
dist depend alldeps.mak Makefile.sdir \
416 createtags munch config.gdb config.status \
417 ChangeLog ChangeLog-3.x \
418 README TODO TAGS WHATS.NEW \
419 gdb.texinfo gdbint.texinfo gdbrc.
tex threecol.
tex \
420 .gdbinit COPYING expread.tab.c stab.def \
421 copying.c Projects Convex.notes copying.awk \
422 saber.suppress standalone.c stuff.c kdb-start.c \
425 DEPFILES
= ${TDEPFILES} ${XDEPFILES}
427 SOURCES
=$(SFILES
) $(ALLDEPFILES
)
428 TAGFILES
= $(SOURCES
) ${HFILES} ${OPCODES} ${ALLPARAM} ${POSSLIBS}
429 TAGFILES_MAINDIR
= $(SFILES_MAINDIR
) $(ALLDEPFILES_MAINDIR
) \
430 ${HFILES} ${OPCODES} ${ALLPARAM} ${POSSLIBS_MAINDIR}
431 TARFILES
= ${TAGFILES_MAINDIR} ${OTHERS} ${REMOTE_EXAMPLES}
433 OBS
= main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
434 values.o eval.o valops.o valarith.o valprint.o printcmd.o \
435 symtab.o symfile.o symmisc.o infcmd.o infrun.o remote.o \
436 command.o utils.o expread.o expprint.o environ.o version.o \
437 copying.o
$(DEPFILES
) signame.o cplus-dem.o mem-break.o target.o \
438 inftarg.o ieee-float.o putenv.o \
439 dbxread.o coffread.o
# mipsread.o
441 RAPP_OBS
= rgdb.o rudp.o rserial.o serial.o udp.o
$(XDEPFILES
)
443 TSOBS
= core.o inflow.o
445 NTSOBS
= standalone.o
447 TSSTART
= /lib
/crt0.o
449 NTSSTART
= kdb-start.o
451 RL_LIB
= readline
/libreadline.a
452 RL_LIB_DEP
= $(RL_LIB
)
454 # Prevent Sun make from putting in the machine type. Setting
455 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
457 ${CC} -c
${CFLAGS} $<
462 cp gdb
$(bindir)/gdb.new
463 mv
$(bindir)/gdb.new
$(bindir)/gdb
466 init.c
: $(srcdir)/munch
$(MUNCH_DEFINE
) $(OBS
) $(TSOBS
)
467 $(srcdir)/munch
${MUNCH_DEFINE} $(OBS
) $(TSOBS
) > init.c
469 gdb
: $(OBS
) $(TSOBS
) ${ADD_DEPS} ${RL_LIB_DEP} ${CDEPS} init.o
470 ${CC-LD
} $(LDFLAGS
) -o gdb init.o
$(OBS
) $(TSOBS
) $(ADD_FILES
) \
473 saber_gdb
: $(SFILES
) $(DEPFILES
) copying.c version.c
474 #setopt load_flags $(CFLAGS) -I$(BFD_DIR)
475 #load ./init.c $(SFILES)
476 #unload ${srcdir}/expread.y
477 #load ${srcdir}/expread.tab.c readline/libreadline.a
478 #load copying.c version.c
479 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
480 #load ${LIBIBERTY}/*.c
483 ##void mcheck(a) void (*a)(); { }
484 ##void mtrace(a) void (*a)(); { }
488 # This is useful when debugging GDB, because some Unix's don't let you run GDB
489 # on itself without copying the executable. So "make gdb1" will make
490 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
491 # Removing gdb1 before the copy is the right thing if gdb1 is open
492 # in another process.
497 # This is a remote stub which runs under unix and starts up an
498 # inferior process. This is at least useful for debugging GDB's
502 ${srcdir}/munch
${RAPP_OBS} > rapp_init.c
503 ${CC-LD
} $(LDFLAGS
) -o
$@ rapp_init.c
$(RAPP_OBS
)
505 Makefiles
= Makefile.sdir
$(M_MAKEFILE
) \
506 ${srcdir}/alldeps.mak
${srcdir}/Makefile.
dist
508 MAKE_MAKEFILE
= echo
"M_MAKEFILE=$(M_MAKEFILE)" | \
509 cat
- ${Makefiles} ${srcdir}/depend
>Makefile
511 Makefile
: $(Makefiles
)
514 alldeps.mak
: ${srcdir}/tconfig
${srcdir}/xconfig
515 rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp
516 for i in
`ls -d ${srcdir}/tconfig/*[0-9A-Za-z] \
517 ${srcdir}/xconfig/*[0-9A-Za-z] | grep -v RCS` ; do \
518 echo
$$i >>allconfig.tmp
; \
520 $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \
521 for (i = 2; i <= NF; i++) \
522 print $$i >> "alldeps.tmp" ; \
524 $$1 == "TM_FILE=" || $$1 == "XM_FILE=" { \
525 print $$2 >> "allparam.tmp" }' ; \
527 sort <alldeps.tmp | uniq | \
528 sed
-e
's/arm-convert.o/arm-convert.s/' \
529 -e
's!^Onindy.o!nindy-share/Onindy.c!' \
530 -e
's!^nindy.o!nindy-share/nindy.c!' \
531 -e
's!ttybreak.o!nindy-share/ttybreak.c!' \
532 -e
's!ttyflush.o!nindy-share/ttyflush.c!' \
533 -e
's!xdr_ld.o!vx-share/xdr_ld.c!' \
534 -e
's!xdr_ptrace.o!vx-share/xdr_ptrace.c!' \
535 -e
's!xdr_rdb.o!vx-share/xdr_rdb.c!' \
536 -e
's!xdr_regs.o!vx-share/xdr_regs.c!' \
539 echo
'ALLDEPFILES = $$(ALLDEPFILES_MAINDIR) $$(ALLDEPFILES_SUBDIR)' \
541 grep
-v
/ alldeps2.tmp | \
542 awk
'BEGIN {printf "ALLDEPFILES_MAINDIR="} \
543 NR == 0 {printf $$0;} \
544 NR != 0 {printf "\\\n" $$0} \
545 END {printf "\n\n"}' >>alldeps.mak
;
546 grep
/ alldeps2.tmp | \
547 awk
'BEGIN {printf "ALLDEPFILES_SUBDIR="} \
548 NR == 0 {printf $$0;} \
549 NR != 0 {printf "\\\n" $$0} \
550 END {printf "\n\n"}' >>alldeps.mak
;
551 sort <allparam.tmp | uniq | awk
'BEGIN {printf "ALLPARAM="} \
552 NR == 0 {printf $$0;} \
553 NR != 0 {printf "\\\n" $$0} \
554 END {printf "\n\n"}' >>alldeps.mak
;
555 sort <allconfig.tmp | uniq | awk
'BEGIN {printf "ALLCONFIG="} \
556 NR == 0 {printf $$0;} \
557 NR != 0 {printf "\\\n" $$0} \
558 END {printf "\n\n"}' >>alldeps.mak
;
559 rm -f alldeps.tmp alldeps2.tmp allparam.tmp allconfig.tmp
561 # The sed script makes everything which depends on {x,t}m.h depend on
562 # config.status as well, in case someone reconfigures gdb out from
563 # under an already compiled gdb.
564 depend
: $(SOURCES
) Makefile.
dist
565 @echo Ignore errors about non-existent system-supplied
include files
566 @echo for systems other than the one you are using.
567 @echo
"If xm.h and tm.h don't exist, the error messages saying so"
568 @echo can safely be ignored.
569 @echo Also ignore parse errors in valops.c
, and any errors in
571 -$(GCC
) -MM
$(CFLAGS
) -I
$(BFD_DIR
) \
572 `ls $(SOURCES) | sort -u` >depend.tmp
573 <depend.tmp sed
-e
's/ [xt]m.h/& config.status/g' \
574 -e
's; vx-share/; $${srcdir}/vx-share/;g' \
575 -e
's; nindy-share/; $${srcdir}/nindy-share/;g' \
576 -e
's; $(INCLUDE_DIR)/; $(INCLUDE_DEP)/;g' \
577 -e
's; [a-z0-9./]*bfd/; $(BFD_DEP)/;g' \
578 -e
's; \./; $${srcdir}/;g' \
584 @echo
"You must configure gdb. Look at the README file for details."
587 # These are not generated by "make depend" because they only are there
589 # But these rules don't do what we want; we want to hack the foo.o: tm.h
590 # dependency to do the right thing.
591 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h
: tm-68k.h
592 tm-hp300hpux.h tm-sun2.h tm-3b1.h
: tm-68k.h
593 xm-news1000.h
: xm-news.h
594 xm-i386-sv32.h
: xm-i386.h
595 tm-i386gas.h
: tm-i386.h
596 xm-sun4os4.h
: xm-sparc.h
597 tm-sun4os4.h
: tm-sparc.h
599 kdb
: $(NTSSTART
) $(OBS
) $(NTSOBS
) ${ADD_DEPS} ${RL_LIB_DEP}
601 $(srcdir)/munch
${MUNCH_DEFINE} $(OBS
) $(NTSOBS
) > init.c
602 $(CC
) $(LDFLAGS
) -c init.c
$(CLIBS
)
603 ld -o kdb
$(NTSSTART
) $(OBS
) $(NTSOBS
) init.o
$(ADD_FILES
) \
604 ${RL_LIB} -lc
$(CLIBS
)
606 # Put the proper machine-specific files first.
607 # createtags will edit the .o in DEPFILES into .c
609 $(srcdir)/createtags
$(TM_FILE
) ${XM_FILE} $(DEPFILES
) ${TAGFILES}
612 # FIXME: Get alldeps.mak up to date, config.gdb none, THEN make gdb.tar.Z!
613 gdb.
tar.Z
: ${TARFILES}
614 rm -f gdb.
tar; rm -rf
$(DIST
)
615 cd readline
; make readline.
tar
617 cd
$(DIST
) ; for i in
${TARFILES} ; do ln
-s ..
/$$i .
; done
618 mkdir
$(DIST
)/readline
619 cd
$(DIST
)/readline
; tar xf ..
/..
/readline
/readline.
tar
620 mkdir
$(DIST
)/xconfig
${DIST}/tconfig
621 cd
$(DIST
)/tconfig
; \
622 for i in
$(ALLCONFIG
) ; do ln
-s ..
/..
/$$i ..
/$$i ; done
623 mkdir
$(DIST
)/vx-share
$(DIST
)/nindy-share
624 cd
$(DIST
)/tconfig
; \
625 for i in
$(SFILES_SUBDIR
) $(ALLDEPFILES_SUBDIR
); \
626 do ln
-s ..
/..
/$$i ..
/$$i ; done
627 tar chf
- $(DIST
) | compress
>gdb.
tar.Z
631 rm -f
${OBS} ${TSOBS} ${NTSOBS} ${ADD_FILES}
632 rm -f init.c init.o version.c
633 rm -f gdb core gdb.
tar gdb.
tar.Z make.log
635 cd readline
; make
clean
637 distclean: clean expread.tab.c TAGS
638 rm -f tm.h xm.h config.status
639 rm -f y.output
yacc.acts
yacc.tmp
640 rm -f
${TESTS} Makefile
643 rm -f expread.tab.c TAGS
644 rm -f tm.h xm.h config.status
647 gdb.
dvi : gdb.texinfo
652 # Make copying.c from COPYING
653 copying.c
: COPYING copying.awk
654 awk
-f copying.awk
< COPYING
> copying.c
656 version.c
: Makefile.
dist
657 echo
'char *version = "$(VERSION)";' >version.c
659 ${srcdir}/expread.tab.c
: $(srcdir)/expread.y
660 @echo
'Expect 4 shift/reduce conflict.'
661 ${YACC} $(srcdir)/expread.y
662 mv y.tab.c
${srcdir}/expread.tab.c
664 expread.o
: ${srcdir}/expread.tab.c defs.h param.h symtab.h \
666 $(CC
) -c
${CFLAGS} `echo ${srcdir}/expread.tab.c | sed 's,^\./,,'`
667 mv expread.tab.o expread.o
669 # dbxread, coffread, mipsread have dependencies on BFD header files.
670 dbxread.o
: ${srcdir}/dbxread.c
671 ${CC} -c
${CFLAGS} -I
$(BFD_DIR
) ${srcdir}/dbxread.c
673 coffread.o
: ${srcdir}/coffread.c
674 ${CC} -c
${CFLAGS} -I
$(BFD_DIR
) ${srcdir}/coffread.c
676 mipsread.o
: ${srcdir}/mipsread.c
677 ${CC} -c
${CFLAGS} -I
$(BFD_DIR
) ${srcdir}/mipsread.c
679 # Drag in the files that are in another directory.
681 xdr_ld.o
: ${srcdir}/vx-share
/xdr_ld.c
682 ${CC} -c
${CFLAGS} ${srcdir}/vx-share
/xdr_ld.c
684 xdr_ptrace.o
: ${srcdir}/vx-share
/xdr_ptrace.c
685 ${CC} -c
${CFLAGS} ${srcdir}/vx-share
/xdr_ptrace.c
687 xdr_rdb.o
: ${srcdir}/vx-share
/xdr_rdb.c
688 ${CC} -c
${CFLAGS} ${srcdir}/vx-share
/xdr_rdb.c
690 xdr_regs.o
: ${srcdir}/vx-share
/xdr_regs.c
691 ${CC} -c
${CFLAGS} ${srcdir}/vx-share
/xdr_regs.c
693 nindy.o
: ${srcdir}/nindy-share
/nindy.c
694 ${CC} -c
${CFLAGS} ${srcdir}/nindy-share
/nindy.c
696 Onindy.o
: ${srcdir}/nindy-share
/Onindy.c
697 ${CC} -c
${CFLAGS} ${srcdir}/nindy-share
/Onindy.c
699 ttybreak.o
: ${srcdir}/nindy-share
/ttybreak.c
700 ${CC} -c
${CFLAGS} ${srcdir}/nindy-share
/ttybreak.c
702 ttyflush.o
: ${srcdir}/nindy-share
/ttyflush.c
703 ${CC} -c
${CFLAGS} ${srcdir}/nindy-share
/ttyflush.c
705 tdesc-lib
/libdc.o
: force_update
706 cd tdesc-lib
; ${MAKE} "SYSV_DEFINE=${SYSV_DEFINE}"
708 # In LOCAL_INCLUDES, -I${srcdir} is right if srcdir is an absolute path,
709 # and -I../${srcdir} is right if it is relative (e.g. ".."), so search both.
710 readline
/libreadline.a
: force_update
711 cd readline
; ${MAKE} "SYSV=${SYSV_DEFINE}"\
712 "VPATH=${srcdir}/readline:../${srcdir}/readline"\
713 "LOCAL_INCLUDES=-I../ -I${srcdir}/ -I../${srcdir}/"\
714 "DEBUG_FLAGS=${GLOBAL_CFLAGS}" "CC=${CC}" libreadline.a
717 $(LINT
) $(INCLUDE_CFLAGS
) $(LINTFLAGS
) $(LINTFILES
)
720 cxref
-I.
$(SFILES
) >gdb.cxref
724 # When used with GDB, the demangler should never look for leading
725 # underscores because GDB strips them off during symbol read-in. Thus
728 cplus-dem.o
: cplus-dem.c
729 ${CC} -c
${CFLAGS} -Dnounderscore \
730 `echo ${srcdir}/cplus-dem.c | sed 's,^\./,,'`
731 altos-xdep.o
: altos-xdep.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 gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
733 $(INCLUDE_DIR
)/ansidecl.h
734 am29k-pinsn.o
: am29k-pinsn.c defs.h target.h am29k-opcode.h
735 am29k-tdep.o
: am29k-tdep.c defs.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
736 $(INCLUDE_DIR
)/ansidecl.h
$(INCLUDE_DIR
)/obstack.h frame.h param.h tm.h config.status \
737 param-no-tm.h xm.h config.status value.h symtab.h inferior.h breakpoint.h
738 arm-pinsn.o
: arm-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
740 arm-tdep.o
: arm-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
741 inferior.h breakpoint.h value.h symtab.h arm-opcode.h gdbcore.h \
742 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
743 arm-xdep.o
: arm-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
744 inferior.h breakpoint.h value.h symtab.h arm-opcode.h gdbcore.h \
745 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
746 blockframe.o
: blockframe.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
747 frame.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h value.h \
749 breakpoint.o
: breakpoint.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
750 frame.h breakpoint.h value.h expression.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
751 $(INCLUDE_DIR
)/ansidecl.h gdbcmd.h command.h inferior.h target.h
752 coffread.o
: coffread.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
753 breakpoint.h value.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h symfile.h \
755 command.o
: command.c defs.h command.h symtab.h value.h
756 convex-pinsn.o
: convex-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
757 symtab.h convx-opcode.h
758 convex-tdep.o
: convex-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
759 command.h symtab.h value.h frame.h inferior.h breakpoint.h \
760 $(INCLUDE_DIR
)/wait.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h \
762 convex-xdep.o
: convex-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
763 command.h symtab.h value.h frame.h inferior.h breakpoint.h \
764 $(INCLUDE_DIR
)/wait.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h \
766 core.o
: core.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h inferior.h \
767 breakpoint.h value.h symtab.h command.h
$(INCLUDE_DIR
)/bfd.h \
768 $(INCLUDE_DIR
)/ansidecl.h target.h gdbcore.h
769 coredep.o
: coredep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status gdbcore.h \
770 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
$(INCLUDE_DIR
)/obstack.h
771 cplus-dem.o
: cplus-dem.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status
772 dbxread.o
: dbxread.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
773 $(INCLUDE_DIR
)/a.out.gnu.h
$(INCLUDE_DIR
)/reloc.h
$(INCLUDE_DIR
)/stab.gnu.h \
774 $(INCLUDE_DIR
)/stab.def symtab.h breakpoint.h value.h command.h target.h \
775 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
$(BFD_DIR
)/liba.out.h \
777 environ.o
: environ.c environ.h defs.h
778 eval.o
: eval.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \
779 expression.h target.h frame.h
780 exec.o
: exec.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h inferior.h \
781 breakpoint.h value.h symtab.h target.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
782 $(INCLUDE_DIR
)/ansidecl.h
783 expprint.o
: expprint.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
785 findvar.o
: findvar.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
786 frame.h value.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h \
787 inferior.h breakpoint.h target.h
788 gould-pinsn.o
: gould-pinsn.c gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
789 $(INCLUDE_DIR
)/ansidecl.h
$(INCLUDE_DIR
)/obstack.h defs.h param.h tm.h config.status \
790 param-no-tm.h xm.h config.status symtab.h frame.h np1-opcode.h
791 gould-xdep.o
: gould-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
792 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
793 $(INCLUDE_DIR
)/ansidecl.h
794 hp300ux-xdep.o
: hp300ux-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
795 frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \
796 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
797 i386-pinsn.o
: i386-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
798 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
$(INCLUDE_DIR
)/obstack.h
799 i386-tdep.o
: i386-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
800 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
801 $(INCLUDE_DIR
)/ansidecl.h
802 i386-xdep.o
: i386-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
803 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
804 $(INCLUDE_DIR
)/ansidecl.h
805 i960-pinsn.o
: i960-pinsn.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
807 i960-tdep.o
: i960-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
808 value.h frame.h signame.h ieee-float.h
809 ieee-float.o
: ieee-float.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
811 infcmd.o
: infcmd.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 environ.h gdbcmd.h command.h gdbcore.h \
813 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h target.h
814 inflow.o
: inflow.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
815 inferior.h breakpoint.h value.h symtab.h command.h signals.h terminal.h \
817 infptrace.o
: infptrace.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
818 inferior.h breakpoint.h value.h symtab.h target.h gdbcore.h \
819 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
820 infrun.o
: infrun.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \
821 inferior.h breakpoint.h value.h
$(INCLUDE_DIR
)/wait.h gdbcore.h \
822 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h signame.h command.h terminal.h \
824 inftarg.o
: inftarg.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
825 inferior.h breakpoint.h value.h symtab.h target.h
$(INCLUDE_DIR
)/wait.h \
826 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h ieee-float.h
827 m68k-pinsn.o
: m68k-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
828 m68k-opcode.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
829 m68k-tdep.o
: m68k-tdep.c defs.h ieee-float.h
830 main.o
: main.c defs.h gdbcmd.h command.h param.h tm.h config.status param-no-tm.h xm.h config.status \
831 symtab.h inferior.h breakpoint.h value.h frame.h signals.h target.h
832 mem-break.o
: mem-break.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status
833 mips-pinsn.o
: mips-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
835 mips-tdep.o
: mips-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
836 inferior.h breakpoint.h value.h symtab.h gdbcmd.h command.h gdbcore.h \
837 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
838 mips-xdep.o
: mips-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
839 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
840 $(INCLUDE_DIR
)/ansidecl.h
841 mipsread.o
: mipsread.c param.h tm.h config.status param-no-tm.h xm.h config.status \
842 $(INCLUDE_DIR
)/obstack.h defs.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
843 $(INCLUDE_DIR
)/ansidecl.h symfile.h
$(INCLUDE_DIR
)/intel-coff.h
844 news-xdep.o
: news-xdep.c
845 Onindy.o
: ${srcdir}/nindy-share
/Onindy.c
${srcdir}/nindy-share
/ttycntl.h \
846 ${srcdir}/nindy-share
/block_io.h
$(INCLUDE_DIR
)/wait.h
${srcdir}/nindy-share
/env.h \
847 /usr
/include/string.h
848 nindy.o
: ${srcdir}/nindy-share
/nindy.c
${srcdir}/nindy-share
/ttycntl.h
${srcdir}/nindy-share
/block_io.h \
849 $(INCLUDE_DIR
)/wait.h
${srcdir}/nindy-share
/env.h
/usr
/include/string.h
850 ttybreak.o
: ${srcdir}/nindy-share
/ttybreak.c
${srcdir}/nindy-share
/ttycntl.h
851 ttyflush.o
: ${srcdir}/nindy-share
/ttyflush.c
${srcdir}/nindy-share
/ttycntl.h
852 nindy-tdep.o
: nindy-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
854 ns32k-pinsn.o
: ns32k-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
855 symtab.h ns32k-opcode.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
856 $(INCLUDE_DIR
)/ansidecl.h
857 printcmd.o
: printcmd.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
858 symtab.h value.h expression.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
859 $(INCLUDE_DIR
)/ansidecl.h gdbcmd.h command.h target.h
860 pyr-pinsn.o
: pyr-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
861 pyr-opcode.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
862 pyr-tdep.o
: pyr-tdep.c
863 pyr-xdep.o
: pyr-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
864 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
865 $(INCLUDE_DIR
)/ansidecl.h
866 remote-eb.o
: remote-eb.c defs.h tm-29k.h param-no-tm.h xm.h config.status inferior.h \
867 breakpoint.h value.h symtab.h frame.h param.h
$(INCLUDE_DIR
)/wait.h \
869 remote-nindy.o
: remote-nindy.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
870 frame.h inferior.h breakpoint.h value.h symtab.h target.h gdbcore.h \
871 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h command.h ieee-float.h \
872 $(INCLUDE_DIR
)/wait.h
${srcdir}/nindy-share
/ttycntl.h
${srcdir}/nindy-share
/demux.h \
873 ${srcdir}/nindy-share
/env.h
${srcdir}/nindy-share
/stop.h
874 remote-vx.o
: remote-vx.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
875 inferior.h breakpoint.h value.h symtab.h
$(INCLUDE_DIR
)/wait.h target.h \
876 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h command.h symfile.h \
877 ${srcdir}/vx-share
/xdr_ptrace.h
${srcdir}/vx-share
/xdr_regs.h
${srcdir}/vx-share
/reg.h \
878 ${srcdir}/vx-share
/xdr_ld.h
${srcdir}/vx-share
/xdr_rdb.h
${srcdir}/vx-share
/dbgRpcLib.h
879 remote.o
: remote.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
880 inferior.h breakpoint.h value.h symtab.h target.h
$(INCLUDE_DIR
)/wait.h \
882 signame.o
: signame.c signame.h defs.h param.h tm.h config.status param-no-tm.h xm.h config.status
883 solib.o
: solib.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h gdbcore.h \
884 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h command.h target.h frame.h
885 source.o
: source.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
886 command.h gdbcmd.h frame.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
887 $(INCLUDE_DIR
)/ansidecl.h regex.h
888 sparc-pinsn.o
: sparc-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \
889 symtab.h sparc-opcode.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
890 $(INCLUDE_DIR
)/ansidecl.h
/usr
/include/string.h target.h
891 sparc-tdep.o
: sparc-tdep.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 signame.h target.h ieee-float.h \
893 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
894 sparc-xdep.o
: sparc-xdep.c defs.h tm-sparc.h param-no-tm.h xm.h config.status inferior.h \
895 breakpoint.h value.h symtab.h frame.h param.h target.h gdbcore.h \
896 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h
897 stack.o
: stack.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \
898 gdbcmd.h command.h value.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
899 $(INCLUDE_DIR
)/ansidecl.h target.h breakpoint.h
900 sun3-xdep.o
: sun3-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status inferior.h \
901 breakpoint.h value.h symtab.h frame.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
902 $(INCLUDE_DIR
)/ansidecl.h
903 sun386-xdep.o
: sun386-xdep.c
904 symfile.o
: symfile.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
905 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h frame.h target.h \
906 value.h symfile.h gdbcmd.h command.h breakpoint.h
907 symm-tdep.o
: symm-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
908 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
909 $(INCLUDE_DIR
)/ansidecl.h
910 symm-xdep.o
: symm-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
911 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
912 $(INCLUDE_DIR
)/ansidecl.h
913 symmisc.o
: symmisc.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
914 breakpoint.h value.h command.h
915 symtab.o
: symtab.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \
916 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h frame.h target.h \
917 value.h symfile.h gdbcmd.h command.h
918 target.o
: target.c defs.h target.h gdbcmd.h command.h symtab.h inferior.h \
919 breakpoint.h value.h frame.h param.h tm.h config.status param-no-tm.h xm.h config.status \
920 $(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h symfile.h
922 umax-xdep.o
: umax-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \
923 inferior.h breakpoint.h value.h symtab.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
924 $(INCLUDE_DIR
)/ansidecl.h
925 utils.o
: utils.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status signals.h gdbcmd.h \
926 command.h terminal.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h \
927 $(INCLUDE_DIR
)/obstack.h target.h
928 valarith.o
: valarith.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status value.h \
929 symtab.h expression.h target.h
930 valops.o
: valops.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \
931 frame.h inferior.h breakpoint.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h \
932 $(INCLUDE_DIR
)/ansidecl.h target.h
933 valprint.o
: valprint.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
934 value.h gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h gdbcmd.h \
936 values.o
: values.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \
937 gdbcore.h
$(INCLUDE_DIR
)/bfd.h
$(INCLUDE_DIR
)/ansidecl.h frame.h command.h \
939 vax-pinsn.o
: vax-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \
941 xdr_ld.o
: ${srcdir}/vx-share
/xdr_ld.c
${srcdir}/vx-share
/vxWorks.h
${srcdir}/vx-share
/vxTypes.h \
942 /usr
/include/rpc
/rpc.h
${srcdir}/vx-share
/xdr_ld.h
943 xdr_ptrace.o
: ${srcdir}/vx-share
/xdr_ptrace.c
944 xdr_rdb.o
: ${srcdir}/vx-share
/xdr_rdb.c
${srcdir}/vx-share
/vxWorks.h
${srcdir}/vx-share
/vxTypes.h \
945 ${srcdir}/vx-share
/xdr_rdb.h
946 xdr_regs.o
: ${srcdir}/vx-share
/xdr_regs.c