1 # Copyright 1989, 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
3 # This file is part of GDB.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 program_transform_name
=
22 exec_prefix = $(prefix)
23 bindir = $(exec_prefix)/bin
24 libdir = $(exec_prefix)/lib
25 tooldir
= $(libdir)/$(target_alias
)
27 datadir = $(prefix)/lib
28 mandir = $(prefix)/man
29 man1dir = $(mandir)/man1
30 man2dir = $(mandir)/man2
31 man3dir = $(mandir)/man3
32 man4dir = $(mandir)/man4
33 man5dir = $(mandir)/man5
34 man6dir = $(mandir)/man6
35 man7dir = $(mandir)/man7
36 man8dir = $(mandir)/man8
37 man9dir = $(mandir)/man9
38 infodir = $(prefix)/info
39 includedir = $(prefix)/include
40 docdir
= $(datadir)/doc
44 INSTALL
= `cd $(srcdir)/..;pwd`/install.sh
-c
45 INSTALL_PROGRAM
= $(INSTALL
)
46 INSTALL_DATA
= $(INSTALL
)
52 # Flags that describe where you can find the termcap library.
53 # This can be overridden in the host Makefile fragment file.
56 # If you are compiling with GCC, make sure that either 1) You have the
57 # fixed include files where GCC can reach them, or 2) You use the
58 # -traditional flag. Otherwise the ioctl calls in inflow.c
59 # will be incorrectly compiled. The "fixincludes" script in the gcc
60 # distribution will fix your include files up.
63 # Directory containing source files. Don't clean up the spacing,
64 # this exact string is matched for by the "configure" script.
67 # If you use bison instead of yacc, it needs to include the "-y" argument.
72 # where to find makeinfo, preferably one designed for texinfo-2
75 # Set this up with gcc if you have gnu ld and the loader will print out
76 # line numbers for undefined references.
80 # Where is our "include" directory? Typically $(srcdir)/../include.
81 # This is essentially the header file directory for the library
82 # routines in libiberty.
83 INCLUDE_DIR
= $(srcdir)/..
/include
84 INCLUDE_CFLAGS
= -I
$(INCLUDE_DIR
)
85 # Where is the "-liberty" library, containing getopt and obstack?
86 LIBIBERTY
= ..
/libiberty
/libiberty.a
88 # Where is the MMALLOC library? Typically ../mmalloc.
89 # Note that mmalloc can still be used on systems without mmap().
90 # To use your system malloc, comment out the following defines.
91 MMALLOC
= ..
/mmalloc
/libmmalloc.a
92 # To use your system malloc, uncomment MMALLOC_DISABLE.
93 #MMALLOC_DISABLE = -DNO_MMALLOC
94 # To use mmalloc but disable corruption checking, uncomment MMALLOC_CHECK
95 #MMALLOC_CHECK = -DNO_MMALLOC_CHECK
96 MMALLOC_CFLAGS
= $(MMALLOC_CHECK
) $(MMALLOC_DISABLE
)
98 # Where are the BFD library?
100 BFD
= $(BFD_DIR
)/libbfd.a
101 BFD_SRC
= $(srcdir)/$(BFD_DIR
)
102 BFD_CFLAGS
= -I
$(BFD_DIR
) -I
$(BFD_SRC
)
104 # Where is the READLINE library? Typically in ../readline.
105 READLINE_DIR
= ..
/readline
106 READLINE
= $(READLINE_DIR
)/libreadline.a
107 READLINE_SRC
= $(srcdir)/$(READLINE_DIR
)
108 READLINE_CFLAGS
= -I
$(READLINE_SRC
)
110 # Opcodes currently live in one of two places. Either they are in the
111 # opcode library, typically ../opcodes, or they are in a header file
113 # Where is the "-lopcodes" library, with (some of) the opcode tables and
115 OPCODES
= .
/..
/opcodes
/libopcodes.a
116 # Where are the other opcode tables which only have header file
118 OP_INCLUDE
= $(INCLUDE_DIR
)/opcode
119 OPCODES_CFLAGS
= -I
$(OP_INCLUDE
)
121 # All the includes used for CFLAGS and for lint.
122 # -I. for config files.
123 # -I$(srcdir) for gdb internal headers and possibly for regex.h also.
124 # -I$(srcdir)/config for more generic config files.
126 # It is also possible that you will need to add -I/usr/include/sys if
127 # your system doesn't have fcntl.h in /usr/include (which is where it
128 # should be according to Posix).
129 GDB_CFLAGS
= -I.
-I
$(srcdir) -I
$(srcdir)/config
131 # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
132 # from the config directory.
133 GLOBAL_CFLAGS
= $(MT_CFLAGS
) $(MH_CFLAGS
)
134 #PROFILE_CFLAGS = -pg
136 # CFLAGS is specifically reserved for setting from the command line
137 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
140 # Need to pass this to testsuite for "make check". Probably should be
141 # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
142 # so "make check" has the same result no matter where it is run.
145 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
146 INTERNAL_CFLAGS
= $(CFLAGS
) $(GLOBAL_CFLAGS
) $(PROFILE_CFLAGS
) \
147 $(GDB_CFLAGS
) $(OPCODES_CFLAGS
) $(READLINE_CFLAGS
) \
148 $(BFD_CFLAGS
) $(MMALLOC_CFLAGS
) $(INCLUDE_CFLAGS
)
150 # LDFLAGS is specifically reserved for setting from the command line
153 # Profiling options need to go here to work.
154 # I think it's perfectly reasonable for a user to set -pg in CFLAGS
155 # and have it work; that's why CFLAGS is here.
156 INTERNAL_LDFLAGS
= $(CFLAGS
) $(GLOBAL_CFLAGS
) $(PROFILE_CFLAGS
) $(LDFLAGS
)
158 # We are using our own version of REGEX now to be consistent across
163 # If your system is missing alloca(), or, more likely, it's there but
164 # it doesn't work, then refer to libiberty.
166 # Libraries and corresponding dependencies for compiling gdb.
167 # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
168 # TERMCAP comes after readline, since readline depends on it.
169 # If you have the Cygnus libraries installed,
170 # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
171 INSTALLED_LIBS
=-lbfd
-lreadline
$(TERMCAP
) -lopcodes
-lmmalloc \
172 -liberty
$(XM_CLIBS
) $(TM_CLIBS
) $(NAT_CLIBS
) $(ENABLE_CLIBS
)
173 CLIBS
= $(BFD
) $(READLINE
) $(OPCODES
) $(MMALLOC
) \
174 $(LIBIBERTY
) $(TERMCAP
) $(XM_CLIBS
) $(TM_CLIBS
) $(NAT_CLIBS
) \
176 CDEPS
= $(XM_CDEPS
) $(TM_CDEPS
) $(NAT_CDEPS
) \
177 $(BFD
) $(READLINE
) $(OPCODES
) $(MMALLOC
) $(LIBIBERTY
)
179 ADD_FILES
= $(REGEX
) $(XM_ADD_FILES
) $(TM_ADD_FILES
) $(NAT_ADD_FILES
)
180 ADD_DEPS
= $(REGEX1
) $(XM_ADD_FILES
) $(TM_ADD_FILES
) $(NAT_ADD_FILES
)
186 LINTFLAGS
= $(BFD_CFLAGS
)
188 RUNTEST
= `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
189 echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
194 # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
195 # interface to the serial port. Hopefully if get ported to OS/2, VMS,
196 # etc., then there will be (as part of the C library or perhaps as
197 # part of libiberty) a POSIX interface. But at least for now the
198 # host-dependent makefile fragment might need to use something else
200 SER_HARDWIRE
=ser-unix.o
202 # The `remote' debugging target is supported for most architectures,
203 # but not all (e.g. 960)
204 REMOTE_O
= remote.o dcache.o remote-utils.o
206 # Host and target-dependent makefile fragments come in here.
208 # End of host and target-dependent makefile fragments
212 "exec_prefix=$(exec_prefix)" \
213 "against=$(against)" \
215 "AR_FLAGS=$(AR_FLAGS)" \
218 "CHILLFLAGS=$(CHILLFLAGS)" \
220 "CHILL_LIB=$(CHILL_LIB)" \
222 "CXXFLAGS=$(CXXFLAGS)" \
224 "MAKEINFO=$(MAKEINFO)" \
225 "INSTALL=$(INSTALL)" \
226 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
227 "INSTALL_DATA=$(INSTALL_DATA)" \
228 "RUNTEST=$(RUNTEST)" \
229 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
232 # Flags that we pass when building the testsuite.
235 if [ -f $${rootme}/../gcc/xgcc ] ; then \
236 if [ -f $${rootme}/../newlib/Makefile ] ; then \
237 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc; \
239 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
242 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
245 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
252 if [ -f $${rootme}/../gcc/Makefile ] ; then \
253 if [ -f $${rootme}/../newlib/Makefile ] ; then \
254 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc; \
256 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
259 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
262 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
266 CHILLFLAGS
= $(CFLAGS
)
268 CHILL_FOR_TARGET
= ` \
269 if [ -f $${rootme}/../gcc/Makefile ] ; then \
270 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../chillrt/; \
272 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
275 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
280 NLMCONV_FOR_TARGET
= ` \
281 if [ -f $${rootme}/../binutils/nlmconv ] ; then \
282 echo $${rootme}/../binutils/nlmconv; \
284 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
287 t='$(program_transform_name)'; echo nlmconv | sed -e '' $$t; \
291 NWSOURCE
= /gaunt
/grossman
/unsupported
/Novell
292 NWINCLUDES
= $(NWSOURCE
)/novh40
295 if [ -f $${rootme}/../ld/ld.new ] ; then \
296 echo $${rootme}/../ld/ld.new; \
298 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
301 t='$(program_transform_name)'; echo ld | sed -e '' $$t; \
305 # The use of $$(x_FOR_TARGET) reduces the command line length by not
306 # duplicating the lengthy definition.
307 TARGET_FLAGS_TO_PASS
= \
309 "exec_prefix=$(exec_prefix)" \
310 "against=$(against)" \
311 'CC=$$(CC_FOR_TARGET)' \
312 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
314 "CHILLFLAGS=$(CHILLFLAGS)" \
315 'CHILL=$$(CHILL_FOR_TARGET)' \
316 "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
317 "CHILL_LIB=$(CHILL_LIB)" \
318 'CXX=$$(CXX_FOR_TARGET)' \
319 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
320 "CXXFLAGS=$(CXXFLAGS)" \
321 "MAKEINFO=$(MAKEINFO)" \
322 "INSTALL=$(INSTALL)" \
323 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
324 "INSTALL_DATA=$(INSTALL_DATA)" \
325 "RUNTEST=$(RUNTEST)" \
326 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
329 # All source files that go into linking GDB.
330 # Links made at configuration time should not be specified here, since
331 # SFILES is used in building the distribution archive.
333 SFILES
= blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c \
334 c-typeprint.c c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c \
335 ch-valprint.c coffread.c command.c complaints.c core.c cp-valprint.c \
336 dbxread.c demangle.c dwarfread.c elfread.c environ.c eval.c expprint.c \
337 findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c \
338 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
339 mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
340 printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
341 symtab.c target.c thread.c top.c \
342 typeprint.c utils.c valarith.c valops.c \
343 valprint.c values.c serial.c ser-unix.c mdebugread.c os9kread.c
345 # Files that are not source code, but need to go into
346 # gdb-$(VERSION).tar.Z.
348 NONSRC
= Makefile.in configure.in ChangeLog ChangeLog-9091 \
349 ChangeLog-92 ChangeLog-93 ChangeLog-3.x \
350 gdb
.1 refcard.ps README TODO TAGS NEWS \
351 Projects .gdbinit COPYING
$(YYFILES
) copying.c copying.awk \
352 saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
353 nindy-share
/Makefile nindy-share
/VERSION nindy-share
/README \
354 vx-share
/README
29k-share
/README config
/convex
/Convex.notes \
357 # All source files that lint should look at
358 LINTFILES
= $(SFILES
) $(YYFILES
) init.c
360 # Any additional files specified on these lines should also be added to
361 # the NONSRC definition, so they go in the tar files.
362 SFILES_STAND
= $(SFILES
) standalone.c
363 SFILES_KGDB
= $(SFILES
) stuff.c kdb-start.c
365 # "system" headers. Using these in dependencies is a rather personal
366 # choice. (-rich, summer 1993)
367 # (Why would we not want to depend on them? If one of these changes in a
368 # non-binary-compatible way, it is a real pain to remake the right stuff
369 # without these dependencies -kingdon, 13 Mar 1994)
370 getopt_h
= $(INCLUDE_DIR
)/getopt.h
371 floatformat_h
= $(INCLUDE_DIR
)/floatformat.h
372 bfd_h
= $(BFD_DIR
)/bfd.h
373 wait_h
= $(INCLUDE_DIR
)/wait.h
374 dis-asm_h
= $(INCLUDE_DIR
)/dis-asm.h
377 remote_utils_h
= $(dcache_h
) serial.h target.h remote-utils.h remote-sim.h
380 $(READLINE_SRC
)/chardefs.h \
381 $(READLINE_SRC
)/history.h \
382 $(READLINE_SRC
)/keymaps.h \
383 $(READLINE_SRC
)/readline.h
386 $(srcdir)/29k-share
/udi
/udiproc.h \
387 $(srcdir)/29k-share
/udi
/udiphcfg.h \
388 $(srcdir)/29k-share
/udi
/udiphunix.h \
389 $(srcdir)/29k-share
/udi
/udiptcfg.h \
390 $(srcdir)/29k-share
/udi
/udipt29k.h \
391 $(srcdir)/29k-share
/udi
/udisoc.h
393 gdbcore_h
= gdbcore.h
$(bfd_h
)
397 gdbtypes_h
= gdbtypes.h
398 expression_h
= expression.h
399 value_h
= value.h
$(symtab_h
) $(gdbtypes_h
) $(expression_h
)
401 breakpoint_h
= breakpoint.h
$(frame_h
) $(value_h
)
403 command_h
= command.h
404 gdbcmd_h
= gdbcmd.h
$(command_h
)
406 defs_h
= defs.h xm.h tm.h nm.h config.status
408 inferior_h
= inferior.h
$(breakpoint_h
)
410 # Header files that need to have srcdir added. Note that in the cases
411 # where we use a macro like $(gdbcmd_h), things are carefully arranged
412 # so that each .h file is listed exactly once (M-x tags-search works
413 # wrong if TAGS has files twice). Because this is tricky to get
414 # right, it is probably easiest just to list .h files here directly.
416 HFILES_NO_SRCDIR
= buildsym.h call-cmds.h coff-solib.h defs.h dst.h environ.h \
417 $(gdbcmd_h
) gdbcore.h \
418 gdb-stabs.h
$(inferior_h
) language.h minimon.h monitor.h \
419 objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
420 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
421 c-lang.h ch-lang.h m2-lang.h complaints.h ns32k-opcode.h valprint.h \
422 config
/m68k
/tm-m68k.h config
/pa
/tm-hppa.h config
/i960
/tm-i960.h \
423 config
/sparc
/tm-sparc.h config
/tm-lynx.h config
/tm-sunos.h \
425 config
/m68k
/xm-m68k.h config
/sparc
/xm-sparc.h \
426 config
/xm-lynx.h config
/xm-sysv4.h \
427 config
/vax
/xm-vax.h config
/nm-m3.h config
/nm-trash.h \
428 29k-share
/udi
/udiids.h
29k-share
/udi_soc nindy-share
/b.out.h \
429 nindy-share
/block_io.h nindy-share
/coff.h \
430 nindy-share
/env.h nindy-share
/stop.h \
431 vx-share
/dbgRpcLib.h vx-share
/ptrace.h vx-share
/vxTypes.h \
432 vx-share
/vxWorks.h vx-share
/wait.h vx-share
/xdr_ld.h \
433 vx-share
/xdr_ptrace.h vx-share
/xdr_rdb.h thread.h \
434 dcache.h remote-utils.h remote-sim.h top.h
436 # Header files that already have srcdir in them, or which are in objdir.
438 HFILES_WITH_SRCDIR
= $(udiheaders
) ..
/bfd
/bfd.h
441 # GDB "info" files, which should be included in their entirety
442 INFOFILES
= gdb.
info*
444 REMOTE_EXAMPLES
= m68k-stub.c i386-stub.c sparc-stub.c rem-multi.
shar
446 POSSLIBS
= regex.c regex.h
448 # Subdirectories of gdb, which should be included in their entirety in
450 TARDIRS
= doc gdbserver sparclite
452 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
453 # default their values the way we do for SER_HARDWIRE; in the future
454 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
455 # variables analogous to SER_HARDWIRE which get defaulted in this
458 DEPFILES
= $(TDEPFILES
) $(XDEPFILES
) $(SER_HARDWIRE
) $(NATDEPFILES
) $(REMOTE_O
) \
461 SOURCES
= $(SFILES
) $(ALLDEPFILES
) $(YYFILES
)
462 # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
463 # and it's more useful to see it in the .y file.
464 TAGFILES_NO_SRCDIR
= $(SFILES
) $(HFILES_NO_SRCDIR
) $(ALLDEPFILES
) \
465 $(ALLPARAM
) $(POSSLIBS
)
466 TAGFILES_WITH_SRCDIR
= $(HFILES_WITH_SRCDIR
)
468 TARFILES
= $(SFILES
) $(HFILES_NO_SRCDIR
) $(HFILES_WITH_SRCDIR
) \
469 $(NONSRC
) $(ALLDEPFILES
) $(ALLCONFIG
) \
470 $(ALLPARAM
) $(INFOFILES
) $(POSSLIBS
) $(REMOTE_EXAMPLES
)
473 COMMON_OBS
= version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
474 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
475 symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
476 expprint.o environ.o gdbtypes.o copying.o
$(DEPFILES
) \
477 mem-break.o target.o parse.o language.o
$(YYOBJ
) buildsym.o \
478 objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
479 dwarfread.o mipsread.o stabsread.o core.o c-lang.o ch-lang.o m2-lang.o \
480 complaints.o typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
481 c-valprint.o cp-valprint.o ch-valprint.o m2-valprint.o nlmread.o \
482 serial.o mdebugread.o os9kread.o top.o utils.o
484 OBS
= $(COMMON_OBS
) main.o annotate.o
490 NTSOBS
= standalone.o
492 NTSSTART
= kdb-start.o
494 SUBDIRS
= doc testsuite
496 # For now, shortcut the "configure GDB for fewer languages" stuff.
497 YYFILES
= c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
498 YYOBJ
= c-exp.tab.o m2-exp.tab.o ch-exp.tab.o
500 # Things which need to be built when making a distribution.
502 DISTSTUFF
= $(YYFILES
)
504 # Prevent Sun make from putting in the machine type. Setting
505 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
507 $(CC
) -c
$(INTERNAL_CFLAGS
) $<
509 all: gdb libgdb-files
$(LIBGDB_OBS
)
510 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
514 # The check target can not use subdir_do, because subdir_do does not
515 # use TARGET_FLAGS_TO_PASS.
517 @if
[ -f testsuite
/Makefile
]; then \
518 rootme
=`pwd`; export rootme
; \
519 rootsrc
=`cd $(srcdir); pwd`; export rootsrc
; \
521 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check; \
524 info dvi install-info clean-info
: force
525 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
528 nroff
-man
$(srcdir)/gdb
.1 | col
-b
> gdb.t
529 pack gdb.t
; rm -f gdb.t
532 # Traditionally "install" depends on "all". But it may be useful
533 # not to; for example, if the user has made some trivial change to a
534 # source file and doesn't care about rebuilding or just wants to save the
535 # time it takes for make to check that all is up to date.
536 # install-only is intended to address that need.
537 install: all install-only
539 transformed_name
=`t='$(program_transform_name)'; \
540 echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
541 if
test "x$$transformed_name" = x
; then \
542 transformed_name
=gdb
; \
546 $(INSTALL_PROGRAM
) gdb
$(bindir)/$$transformed_name ; \
547 $(INSTALL_DATA
) $(srcdir)/gdb
.1 $(man1dir)/$$transformed_name.1
548 @
$(MAKE
) DO
=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS
) subdir_do
551 rm -f
$(bindir)/gdb
$(man1dir)/gdb
.1
552 @
$(MAKE
) DO
=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS
) subdir_do
554 # We do this by grepping through sources. If that turns out to be too slow,
555 # maybe we could just require every .o file to have an initialization routine
556 # of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
558 # Formatting conventions: The name of the _initialize_* routines must start
559 # in column zero, and must not be inside #if.
561 # Note that the set of files with init functions might change, or the names
562 # of the functions might change, so this files needs to depend on all the
563 # object files that will be linked into gdb.
565 init.c
: $(OBS
) $(TSOBS
)
568 @echo
'/* Do not modify this file. */' >init.c-tmp
569 @echo
'/* It is created automatically by the Makefile. */'>>init.c-tmp
570 @echo
'void initialize_all_files () {' >>init.c-tmp
571 @for i in
$(OBS
) $(TSOBS
); do \
572 filename
=`echo $$i | sed \
577 -e '/xdr_ptrace.o/d' \
583 -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
587 *) sed
<$(srcdir)/$$filename >>init.c-tmp
-n \
588 -e
'/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/ {extern void \1 (); \1 ();}/p' ; ;; \
591 @echo
'}' >>init.c-tmp
592 @mv init.c-tmp init.c
596 # Removing the old gdb first works better if it is running, at least on SunOS.
597 gdb
: $(OBS
) $(TSOBS
) $(ADD_DEPS
) $(CDEPS
) init.o
599 $(CC-LD
) $(INTERNAL_LDFLAGS
) -o gdb \
600 init.o
$(OBS
) $(TSOBS
) $(ADD_FILES
) $(CLIBS
) $(LOADLIBES
)
602 prelude.o
: $(NWSOURCE
)/prelude.c
603 rootme
=`pwd`; export rootme
; rootsrc
=`cd $(srcdir); pwd`; export rootsrc
; $(CC_FOR_TARGET
) -g
-I
$(NWINCLUDES
) -c
$(NWSOURCE
)/prelude.c
605 i386-nlmstub.o
: $(srcdir)/i386-nlmstub.c
606 rootme
=`pwd`; export rootme
; rootsrc
=`cd $(srcdir); pwd`; export rootsrc
; $(CC_FOR_TARGET
) -g
-I
$(NWINCLUDES
) -c
$(srcdir)/i386-nlmstub.c
608 nlmstub.o
: prelude.o i386-nlmstub.o
609 rootme
=`pwd`; export rootme
; $(LD_FOR_TARGET
) -r
-o nlmstub.o prelude.o i386-nlmstub.o
611 nlmstub.nlm
: nlmstub.o
$(srcdir)/nlmstub.def
612 rootme
=`pwd`; export rootme
; $(NLMCONV_FOR_TARGET
) -T
$(srcdir)/nlmstub.def nlmstub.o nlmstub.nlm
616 # libproc is not listed here because all-libproc is a dependency of all-gui,
617 # not all-gdb, and thus might be built after us.
618 LIBGDBDEPS
=$(COMMON_OBS
) $(LIBGDB_OBS
) $(TSOBS
) $(ADD_DEPS
) $(CDEPS
) init.o
619 # libproc needs to be before libiberty for alloca.
620 LIBGDBFILES
=$(COMMON_OBS
) $(LIBGDB_OBS
) $(TSOBS
) ..
/libproc
/libproc.a \
621 $(ADD_DEPS
) $(CDEPS
) init.o
623 libgdb-files
: $(LIBGDBDEPS
) Makefile.in
625 for i in
$(LIBGDBFILES
); do\
626 echo
$$i >> libgdb-files
;\
629 saber_gdb
: $(SFILES
) $(DEPFILES
) copying.c version.c
630 #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
631 #load ./init.c $(SFILES)
632 #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y $(srcdir)/ch-exp.y
634 #unload nindy-share/[A-Z]*
635 #load c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
636 #load copying.c version.c
637 #load ../opcodes/libopcodes.a
638 #load ../libiberty/libiberty.a
639 #load ../bfd/libbfd.a
640 #load ../readline/libreadline.a
641 #load ../mmalloc/libmmalloc.a
643 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
644 echo
"Load .c corresponding to:" $(DEPFILES
)
647 # A Mach 3.0 program to force gdb back to command level
650 ${CC-LD
} $(GLOBAL_CFLAGS
) $(LDFLAGS
) -o stop-gdb \
651 stop-gdb.o
$(CLIBS
) $(LOADLIBES
)
653 # This is useful when debugging GDB, because some Unix's don't let you run GDB
654 # on itself without copying the executable. So "make gdb1" will make
655 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
656 # Removing gdb1 before the copy is the right thing if gdb1 is open
657 # in another process.
663 @echo
"You must configure gdb. Look at the README file for details."
666 ### fixme - this can't be right.
667 # This checks the configure.in file versus the config/ directory.
668 config-check
: config-check-hosts config-check-targets
670 grep gdb_host
= $(srcdir)/configure.in | \
671 sed
-e
's/.*gdb_host=//' -e
's/ ;;$$/.mh/' |
sort -u
>HOSTconf.o
672 (cd
$(srcdir)/config
; ls
*.mh
) >HOSTdir.o
673 diff
-u HOSTconf.o HOSTdir.o
675 ### fixme - nor can this.
676 config-check-targets
:
677 grep gdb_target
= $(srcdir)/configure.in | \
678 sed
-e
's/.*gdb_target=//' -e
's/ ;;$$/.mh/' |
sort -u
>TARGconf.o
679 (cd
$(srcdir)/config
; ls
*.mt
) >TARGdir.o
680 diff
-u HOSTconf.o HOSTdir.o
682 # FIXME. These are not generated by "make depend" because they only are there
684 # But these rules don't do what we want; we want to hack the foo.o: tm.h
685 # dependency to do the right thing.
686 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h
: tm-m68k.h
687 tm-hp300hpux.h tm-sun2.h tm-3b1.h
: tm-m68k.h
688 xm-news1000.h
: xm-news.h
689 xm-i386-sv32.h
: xm-i386.h
690 tm-i386gas.h
: tm-i386.h
691 xm-sun4os4.h
: xm-sparc.h
692 tm-sun4os4.h
: tm-sparc.h
693 xm-vaxult.h
: xm-vax.h
694 xm-vaxbsd.h
: xm-vax.h
696 kdb
: $(NTSSTART
) $(OBS
) $(NTSOBS
) $(ADD_DEPS
) $(CDEPS
)
697 ld -o kdb
$(NTSSTART
) $(OBS
) $(NTSOBS
) init.o
$(ADD_FILES
) \
700 # Put the proper machine-specific files first, so M-. on a machine
701 # specific routine gets the one for the correct machine. (FIXME: those
702 # files go in twice; we should be removing them from the main list).
704 # TAGS depends on all the files that go into it so you can rebuild TAGS
705 # with `make TAGS' and not have to say `rm TAGS' first.
707 TAGS
: $(TAGFILES_NO_SRCDIR
) $(TAGFILES_WITH_SRCDIR
)
709 @etags
$(srcdir)/$(TM_FILE
) \
710 $(srcdir)/$(XM_FILE
) \
711 $(srcdir)/$(NAT_FILE
) \
712 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
713 echo $(srcdir)/$$i ; \
714 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
716 done) | sed -e 's/\.o$$/\.c/'`
721 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=clean "DODIRS=$(SUBDIRS)" subdir_do
722 rm -f
*.o
$(ADD_FILES
) *~ init.c-tmp
723 rm -f init.c version.c
724 rm -f gdb core make.log libgdb-files
727 # This used to depend on c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
728 # I believe this is wrong; the makefile standards for distclean just
729 # describe removing files; the only sort of "re-create a distribution"
730 # functionality described is if the distributed files are unmodified.
732 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=distclean "DODIRS=$(SUBDIRS)" subdir_do
733 rm -f nm.h tm.h xm.h config.status
734 rm -f y.output
yacc.acts
yacc.tmp y.tab.h
738 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=realclean "DODIRS=$(SUBDIRS)" subdir_do
739 rm -f c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
$(INFOFILES
)
740 rm -f nm.h tm.h xm.h config.status
741 rm -f y.output
yacc.acts
yacc.tmp
744 diststuff
: $(DISTSTUFF
)
745 (cd doc
; $(MAKE
) $(MFLAGS
) GDBvn.texi
)
746 $(MAKE
) $(MFLAGS
) gdb.
info
747 $(MAKE
) $(MFLAGS
) refcard.ps
750 @for i in
$(DODIRS
); do \
751 if
[ -f .
/$$i/Makefile
] ; then \
753 $(MAKE
) $(FLAGS_TO_PASS
) $(DO
)) ; then true
; \
758 Makefile
: Makefile.in
$(host_makefile_frag
) $(target_makefile_frag
)
759 $(SHELL
) config.status
764 # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
766 ( cd doc
; $(MAKE
) refcard.
dvi $(FLAGS_TO_PASS
) )
769 # GDB QUICK REFERENCE (PostScript output, common PS fonts)
771 ( cd doc
; $(MAKE
) refcard.ps
$(FLAGS_TO_PASS
) )
774 # GDB MANUAL: TeX dvi file
776 ( cd doc
; $(MAKE
) gdb.
dvi $(FLAGS_TO_PASS
) )
779 # GDB MANUAL: info file
781 ( cd doc
; $(MAKE
) gdb.
info $(FLAGS_TO_PASS
) )
784 # Make copying.c from COPYING
785 copying.c
: COPYING copying.awk
786 awk
-f
$(srcdir)/copying.awk
< $(srcdir)/COPYING
> copying.c
789 echo
'char *version = "$(VERSION)";' >version.c
790 echo
'char *host_name = "$(host_alias)";' >> version.c
791 echo
'char *target_name = "$(target_alias)";' >> version.c
793 # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
794 # in srcdir, then compiled in objdir to c-exp.tab.o.
796 # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
797 # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
799 # Remove bogus decls for malloc/realloc/free which conflict with everything
800 # else. Strictly speaking c-exp.tab.c should therefore depend on
801 # Makefile.in, but that was a pretty big annoyance.
802 c-exp.tab.o
: c-exp.tab.c
804 $(YACC
) $(YFLAGS
) $(srcdir)/c-exp.y
805 -sed
-e
'/extern.*malloc/d' \
806 -e
'/extern.*realloc/d' \
807 -e
'/extern.*free/d' \
808 -e
'/include.*malloc.h/d' \
809 -e
's/malloc/xmalloc/g' \
810 -e
's/realloc/xrealloc/g' \
811 < y.tab.c
> c-exp.new
813 mv c-exp.new .
/c-exp.tab.c
815 # ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
816 # in srcdir, then compiled in objdir to ch-exp.tab.o.
817 # Remove bogus decls for malloc/realloc/free which conflict with everything
819 ch-exp.tab.o
: ch-exp.tab.c
820 # the dependency here on c-exp.tab.c is artificial. Without this
821 # dependency, a parallel make will attempt to build both at the same
822 # time and the second yacc will pollute the first y.tab.c file.
823 ch-exp.tab.c
: ch-exp.y c-exp.tab.c
824 $(YACC
) $(YFLAGS
) $(srcdir)/ch-exp.y
825 -sed
-e
'/extern.*malloc/d' \
826 -e
'/extern.*realloc/d' \
827 -e
'/extern.*free/d' \
828 -e
'/include.*malloc.h/d' \
829 -e
's/malloc/xmalloc/g' \
830 -e
's/realloc/xrealloc/g' \
831 < y.tab.c
> ch-exp.new
833 mv ch-exp.new .
/ch-exp.tab.c
835 # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
836 # in srcdir, then compiled in objdir to m2-exp.tab.o.
837 # Remove bogus decls for malloc/realloc/free which conflict with everything
839 m2-exp.tab.o
: m2-exp.tab.c
840 # the dependency here on ch-exp.tab.c is artificial. Without this
841 # dependency, a parallel make will attempt to build both at the same
842 # time and the second yacc will pollute the first y.tab.c file.
843 m2-exp.tab.c
: m2-exp.y ch-exp.tab.c
844 $(YACC
) $(YFLAGS
) $(srcdir)/m2-exp.y
845 -sed
-e
'/extern.*malloc/d' \
846 -e
'/extern.*realloc/d' \
847 -e
'/extern.*free/d' \
848 -e
'/include.*malloc.h/d' \
849 -e
's/malloc/xmalloc/g' \
850 -e
's/realloc/xrealloc/g' \
851 < y.tab.c
> m2-exp.new
853 mv m2-exp.new .
/m2-exp.tab.c
855 # These files are updated atomically, so make never has to remove them
856 .PRECIOUS
: m2-exp.tab.c ch-exp.tab.c c-exp.tab.c
859 $(LINT
) $(INCLUDE_CFLAGS
) $(LINTFLAGS
) $(LINTFILES
) \
860 `echo $(DEPFILES) | sed 's/\.o /\.c /g'
863 cxref -I. $(SFILES) >gdb.cxref
867 # GNU Make has an annoying habit of putting *all* the Makefile variables
868 # into the environment, unless you include this target as a circumvention.
869 # Rumor is that this will be fixed (and this target can be removed)
873 # GNU Make 3.63 has a different problem: it keeps tacking command line
874 # overrides onto the definition of $(MAKE). This variable setting
878 ## This is ugly, but I don't want GNU make to put these variables in
879 ## the environment. Older makes will see this as a set of targets
880 ## with no dependencies and no actions.
881 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
883 # These are things from config/*/*.m? fragments. There is no good reason
884 # why they are separate from the lists of files above.
886 ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
887 29k-share/udi/udi2go32.c \
888 a29k-pinsn.c a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
889 altos-xdep.c arm-convert.s \
890 arm-pinsn.c arm-tdep.c arm-xdep.c coff-solib.c convex-pinsn.c \
892 convex-xdep.c core-sol2.c core-svr4.c coredep.c corelow.c dcache.c \
893 delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
894 go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
895 hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
896 i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
897 i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
899 i960-pinsn.c i960-tdep.c \
900 infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
901 lynx-nat.c m3-nat.c \
902 m68k-pinsn.c m68k-tdep.c \
903 m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
904 mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
905 nindy-share/Onindy.c nindy-share/nindy.c \
906 nindy-share/ttyflush.c nindy-tdep.c \
907 ns32k-pinsn.c ns32km3-nat.c osfsolib.c \
908 somread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
909 remote-adapt.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c \
910 remote-hms.c remote-mips.c \
911 remote-mm.c remote-mon.c remote-nindy.c remote-os9k.c remote-sim.c \
912 remote-st.c remote-utils.c dcache.c \
913 remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
914 rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
915 sparc-pinsn.c sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
916 symm-tdep.c symm-nat.c \
917 tahoe-pinsn.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
919 vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
920 xcoffexec.c xcoffread.c xcoffsolib.c z8k-tdep.c
922 ALLPARAM = config/a29k/nm-ultra3.h config/a29k/tm-a29k.h \
923 config/a29k/tm-ultra3.h config/a29k/xm-ultra3.h \
924 config/alpha/nm-alpha.h config/alpha/tm-alpha.h \
925 config/alpha/xm-alpha.h config/arm/tm-arm.h \
926 config/arm/xm-arm.h config/convex/tm-convex.h \
927 config/convex/xm-convex.h config/gould/tm-np1.h config/gould/tm-pn.h \
928 config/gould/xm-np1.h config/gould/xm-pn.h config/h8300/tm-h8300.h \
929 config/h8500/tm-h8500.h config/i386/nm-i386aix.h \
930 config/i386/nm-i386bsd.h config/i386/nm-i386lynx.h \
931 config/i386/nm-i386mach.h config/i386/nm-i386sco.h \
932 config/i386/nm-i386sco4.h config/i386/nm-i386v.h \
933 config/i386/nm-i386v4.h config/i386/nm-linux.h \
934 config/i386/nm-sun386.h config/i386/nm-symmetry.h \
935 config/i386/tm-i386aix.h config/i386/tm-i386bsd.h \
936 config/i386/tm-i386lynx.h config/i386/tm-i386m3.h \
937 config/i386/tm-i386mk.h config/i386/tm-i386nw.h \
938 config/i386/tm-i386v.h \
939 config/i386/tm-i386v4.h config/i386/tm-linux.h \
940 config/i386/tm-sun386.h \
941 config/i386/tm-symmetry.h config/i386/xm-go32.h \
942 config/i386/xm-i386aix.h config/i386/xm-i386bsd.h \
943 config/i386/xm-i386lynx.h config/i386/xm-i386mach.h \
944 config/i386/xm-i386m3.h config/i386/xm-i386mk.h \
945 config/i386/xm-i386sco.h config/i386/xm-i386v.h \
946 config/i386/xm-i386v32.h config/i386/xm-i386v4.h \
947 config/i386/xm-linux.h config/i386/xm-sun386.h \
948 config/i386/xm-symmetry.h config/i960/tm-nindy960.h \
949 config/i960/tm-vx960.h config/m68k/nm-apollo68b.h \
950 config/m68k/nm-apollo68v.h config/m68k/nm-delta68.h \
951 config/m68k/nm-dpx2.h config/m68k/nm-hp300bsd.h \
952 config/m68k/nm-hp300hpux.h config/m68k/nm-news.h \
953 config/m68k/nm-m68klynx.h \
954 config/m68k/nm-sun2.h \
955 config/m68k/nm-sun3.h config/m68k/tm-3b1.h config/m68k/tm-altos.h \
956 config/m68k/tm-apollo68b.h \
957 config/m68k/tm-amix.h \
958 config/m68k/tm-cisco.h config/m68k/tm-delta68.h \
959 config/m68k/tm-dpx2.h config/m68k/tm-es1800.h \
960 config/m68k/tm-hp300bsd.h config/m68k/tm-hp300hpux.h \
961 config/m68k/tm-isi.h config/m68k/tm-m68klynx.h \
962 config/m68k/tm-monitor.h \
963 config/m68k/tm-news.h config/m68k/tm-os68k.h config/m68k/tm-st2000.h \
964 config/m68k/tm-sun2.h config/m68k/tm-sun2os4.h config/m68k/tm-sun3.h \
965 config/m68k/tm-sun3os4.h config/m68k/tm-vx68.h config/m68k/xm-3b1.h \
966 config/m68k/xm-altos.h config/m68k/xm-amix.h \
967 config/m68k/xm-apollo68b.h config/m68k/xm-apollo68v.h \
968 config/m68k/xm-delta68.h config/m68k/xm-dpx2.h \
969 config/m68k/xm-hp300bsd.h config/m68k/xm-hp300hpux.h \
970 config/m68k/xm-isi.h config/m68k/xm-m68klynx.h \
971 config/m68k/xm-news.h config/m68k/xm-news1000.h \
972 config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
973 config/m88k/nm-delta88v4.h config/m88k/nm-m88k.h \
974 config/m88k/tm-delta88.h \
975 config/m88k/tm-delta88v4.h config/m88k/tm-m88k.h \
976 config/m88k/xm-delta88.h config/m88k/xm-delta88v4.h \
977 config/m88k/xm-dgux.h config/m88k/xm-m88k.h \
978 config/mips/nm-irix3.h \
979 config/mips/nm-irix4.h config/mips/nm-irix5.h \
980 config/mips/nm-mips.h config/mips/nm-riscos.h \
981 config/mips/nm-news-mips.h config/mips/tm-bigmips.h \
982 config/mips/tm-bigmips64.h \
983 config/mips/tm-idt.h config/mips/tm-idtl.h \
984 config/mips/tm-idt64.h config/mips/tm-idtl64.h \
985 config/mips/tm-irix3.h config/mips/tm-irix5.h \
986 config/mips/tm-mips.h config/mips/tm-mips64.h \
987 config/mips/tm-mipsm3.h config/mips/tm-mipsv4.h \
988 config/mips/xm-irix3.h \
989 config/mips/xm-irix4.h config/mips/xm-irix5.h \
990 config/mips/xm-mips.h \
991 config/mips/xm-mipsm3.h config/mips/xm-mipsv4.h \
992 config/mips/xm-riscos.h config/mips/xm-news-mips.h \
993 config/nm-lynx.h config/nm-sysv4.h \
994 config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
995 config/ns32k/nm-umax.h \
996 config/ns32k/tm-ns32km3.h \
997 config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
998 config/ns32k/xm-ns32km3.h \
999 config/ns32k/xm-merlin.h config/ns32k/xm-umax.h \
1000 config/pa/nm-hppab.h \
1001 config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
1002 config/pa/xm-hppab.h config/pa/xm-hppah.h config/pa/xm-pa.h \
1003 config/pyr/tm-pyr.h \
1004 config/pyr/xm-pyr.h config/romp/xm-rtbsd.h config/rs6000/nm-rs6000.h \
1005 config/rs6000/tm-rs6000ly.h config/rs6000/xm-rs6000ly.h \
1006 config/rs6000/nm-rs6000ly.h \
1007 config/rs6000/tm-rs6000.h config/rs6000/xm-rs6000.h config/sh/tm-sh.h \
1008 config/sparc/nm-sun4os4.h config/sparc/nm-sparclynx.h \
1009 config/sparc/tm-sparclite.h config/sparc/tm-sparclynx.h \
1010 config/sparc/tm-spc-em.h config/sparc/tm-sun4os4.h \
1011 config/sparc/tm-sun4sol2.h config/sparc/tm-vxsparc.h \
1012 config/sparc/xm-sparclynx.h \
1013 config/sparc/xm-sun4os4.h config/sparc/xm-sun4sol2.h \
1014 config/tahoe/tm-tahoe.h config/tahoe/xm-tahoe.h config/vax/nm-vax.h \
1015 config/vax/tm-vax.h config/vax/xm-vaxbsd.h config/vax/xm-vaxult.h \
1016 config/vax/xm-vaxult2.h config/z8k/tm-z8k.h
1018 ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
1019 config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
1020 config/alpha/alpha-osf1.mh config/alpha/alpha-osf1.mt \
1021 config/alpha/alpha-nw.mt \
1022 config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
1023 config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
1024 config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
1025 config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
1026 config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
1027 config/i386/i386bsd.mt config/i386/i386lynx.mh \
1028 config/i386/i386lynx.mt config/i386/i386m3.mh config/i386/i386m3.mt \
1029 config/i386/i386mach.mh config/i386/i386mk.mh config/i386/i386mk.mt \
1030 config/i386/i386nw.mt config/i386/i386sco.mh \
1031 config/i386/i386sco4.mh \
1032 config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
1033 config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
1034 config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
1035 config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
1036 config/i386/sun386.mh \
1037 config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
1038 config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
1039 config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
1040 config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
1041 config/m68k/apollo68b.mt \
1042 config/m68k/apollo68v.mh \
1043 config/m68k/cisco.mt config/m68k/delta68.mh \
1044 config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
1045 config/m68k/es1800.mt config/m68k/hp300bsd.mh \
1046 config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
1047 config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
1048 config/m68k/m68klynx.mh config/m68k/m68klynx.mt \
1049 config/m68k/monitor.mt \
1050 config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
1051 config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
1052 config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
1053 config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
1054 config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
1055 config/m88k/delta88.mt config/m88k/delta88v4.mh \
1056 config/m88k/delta88v4.mt config/m88k/m88k.mh config/m88k/m88k.mt \
1057 config/mips/bigmips.mt config/mips/bigmips64.mt \
1058 config/mips/decstation.mh \
1059 config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
1060 config/mips/idt64.mt config/mips/idtl64.mt \
1061 config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
1062 config/mips/irix5.mh config/mips/irix5.mt \
1063 config/mips/littlemips.mh config/mips/littlemips.mt \
1064 config/mips/mipsel64.mt \
1065 config/mips/mipsm3.mh config/mips/mipsm3.mt \
1066 config/mips/mipsv4.mh config/mips/mipsv4.mt \
1067 config/mips/news-mips.mh config/mips/riscos.mh \
1068 config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
1069 config/ns32k/merlin.mt config/ns32k/ns32km3.mh config/ns32k/ns32km3.mt \
1070 config/ns32k/umax.mh config/ns32k/umax.mt \
1071 config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
1072 config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
1073 config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
1074 config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
1075 config/sparc/sparclynx.mh config/sparc/sparclynx.mt \
1076 config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
1077 config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
1078 config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
1079 config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
1080 config/vax/vaxult2.mh config/z8k/z8ksim.mt
1083 udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
1084 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
1086 udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
1087 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
1089 udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
1090 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
1092 a29k-pinsn.o: a29k-pinsn.c $(bfd_h) $(dis-asm_h)
1093 a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
1094 a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1096 alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1098 alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1099 $(inferior_h) $(symtab_h) $(dis-asm.h)
1101 altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1103 annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h)
1105 arm-pinsn.o: arm-pinsn.c $(OP_INCLUDE)/arm.h $(defs_h) $(symtab_h)
1107 blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1108 objfiles.h symfile.h target.h
1110 breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1111 $(inferior_h) language.h target.h thread.h
1113 buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1114 objfiles.h symfile.h $(symtab_h)
1116 c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1117 language.h parser-defs.h $(symtab_h)
1119 c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
1120 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1121 typeprint.h $(value_h)
1123 c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1124 language.h $(symtab_h) valprint.h $(value_h)
1126 ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1127 language.h parser-defs.h $(symtab_h)
1129 ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
1130 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1131 target.h $(value_h) typeprint.h
1133 ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1134 language.h $(symtab_h) valprint.h $(value_h) c-lang.h
1136 coff-solib.o: coff-solib.c $(defs_h)
1138 coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
1139 complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
1140 symfile.h $(symtab_h) gdb-stabs.h stabsread.h
1142 command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1143 $(gdbtypes_h) $(symtab_h) $(value_h)
1145 complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
1147 convex-pinsn.o: convex-pinsn.c $(OP_INCLUDE)/convex.h $(defs_h) \
1150 convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1151 $(gdbcore_h) $(inferior_h)
1153 convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1156 core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \
1157 $(inferior_h) target.h
1159 core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \
1160 $(inferior_h) target.h
1162 core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1163 $(inferior_h) target.h language.h
1165 coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h)
1167 corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1170 cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1171 $(gdbtypes_h) $(symtab_h) $(value_h)
1173 dcache.o: dcache.c $(dcache_h)
1175 dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
1176 complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
1177 $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
1178 symfile.h $(symtab_h) target.h
1180 dcache.o: dcache.c $(dcache_h)
1182 delta68-nat.o: delta68-nat.c $(defs_h)
1184 demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
1186 dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1187 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1190 elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1191 gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1193 environ.o: environ.c $(defs_h) environ.h $(gdbcore_h)
1195 eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1196 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1198 exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1201 expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1202 language.h parser-defs.h $(symtab_h) $(value_h)
1204 findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1206 fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
1207 $(inferior_h) target.h terminal.h thread.h
1209 gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
1210 $(bfd_h) symfile.h objfiles.h target.h
1211 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/gdbtk.c \
1212 -DGDBTK_FILENAME=\"$(libdir)/gdbtk.tcl\"
1214 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
1215 $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
1218 go32-xdep.o: go32-xdep.c
1220 gould-pinsn.o: gould-pinsn.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
1221 $(gdbcore_h) $(symtab_h)
1223 gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1224 h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1226 h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
1227 $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
1230 hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1231 hppa-pinsn.o: hppa-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1233 hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1234 $(inferior_h) objfiles.h symfile.h target.h
1236 hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1237 hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1238 i386-pinsn.o: i386-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1239 i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1240 i386b-nat.o: i386b-nat.c $(defs_h)
1241 i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1242 i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h
1243 i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1245 i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1246 $(inferior_h) language.h target.h
1248 i386v4-nat.o: i386v4-nat.c $(defs_h)
1250 i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1251 $(inferior_h) language.h
1253 i960-pinsn.o: i960-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1255 i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
1256 $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1258 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
1259 $(inferior_h) target.h language.h
1261 inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
1262 signals.h target.h terminal.h thread.h
1264 infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1266 infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1267 $(inferior_h) target.h thread.h
1269 inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1270 target.h terminal.h $(command_h)
1272 irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h)
1273 isi-xdep.o: isi-xdep.c
1275 language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1276 $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
1279 m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1280 language.h m2-lang.h parser-defs.h $(symtab_h)
1282 m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1283 $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
1286 m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
1289 m68k-pinsn.o: m68k-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1290 m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1291 m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1292 m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1293 m88k-pinsn.o: m88k-pinsn.c $(defs_h) $(symtab_h)
1294 m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1296 top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
1297 $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
1300 main.o: main.c top.h $(defs_h)
1302 annotate.o: annotate.c annotate.h $(defs_h) value.h target.h $(gdbtypes_h)
1304 maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
1307 mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1308 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1309 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1311 os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(def_h) \
1312 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1313 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1315 mem-break.o: mem-break.c $(defs_h)
1317 minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1320 mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1321 mips-pinsn.o: mips-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1323 mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1324 $(inferior_h) language.h objfiles.h symfile.h
1326 mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1327 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1328 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1330 mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1332 news-xdep.o: news-xdep.c
1334 Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
1336 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
1338 nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
1340 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
1342 nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1343 gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h
1345 ttyflush.o: nindy-share/ttyflush.c
1346 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
1348 nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1350 ns32k-pinsn.o: ns32k-pinsn.c $(defs_h) $(gdbcore_h) ns32k-opcode.h \
1353 objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1356 osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1357 objfiles.h regex.h symfile.h target.h language.h
1359 somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1360 gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1362 parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
1363 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
1365 printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
1366 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1367 $(symtab_h) target.h
1369 procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1372 pyr-pinsn.o: pyr-pinsn.c $(OP_INCLUDE)/pyr.h $(defs_h) $(gdbcore_h) \
1375 pyr-tdep.o: pyr-tdep.c $(defs_h)
1376 pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1378 regex.o: regex.c regex.h
1380 remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
1381 $(inferior_h) target.h terminal.h
1383 remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
1384 $(inferior_h) target.h terminal.h $(remote_utils_h)
1386 remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
1387 $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
1389 remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
1390 $(inferior_h) $(remote_utils_h) terminal.h
1392 remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
1393 $(inferior_h) serial.h target.h terminal.h
1395 remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1396 $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
1398 remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
1399 minimon.h target.h terminal.h
1401 remote-mon.o: remote-mon.c $(wait_h) $(command_h) $(defs_h) \
1402 $(gdbcore_h) monitor.h serial.h target.h
1404 remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \
1405 $(defs_h) $(gdbcore_h) $(inferior_h) \
1406 nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
1409 remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
1410 $(inferior_h) target.h terminal.h
1412 remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
1415 remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1416 $(inferior_h) target.h terminal.h $(udiheaders)
1418 remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1419 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1420 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
1423 remote-z8k.o: remote-z8k.c $(wait_h) $(srcdir)/../sim/z8k/sim.h \
1424 $(defs_h) $(gdbcore_h) $(inferior_h) target.h terminal.h
1426 remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1427 $(inferior_h) $(remote_utils_h)
1429 remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1430 $(inferior_h) $(remote_utils_h) symfile.h terminal.h
1432 rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1434 rs6000-pinsn.o: rs6000-pinsn.c $(OP_INCLUDE)/rs6k.h $(defs_h)
1436 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1437 target.h xcoffsolib.h
1439 ser-go32.o: ser-go32.c $(defs_h) serial.h
1440 ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h
1441 ser-unix.o: ser-unix.c $(defs_h) serial.h
1442 serial.o: serial.c $(defs_h) serial.h
1444 sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
1445 $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
1446 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1448 solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1449 objfiles.h regex.h symfile.h target.h
1451 source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1452 $(gdbcore_h) language.h objfiles.h regex.h symfile.h $(symtab_h)
1454 sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1455 sparc-pinsn.o: sparc-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1457 sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1458 $(inferior_h) objfiles.h symfile.h target.h
1460 sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h
1462 stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1463 $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
1464 $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h)
1466 stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1469 sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1470 sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1472 symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
1473 $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
1474 language.h objfiles.h symfile.h $(symtab_h) target.h
1476 symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1477 symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1479 symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
1480 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1483 symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
1484 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1485 regex.h symfile.h $(symtab_h) target.h $(value_h)
1487 tahoe-pinsn.o: tahoe-pinsn.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
1490 target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
1491 objfiles.h symfile.h target.h
1493 thread.o: thread.c $(defs_h) thread.h $(gdbcmd_h)
1495 typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1496 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1499 ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1500 ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1501 umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1503 utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
1504 language.h signals.h target.h terminal.h $(readline_headers)
1506 valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
1507 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1509 valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1511 valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1512 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1515 values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1516 $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h)
1518 vax-pinsn.o: vax-pinsn.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
1520 xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
1521 vx-share/vxWorks.h vx-share/xdr_ld.h
1522 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
1524 xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
1525 vx-share/vxWorks.h vx-share/xdr_ptrace.h
1526 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
1528 xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
1529 vx-share/vxWorks.h vx-share/xdr_rdb.h
1530 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
1532 xcoffexec.o: xcoffexec.c $(BFD_SRC)/libbfd.h $(defs_h) $(gdbcmd_h) \
1533 $(gdbcore_h) $(inferior_h) objfiles.h symfile.h target.h xcoffsolib.h
1535 xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1536 $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
1537 $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
1538 complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
1541 xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
1543 z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
1544 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
1546 c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
1547 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1548 $(bfd_h) objfiles.h symfile.h
1550 ch-exp.tab.o: ch-exp.tab.c ch-lang.h $(defs_h) $(expression_h) \
1551 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1552 $(bfd_h) objfiles.h symfile.h
1554 m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1555 language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
1556 $(bfd_h) objfiles.h symfile.h
1558 ### end of the gdb Makefile.in.