1 # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998
2 # Free Software Foundation, Inc.
4 # This file is part of GDB.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 exec_prefix = @exec_prefix@
23 host_alias = @host_alias@
24 target_alias = @target_alias@
25 program_transform_name = @program_transform_name@
28 tooldir = $(libdir)/$(target_alias)
32 man1dir = $(mandir)/man1
33 man2dir = $(mandir)/man2
34 man3dir = $(mandir)/man3
35 man4dir = $(mandir)/man4
36 man5dir = $(mandir)/man5
37 man6dir = $(mandir)/man6
38 man7dir = $(mandir)/man7
39 man8dir = $(mandir)/man8
40 man9dir = $(mandir)/man9
42 includedir = @includedir@
44 # This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT.
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
61 # Flags that describe where you can find the termcap library.
62 # This can be overridden in the host Makefile fragment file.
65 # If you are compiling with GCC, make sure that either 1) You have the
66 # fixed include files where GCC can reach them, or 2) You use the
67 # -traditional flag. Otherwise the ioctl calls in inflow.c
68 # will be incorrectly compiled. The "fixincludes" script in the gcc
69 # distribution will fix your include files up.
72 # Directory containing source files.
78 # where to find makeinfo, preferably one designed for texinfo-2
81 # Set this up with gcc if you have gnu ld and the loader will print out
82 # line numbers for undefined references.
86 # Where is our "include" directory? Typically $(srcdir)/../include.
87 # This is essentially the header file directory for the library
88 # routines in libiberty.
89 INCLUDE_DIR = $(srcdir)/../include
90 INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
92 # Where is the "-liberty" library? Typically in ../libiberty.
93 LIBIBERTY = ../libiberty/libiberty.a
95 # Configured by the --with-mmalloc option to configure.
97 MMALLOC_CFLAGS = @MMALLOC_CFLAGS@
99 # Where is the BFD library? Typically in ../bfd.
101 BFD = $(BFD_DIR)/libbfd.a
102 BFD_SRC = $(srcdir)/$(BFD_DIR)
103 BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
105 # Where is the READLINE library? Typically in ../readline.
106 READLINE_DIR = ../readline
107 READLINE = $(READLINE_DIR)/libreadline.a
108 READLINE_SRC = $(srcdir)/$(READLINE_DIR)
109 READLINE_CFLAGS = -I$(READLINE_SRC)
111 # Where is the INTL library? Typically in ../intl.
114 INTL_DEPS = @INTLDEPS@
115 INTL_SRC = $(srcdir)/$(INTL_DIR)
116 INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
118 # Opcodes currently live in one of two places. Either they are in the
119 # opcode library, typically ../opcodes, or they are in a header file
121 # Where is the "-lopcodes" library, with (some of) the opcode tables and
123 OPCODES = ../opcodes/libopcodes.a
124 # Where are the other opcode tables which only have header file
126 OP_INCLUDE = $(INCLUDE_DIR)/opcode
127 OPCODES_CFLAGS = -I$(OP_INCLUDE)
129 # The simulator is usually nonexistent; targets that include one
130 # should set this to list all the .o or .a files to be linked in.
133 #start-sanitize-gdbtk
134 # Where is the TCL library? Typically in ../tcl.
135 LIB_INSTALL_DIR = $(libdir)
136 # This variable is needed when doing dynamic linking.
137 LIB_RUNTIME_DIR = $(libdir)
138 TCL = @TCL_LD_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
139 TCL_CFLAGS = @TCLHDIR@
141 GDBTKLIBS = @GDBTKLIBS@
143 # Where is the TK library? Typically in ../tk.
144 TK = @TK_BUILD_LIB_SPEC@
145 TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
148 # Where is Itcl? Typically in ../itcl.
149 ITCL_CFLAGS = @ITCLHDIR@
153 # Where is Tix? Typically in ../tix.
154 TIX_CFLAGS = @TIXHDIR@
156 TIX_DEPS = @TIX_DEPS@
158 X11_CFLAGS = @TK_XINCLUDES@
162 WIN32LDAPP = @WIN32LDAPP@
163 WIN32LIBS = @WIN32LIBS@
165 ENABLE_GDBTK= @ENABLE_GDBTK@
166 ENABLE_IDE= @ENABLE_IDE@
168 LIBGUI = ../libgui/src/libgui.a
170 GUI_CFLAGS_X = -I$(srcdir)/../libgui/src
172 IDE_CFLAGS_X = -I$(srcdir)/../libidetcl/src -I$(srcdir)/../libide/src \
173 `if [ x"$(ENABLE_IDE)" != x ] ; then \
174 echo -DIDE -I$(srcdir)/../ilu/runtime/mainloop;\
177 LIBIDETCL = ../libidetcl/src/libidetcl.a
178 LIBIDE = ../libide/src/libide.a
181 if [ x"$(ENABLE_IDE)" != x ] ; then \
182 echo -L../ilu/runtime/mainloop -lilu-Tk -L../ilu/runtime/c -lilu-c -L../ilu/runtime/kernel -lilu;\
185 IDE_DEPS = ../ilu/runtime/mainloop/libilu-Tk.a \
186 ../ilu/runtime/c/libilu-c.a ../ilu/runtime/kernel/libilu.a
189 IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
192 ENABLE_CFLAGS= @ENABLE_CFLAGS@
194 # -I. for config files.
195 # -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also.
196 # -I$(srcdir)/config for more generic config files.
198 # It is also possible that you will need to add -I/usr/include/sys if
199 # your system doesn't have fcntl.h in /usr/include (which is where it
200 # should be according to Posix).
202 GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config $(DEFS)
204 # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
205 # from the config directory.
206 GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
207 #PROFILE_CFLAGS = -pg
209 # CFLAGS is specifically reserved for setting from the command line
210 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
213 # Need to pass this to testsuite for "make check". Probably should be
214 # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
215 # so "make check" has the same result no matter where it is run.
218 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
219 INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
220 $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
221 $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \
222 $(INTL_CFLAGS) $(ENABLE_CFLAGS)
224 # LDFLAGS is specifically reserved for setting from the command line
227 # Profiling options need to go here to work.
228 # I think it's perfectly reasonable for a user to set -pg in CFLAGS
229 # and have it work; that's why CFLAGS is here.
230 INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(LDFLAGS) @CONFIG_LDFLAGS@ @HLDFLAGS@
233 # We are using our own version of REGEX now to be consistent across
238 # If your system is missing alloca(), or, more likely, it's there but
239 # it doesn't work, then refer to libiberty.
241 # Libraries and corresponding dependencies for compiling gdb.
242 # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
243 # TERMCAP comes after readline, since readline depends on it.
244 # MMALLOC comes after anything else that might want an allocation function.
245 # LIBIBERTY appears twice on purpose.
246 # If you have the Cygnus libraries installed,
247 # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
248 INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \
249 $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
250 -lmmalloc -lintl -liberty
251 CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \
252 $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
253 $(MMALLOC) $(LIBIBERTY) $(WIN32LIBS)
254 CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
255 $(OPCODES) $(MMALLOC) $(INTL_DEPS) $(LIBIBERTY) @CONFIG_DEPS@
257 ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
258 ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
264 LINTFLAGS= $(BFD_CFLAGS)
266 RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \
267 echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \
272 # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
273 # interface to the serial port. Hopefully if get ported to OS/2, VMS,
274 # etc., then there will be (as part of the C library or perhaps as
275 # part of libiberty) a POSIX interface. But at least for now the
276 # host-dependent makefile fragment might need to use something else
278 SER_HARDWIRE = ser-unix.o
280 # The `remote' debugging target is supported for most architectures,
281 # but not all (e.g. 960)
282 REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o
284 # This is remote-sim.o if a simulator is to be linked in.
287 ANNOTATE_OBS = annotate.o
289 # Host and target-dependent makefile fragments come in here.
291 @target_makefile_frag@
292 # End of host and target-dependent makefile fragments
296 "exec_prefix=$(exec_prefix)" \
297 "against=$(against)" \
299 "AR_FLAGS=$(AR_FLAGS)" \
302 "CHILLFLAGS=$(CHILLFLAGS)" \
304 "CHILL_LIB=$(CHILL_LIB)" \
306 "CXXFLAGS=$(CXXFLAGS)" \
307 "DLLTOOL=$(DLLTOOL)" \
309 "MAKEINFO=$(MAKEINFO)" \
310 "INSTALL=$(INSTALL)" \
311 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
312 "INSTALL_DATA=$(INSTALL_DATA)" \
313 "RUNTEST=$(RUNTEST)" \
314 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
316 # Flags that we pass when building the testsuite.
318 # empty for native, $(target_alias)/ for cross
319 target_subdir = @target_subdir@
322 if [ -f $${rootme}/../gcc/xgcc ] ; then \
323 if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
324 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \
326 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
329 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
332 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
338 if [ -f $${rootme}/../gcc/xgcc ] ; then \
339 if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
340 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \
342 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
345 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
348 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
352 CHILLFLAGS = $(CFLAGS)
354 CHILL_FOR_TARGET = ` \
355 if [ -f $${rootme}/../gcc/Makefile ] ; then \
356 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../gcc/ch/runtime/; \
358 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
361 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
365 if [ -f $${rootme}/../gcc/ch/runtime/libchill.a ] ; then \
366 echo $${rootme}/../gcc/ch/runtime/chillrt0.o \
367 $${rootme}/../gcc/ch/runtime/libchill.a; \
372 # The use of $$(x_FOR_TARGET) reduces the command line length by not
373 # duplicating the lengthy definition.
374 TARGET_FLAGS_TO_PASS = \
376 "exec_prefix=$(exec_prefix)" \
377 "against=$(against)" \
378 'CC=$$(CC_FOR_TARGET)' \
379 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
381 "CHILLFLAGS=$(CHILLFLAGS)" \
382 'CHILL=$$(CHILL_FOR_TARGET)' \
383 "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
384 "CHILL_LIB=$(CHILL_LIB)" \
385 'CXX=$$(CXX_FOR_TARGET)' \
386 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
387 "CXXFLAGS=$(CXXFLAGS)" \
388 "INSTALL=$(INSTALL)" \
389 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
390 "INSTALL_DATA=$(INSTALL_DATA)" \
391 "MAKEINFO=$(MAKEINFO)" \
392 "RUNTEST=$(RUNTEST)" \
393 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
395 # All source files that go into linking GDB.
396 # Links made at configuration time should not be specified here, since
397 # SFILES is used in building the distribution archive.
399 SFILES = bcache.c blockframe.c breakpoint.c buildsym.c c-exp.y \
400 c-lang.c c-typeprint.c c-valprint.c ch-exp.c ch-lang.c \
401 ch-typeprint.c ch-valprint.c coffread.c command.c complaints.c \
402 corefile.c cp-valprint.c \
403 dbxread.c demangle.c dwarfread.c dwarf2read.c \
404 elfread.c environ.c eval.c expprint.c \
405 f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
406 gdbtypes.c infcmd.c inflow.c infrun.c language.c \
407 jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
408 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
409 mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
410 printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c scm-valprint.c \
411 source.c stabsread.c stack.c symfile.c symmisc.c \
412 symtab.c target.c thread.c top.c \
413 tracepoint.c typeprint.c utils.c \
414 valarith.c valops.c valprint.c values.c \
415 serial.c ser-unix.c mdebugread.c os9kread.c
417 LINTFILES = $(SFILES) $(YYFILES) @CONFIG_SRCS@ init.c
419 # "system" headers. Using these in dependencies is a rather personal
420 # choice. (-rich, summer 1993)
421 # (Why would we not want to depend on them? If one of these changes in a
422 # non-binary-compatible way, it is a real pain to remake the right stuff
423 # without these dependencies -kingdon, 13 Mar 1994)
424 getopt_h = $(INCLUDE_DIR)/getopt.h
425 floatformat_h = $(INCLUDE_DIR)/floatformat.h
426 bfd_h = $(BFD_DIR)/bfd.h
427 wait_h = $(INCLUDE_DIR)/wait.h
428 dis-asm_h = $(INCLUDE_DIR)/dis-asm.h
429 remote-sim_h = $(INCLUDE_DIR)/remote-sim.h
432 remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h $(remote-sim_h)
436 $(READLINE_SRC)/chardefs.h \
437 $(READLINE_SRC)/history.h \
438 $(READLINE_SRC)/keymaps.h \
439 $(READLINE_SRC)/readline.h
442 $(srcdir)/29k-share/udi/udiproc.h \
443 $(srcdir)/29k-share/udi/udiphcfg.h \
444 $(srcdir)/29k-share/udi/udiphunix.h \
445 $(srcdir)/29k-share/udi/udiptcfg.h \
446 $(srcdir)/29k-share/udi/udipt29k.h \
447 $(srcdir)/29k-share/udi/udisoc.h
449 gdbcore_h = gdbcore.h $(bfd_h)
452 symtab_h = symtab.h bcache.h
453 gdbtypes_h = gdbtypes.h
454 expression_h = expression.h
455 value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
457 breakpoint_h = breakpoint.h $(frame_h) $(value_h)
459 command_h = command.h
460 gdbcmd_h = gdbcmd.h $(command_h)
462 defs_h = defs.h xm.h tm.h nm.h config.status config.h
464 inferior_h = inferior.h $(breakpoint_h)
465 tracepoint_h = tracepoint.h
467 # Header files that need to have srcdir added. Note that in the cases
468 # where we use a macro like $(gdbcmd_h), things are carefully arranged
469 # so that each .h file is listed exactly once (M-x tags-search works
470 # wrong if TAGS has files twice). Because this is tricky to get
471 # right, it is probably easiest just to list .h files here directly.
473 HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
474 dst.h environ.h $(gdbcmd_h) gdbcore.h \
475 gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
476 objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
477 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
478 c-lang.h ch-lang.h f-lang.h jv-lang.h m2-lang.h \
479 complaints.h valprint.h \
480 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
481 nindy-share/block_io.h nindy-share/coff.h \
482 nindy-share/env.h nindy-share/stop.h \
483 vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
484 vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
485 vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \
486 dcache.h remote-utils.h top.h somsolib.h
488 # Header files that already have srcdir in them, or which are in objdir.
490 HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h
493 # GDB "info" files, which should be included in their entirety
494 INFOFILES = gdb.info*
496 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
498 POSSLIBS = gnu-regex.c gnu-regex.h
500 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
501 # default their values the way we do for SER_HARDWIRE; in the future
502 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
503 # variables analogous to SER_HARDWIRE which get defaulted in this
506 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
507 $(REMOTE_OBS) $(SIM_OBS) @CONFIG_OBS@
509 SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) @CONFIG_SRCS@
510 # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
511 # and it's more useful to see it in the .y file.
512 TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
514 TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
516 COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
517 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
518 symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
519 expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
520 mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
521 exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \
522 dbxread.o coffread.o elfread.o \
523 dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
524 c-lang.o ch-exp.o ch-lang.o f-lang.o \
525 jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o \
526 scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o \
527 c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \
528 c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
529 nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o
531 OBS = $(COMMON_OBS) $(ANNOTATE_OBS) main.o
537 NTSOBS = standalone.o
539 NTSSTART = kdb-start.o
543 $(start-sanitize-mswin) \
545 $(end-sanitize-mswin) \
548 # For now, shortcut the "configure GDB for fewer languages" stuff.
549 YYFILES = c-exp.tab.c jv-exp.tab.c f-exp.tab.c m2-exp.tab.c
550 YYOBJ = c-exp.tab.o jv-exp.tab.o f-exp.tab.o m2-exp.tab.o
552 # Things which need to be built when making a distribution.
554 DISTSTUFF = $(YYFILES)
556 # Prevent Sun make from putting in the machine type. Setting
557 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
559 $(CC) -c $(INTERNAL_CFLAGS) $<
562 @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
566 # The check target can not use subdir_do, because subdir_do does not
567 # use TARGET_FLAGS_TO_PASS.
569 @if [ -f testsuite/Makefile ]; then \
570 rootme=`pwd`; export rootme; \
571 rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
573 $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
576 info dvi install-info clean-info: force
577 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
580 nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
581 pack gdb.t ; rm -f gdb.t
584 # Traditionally "install" depends on "all". But it may be useful
585 # not to; for example, if the user has made some trivial change to a
586 # source file and doesn't care about rebuilding or just wants to save the
587 # time it takes for make to check that all is up to date.
588 # install-only is intended to address that need.
589 install: all install-only
591 transformed_name=`t='$(program_transform_name)'; \
592 echo gdb | sed -e $$t` ; \
593 if test "x$$transformed_name" = x; then \
594 transformed_name=gdb ; \
598 $(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \
599 $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
600 # start-sanitize-gdbtk
601 $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl ; \
602 $(SHELL) $(srcdir)/../mkinstalldirs \
603 $(datadir)/gdbtcl/images \
604 $(datadir)/gdbtcl/images2 ; \
605 $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl/help \
606 $(datadir)/gdbtcl/help/images; \
607 cd $(srcdir)/gdbtcl2 ; \
608 for i in *.tcl images/*.gif images2/*.gif tclIndex help/*.html help/index.toc help/images/*.gif; \
610 $(INSTALL_DATA) $$i $(datadir)/gdbtcl/$$i ; \
613 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
616 transformed_name=`t='$(program_transform_name)'; \
617 echo gdb | sed -e $$t` ; \
618 if test "x$$transformed_name" = x; then \
619 transformed_name=gdb ; \
623 rm -f $(bindir)/$$transformed_name$(EXEEXT) $(man1dir)/$$transformed_name.1
624 # start-sanitize-gdbtk
625 rm -rf $(datadir)/gdbtcl
627 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
629 # We do this by grepping through sources. If that turns out to be too slow,
630 # maybe we could just require every .o file to have an initialization routine
631 # of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
633 # Formatting conventions: The name of the _initialize_* routines must start
634 # in column zero, and must not be inside #if.
636 # Note that the set of files with init functions might change, or the names
637 # of the functions might change, so this files needs to depend on all the
638 # object files that will be linked into gdb.
640 init.c: $(OBS) $(TSOBS)
643 @echo '/* Do not modify this file. */' >init.c-tmp
644 @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
645 @echo '#include "ansidecl.h"' >>init.c-tmp
646 @echo 'extern void initialize_all_files PARAMS ((void));' >>init.c-tmp
647 @echo 'void initialize_all_files PARAMS ((void)) {' >>init.c-tmp
648 @-echo $(OBS) $(TSOBS) | \
650 sed -e '/^Onindy.o/d' \
654 -e '/xdr_ptrace.o/d' \
660 -e '/^[a-z0-9A-Z_]*_[SU].o/d' \
661 -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
663 -e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
664 while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \
665 sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
666 @echo '}' >>init.c-tmp
667 @mv init.c-tmp init.c
671 # Removing the old gdb first works better if it is running, at least on SunOS.
672 gdb$(EXEEXT): $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
674 $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) \
675 init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
678 rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
680 libgdb: libgdb-files $(LIBGDB_OBS)
682 # libproc is not listed here because all-libproc is a dependency of all-gui,
683 # not all-gdb, and thus might be built after us.
684 LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
685 # libproc needs to be before libiberty for alloca.
686 LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \
687 $(ADD_DEPS) $(CDEPS) init.o
689 libgdb-files: $(LIBGDBDEPS) Makefile.in
691 for i in $(LIBGDBFILES); do\
692 echo $$i >> libgdb-files;\
695 saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
696 #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
697 #load ./init.c $(SFILES)
698 #unload $(srcdir)/c-exp.y $(srcdir)/jv-exp.y $(srcdir)/m2-exp.y
700 #unload nindy-share/[A-Z]*
701 #load c-exp.tab.c jv-exp.tab.c m2-exp.tab.c
702 #load copying.c version.c
703 #load ../opcodes/libopcodes.a
704 #load ../libiberty/libiberty.a
705 #load ../bfd/libbfd.a
706 #load ../readline/libreadline.a
707 #load ../mmalloc/libmmalloc.a
708 #load ../intl/libintl.a
710 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
711 echo "Load .c corresponding to:" $(DEPFILES)
714 # A Mach 3.0 program to force gdb back to command level
717 ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
718 stop-gdb.o $(CLIBS) $(LOADLIBES)
720 # This is useful when debugging GDB, because some Unix's don't let you run GDB
721 # on itself without copying the executable. So "make gdb1" will make
722 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
723 # Removing gdb1 before the copy is the right thing if gdb1 is open
724 # in another process.
725 gdb1$(EXEEXT): gdb$(EXEEXT)
727 cp gdb$(EXEEXT) gdb1$(EXEEXT)
729 ### fixme - this can't be right.
730 # This checks the configure.in file versus the config/ directory.
731 config-check: config-check-hosts config-check-targets
733 grep gdb_host= $(srcdir)/configure.in | \
734 sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
735 (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
736 diff -u HOSTconf.o HOSTdir.o
738 ### fixme - nor can this.
739 config-check-targets:
740 grep gdb_target= $(srcdir)/configure.in | \
741 sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
742 (cd $(srcdir)/config; ls *.mt) >TARGdir.o
743 diff -u HOSTconf.o HOSTdir.o
745 # FIXME. These are not generated by "make depend" because they only are there
747 # But these rules don't do what we want; we want to hack the foo.o: tm.h
748 # dependency to do the right thing.
749 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
750 tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
751 xm-news1000.h: xm-news.h
752 xm-i386-sv32.h: xm-i386.h
753 tm-i386gas.h: tm-i386.h
754 xm-sun4os4.h: xm-sparc.h
755 tm-sun4os4.h: tm-sparc.h
756 xm-vaxult.h: xm-vax.h
757 xm-vaxbsd.h: xm-vax.h
759 kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
760 ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
763 # Put the proper machine-specific files first, so M-. on a machine
764 # specific routine gets the one for the correct machine. (FIXME: those
765 # files go in twice; we should be removing them from the main list).
767 # TAGS depends on all the files that go into it so you can rebuild TAGS
768 # with `make TAGS' and not have to say `rm TAGS' first.
770 TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
772 @etags $(srcdir)/$(TM_FILE) \
773 $(srcdir)/$(XM_FILE) \
774 $(srcdir)/$(NAT_FILE) \
775 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
776 echo $(srcdir)/$$i ; \
777 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
779 done) | sed -e 's/\.o$$/\.c/'` \
780 `find $(srcdir)/config -name '*.h' -print`
785 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
786 rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp
787 rm -f init.c version.c
788 rm -f gdb$(EXEEXT) core make.log libgdb-files
789 rm -f gdb[0-9]$(EXEEXT)
791 # This used to depend on c-exp.tab.c m2-exp.tab.c TAGS
792 # I believe this is wrong; the makefile standards for distclean just
793 # describe removing files; the only sort of "re-create a distribution"
794 # functionality described is if the distributed files are unmodified.
796 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
797 rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
798 rm -f y.output yacc.acts yacc.tmp y.tab.h
799 rm -f config.log config.cache
802 maintainer-clean realclean: distclean clean
803 @echo "This command is intended for maintainers to use;"
804 @echo "it deletes files that may require special tools to rebuild."
805 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" subdir_do
806 rm -f c-exp.tab.c jv-exp.tab.c f-exp.tab.c m2-exp.tab.c
807 rm -f TAGS $(INFOFILES)
809 rm -f nm.h tm.h xm.h config.status
811 diststuff: $(DISTSTUFF)
812 cd doc; $(MAKE) $(MFLAGS) all-doc
815 @for i in $(DODIRS); do \
816 if [ -f ./$$i/Makefile ] ; then \
818 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
823 Makefile: Makefile.in config.status @frags@
824 $(SHELL) config.status
826 config.h: stamp-h ; @true
827 stamp-h: config.in config.status
828 CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
830 config.status: configure
831 $(SHELL) config.status --recheck
836 # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
838 cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS)
840 # GDB QUICK REFERENCE (PostScript output, common PS fonts)
842 cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS)
844 # GDB MANUAL: TeX dvi file
846 cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS)
848 # GDB MANUAL: info file
850 cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS)
852 # Make copying.c from COPYING
853 copying.c: COPYING copying.awk
854 awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
857 echo 'char *version = "$(VERSION)";' >version.c
858 echo 'char *host_name = "$(host_alias)";' >> version.c
859 echo 'char *target_name = "$(target_alias)";' >> version.c
861 # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
862 # in srcdir, then compiled in objdir to c-exp.tab.o.
864 # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
865 # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
867 # Remove bogus decls for malloc/realloc/free which conflict with everything
868 # else. Strictly speaking c-exp.tab.c should therefore depend on
869 # Makefile.in, but that was a pretty big annoyance.
870 c-exp.tab.o: c-exp.tab.c
872 $(BISON) $(YFLAGS) -o c-exp.tmp $(srcdir)/c-exp.y
873 -sed -e '/extern.*malloc/d' \
874 -e '/extern.*realloc/d' \
875 -e '/extern.*free/d' \
876 -e '/include.*malloc.h/d' \
877 -e 's/malloc/xmalloc/g' \
878 -e 's/realloc/xrealloc/g' \
879 -e '/^#line.*y.tab.c/d' \
880 < c-exp.tmp > c-exp.new
882 mv c-exp.new ./c-exp.tab.c
884 jv-exp.tab.o: jv-exp.tab.c
885 jv-exp.tab.c: jv-exp.y
886 $(BISON) $(YFLAGS) -o jv-exp.tmp $(srcdir)/jv-exp.y
887 -sed -e '/extern.*malloc/d' \
888 -e '/extern.*realloc/d' \
889 -e '/extern.*free/d' \
890 -e '/include.*malloc.h/d' \
891 -e 's/malloc/xmalloc/g' \
892 -e 's/realloc/xrealloc/g' \
893 -e '/^#line.*y.tab.c/d' \
894 < jv-exp.tmp > jv-exp.new
896 mv jv-exp.new ./jv-exp.tab.c
898 f-exp.tab.o: f-exp.tab.c
899 f-exp.tab.c: f-exp.y c-exp.tab.c
900 $(BISON) $(YFLAGS) -o f-exp.tmp $(srcdir)/f-exp.y
901 -sed -e '/extern.*malloc/d' \
902 -e '/extern.*realloc/d' \
903 -e '/extern.*free/d' \
904 -e '/include.*malloc.h/d' \
905 -e 's/malloc/xmalloc/g' \
906 -e 's/realloc/xrealloc/g' \
907 -e '/^#line.*y.tab.c/d' \
908 < f-exp.tmp > f-exp.new
910 mv f-exp.new ./f-exp.tab.c
912 # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
913 # in srcdir, then compiled in objdir to m2-exp.tab.o.
914 # Remove bogus decls for malloc/realloc/free which conflict with everything
916 m2-exp.tab.o: m2-exp.tab.c
917 m2-exp.tab.c: m2-exp.y
918 $(BISON) $(YFLAGS) -o m2-exp.tmp $(srcdir)/m2-exp.y
919 -sed -e '/extern.*malloc/d' \
920 -e '/extern.*realloc/d' \
921 -e '/extern.*free/d' \
922 -e '/include.*malloc.h/d' \
923 -e 's/malloc/xmalloc/g' \
924 -e 's/realloc/xrealloc/g' \
925 -e '/^#line.*y.tab.c/d' \
926 < m2-exp.tmp > m2-exp.new
928 mv m2-exp.new ./m2-exp.tab.c
930 # These files are updated atomically, so make never has to remove them
931 .PRECIOUS: m2-exp.tab.c jv-exp.tab.c f-exp.tab.c c-exp.tab.c
934 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
935 `echo $(DEPFILES) | sed 's/\.o /\.c /g'`
938 cxref -I. $(SFILES) >gdb.cxref
942 # GNU Make has an annoying habit of putting *all* the Makefile variables
943 # into the environment, unless you include this target as a circumvention.
944 # Rumor is that this will be fixed (and this target can be removed)
948 # GNU Make 3.63 has a different problem: it keeps tacking command line
949 # overrides onto the definition of $(MAKE). This variable setting
953 ## This is ugly, but I don't want GNU make to put these variables in
954 ## the environment. Older makes will see this as a set of targets
955 ## with no dependencies and no actions.
956 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
958 ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
959 29k-share/udi/udi2go32.c \
960 a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
961 altos-xdep.c arm-convert.s \
962 arm-tdep.c arm-xdep.c coff-solib.c \
963 convex-tdep.c convex-xdep.c \
964 core-sol2.c core-regset.c core-aout.c corelow.c \
965 dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
966 go32-xdep.c gould-tdep.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
967 hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c \
969 i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
970 i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
973 infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
974 lynx-nat.c m3-nat.c \
976 m88k-nat.c m88k-tdep.c mac-nat.c mips-nat.c \
977 mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
978 nindy-share/Onindy.c nindy-share/nindy.c \
979 nindy-share/ttyflush.c nindy-tdep.c \
980 ns32k-tdep.c ns32km3-nat.c osfsolib.c \
981 somread.c somsolib.c $(HPREAD_SOURCE) \
982 procfs.c pyr-tdep.c pyr-xdep.c \
983 remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \
984 remote-es.c remote-hms.c remote-mips.c \
985 remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \
986 remote-st.c remote-utils.c dcache.c \
987 remote-udi.c remote-vx.c remote-vx29k.c \
988 rs6000-nat.c rs6000-tdep.c \
989 ser-go32.c ser-ocd.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
990 sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
991 symm-tdep.c symm-nat.c \
992 tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
994 vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
996 xcoffread.c xcoffsolib.c z8k-tdep.c
998 udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
999 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
1001 udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
1002 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
1004 udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
1005 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
1007 a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
1009 a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1011 alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1013 alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1014 $(inferior_h) $(symtab_h) $(dis-asm.h) gdb_string.h
1016 altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1018 annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h)
1020 arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
1023 bcache.o: bcache.c bcache.h $(defs_h)
1025 blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1026 objfiles.h symfile.h target.h
1028 breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1029 $(inferior_h) language.h target.h gdbthread.h gdb_string.h
1031 buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1032 objfiles.h symfile.h $(symtab_h) gdb_string.h
1034 c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1035 language.h parser-defs.h $(symtab_h)
1037 c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
1038 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1039 target.h typeprint.h $(value_h) gdb_string.h
1041 c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1042 language.h $(symtab_h) valprint.h $(value_h)
1044 f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1045 language.h parser-defs.h $(symtab_h) gdb_string.h
1047 f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \
1048 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1049 target.h typeprint.h $(value_h) gdb_string.h
1051 f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1052 language.h $(symtab_h) valprint.h $(value_h) gdb_string.h
1054 ch-exp.o: ch-exp.c ch-lang.h $(defs_h) language.h parser-defs.h $(bfd_h) symfile.h objfiles.h $(value_h)
1056 ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1057 language.h parser-defs.h $(symtab_h)
1059 ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
1060 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1061 target.h $(value_h) typeprint.h gdb_string.h
1063 ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1064 language.h $(symtab_h) valprint.h $(value_h) c-lang.h
1066 coff-solib.o: coff-solib.c $(defs_h)
1068 coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
1069 complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
1070 symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h \
1073 command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1074 $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h $(wait_h)
1076 complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
1078 convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1079 $(gdbcore_h) $(inferior_h)
1081 convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1084 copying.o: copying.c $(defs_h) $(gdbcmd_h)
1086 core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h)
1088 core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \
1089 $(inferior_h) target.h gdb_string.h
1091 core-regset.o: core-regset.c $(command_h) $(defs_h) $(gdbcore_h) \
1092 $(inferior_h) target.h gdb_string.h
1094 corefile.o: corefile.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1095 $(inferior_h) target.h language.h gdb_string.h
1097 corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1098 target.h gdbthread.h gdb_string.h
1100 cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1101 $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h
1103 dcache.o: dcache.c $(dcache_h) $(defs_h) $(gdbcmd_h) gdb_string.h $(gdbcore_h)
1105 dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
1106 complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
1107 $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
1108 symfile.h $(symtab_h) target.h gdb_string.h
1110 delta68-nat.o: delta68-nat.c $(defs_h)
1112 demangle.o: demangle.c $(defs_h) $(gdbcmd_h) gdb_string.h
1114 dink32-rom.o: dink32-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1115 $(inferior_h) target.h serial.h terminal.h
1117 dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) gdb_string.h
1119 dstread.o: dstread.c gdb_string.h
1121 dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1122 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1123 $(symtab_h) gdb_string.h
1125 dwarf2read.o: dwarf2read.c $(bfd_h) buildsym.h $(defs_h) \
1126 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1127 $(symtab_h) gdb_string.h
1129 elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1130 gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h \
1131 $(BFD_SRC)/elf-bfd.h $(INCLUDE_DIR)/elf/mips.h
1133 environ.o: environ.c $(defs_h) environ.h $(gdbcore_h) gdb_string.h
1135 eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1136 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \
1139 exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1140 target.h language.h gdb_string.h
1142 expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1143 language.h parser-defs.h $(symtab_h) $(value_h)
1145 findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1148 fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
1149 $(inferior_h) target.h terminal.h gdbthread.h gdb_string.h
1151 # start-sanitize-gdbtk
1152 gdbres.o: gdb.rc gdbtool.ico
1153 $(WINDRES) --include $(srcdir) $(srcdir)/gdb.rc gdbres.o
1155 gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
1156 $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h)
1157 $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
1158 $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
1159 $(srcdir)/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
1161 tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \
1162 $(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \
1163 language.h gdb_string.h $(readline_headers)
1164 # end-sanitize-gdbtk
1166 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
1167 $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
1168 $(value_h) gdb_string.h
1170 gnu-nat.o: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h \
1171 exc_request_U.h msg_U.h gnu-nat.h
1173 go32-xdep.o: go32-xdep.c
1175 gould-tdep.o: gould-tdep.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
1176 $(gdbcore_h) $(symtab_h)
1178 gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1180 h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1182 h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
1183 $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
1186 hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1188 hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1189 $(inferior_h) objfiles.h symfile.h target.h
1191 hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1193 hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1195 i386gnu-nat.o: gnu-nat.h
1197 i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1200 i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \
1201 language.h $(gdbcore_h) $(floatformat_h) target.h
1203 i386b-nat.o: i386b-nat.c $(defs_h)
1205 i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1207 i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h $(gdbcore_h)
1209 i386m3-nat.o: i386m3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) target.h
1211 i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1213 i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1214 $(inferior_h) language.h target.h
1216 i386v4-nat.o: i386v4-nat.c $(defs_h)
1218 i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1219 $(inferior_h) language.h
1221 i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
1222 $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h)
1224 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
1225 $(inferior_h) target.h language.h gdb_string.h
1227 inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
1228 signals.h target.h terminal.h gdbthread.h gdb_string.h
1230 infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1231 gdb_string.h $(wait_h) $(command_h)
1233 infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1234 $(inferior_h) target.h gdbthread.h gdb_string.h
1236 inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1237 target.h terminal.h $(command_h)
1239 irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1240 irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) target.h \
1241 $(symtab_h) symfile.h objfiles.h $(command_h) $(frame_h) gnu-regex.h \
1242 language.h gdb_string.h
1244 isi-xdep.o: isi-xdep.c
1246 language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1247 $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
1248 target.h $(value_h) gdb_string.h
1250 lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcore_h) \
1253 m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1254 language.h m2-lang.h parser-defs.h $(symtab_h)
1256 m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1257 $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
1258 $(value_h) gdb_string.h
1260 m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
1261 valprint.h m2-lang.h
1263 m3-nat.o: m3-nat.c $(defs_h) $(inferior_h) $(value_h) language.h target.h \
1264 $(wait_h) $(gdbcmd_h) $(gdbcore_h)
1266 m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \
1267 $(gdbcore_h) gdb_string.h
1269 m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1271 m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1273 m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1275 mac-nat.o: mac-nat.c $(defs_h) gdb_string.h
1277 main.o: main.c top.h $(defs_h) gdb_string.h
1279 maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
1280 $(expression_h) objfiles.h symfile.h
1282 mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1283 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1284 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \
1287 mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h)
1289 os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1290 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1291 objfiles.h stabsread.h symfile.h $(symtab_h) \
1292 target.h gdb_string.h
1294 mem-break.o: mem-break.c $(defs_h)
1296 minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1297 $(symtab_h) gdb_string.h
1299 mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1301 mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1302 $(inferior_h) language.h objfiles.h symfile.h gdb_string.h
1304 mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1305 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1306 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \
1309 mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1311 monitor.o: monitor.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1312 $(inferior_h) target.h serial.h terminal.h gdb_string.h
1314 news-xdep.o: news-xdep.c
1316 Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
1318 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
1320 nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
1322 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
1324 nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1325 gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h \
1328 ns32km3-nat.o: ns32km3-nat.c $(defs_h) $(inferior_h)
1330 ttyflush.o: nindy-share/ttyflush.c
1331 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
1333 nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(gdbcore_h)
1335 ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h)
1337 objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1338 $(symtab_h) gdb_string.h
1340 osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1341 objfiles.h gnu-regex.h symfile.h target.h language.h gdb_string.h
1343 somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1344 gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h
1346 somsolib.o: somsolib.c $(defs_h)
1348 hpux-thread.o: hpux-thread.c $(defs_h) gdbthread.h target.h inferior.h
1349 $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
1350 -I$(srcdir)/osf-share/HP800 -I/usr/include/dce $(srcdir)/hpux-thread.c
1352 hpread.o: hpread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1353 gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h
1355 parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
1356 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1359 ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) gdb_string.h $(frame_h) \
1360 $(inferior_h) $(bfd_h) symfile.h target.h $(wait_h) $(gdbcmd_h) \
1361 objfiles.h gdb-stabs.h serial.h ocd.h
1363 ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1364 $(inferior_h) target.h serial.h terminal.h
1366 printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
1367 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1368 symfile.h $(symtab_h) target.h gdb_string.h
1370 procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1371 target.h gdb_string.h
1373 pyr-tdep.o: pyr-tdep.c $(defs_h)
1375 pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1377 gnu-regex.o: gnu-regex.c gnu-regex.h $(defs_h) gdb_string.h
1379 remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
1380 $(inferior_h) target.h terminal.h gdb_string.h
1382 remote-array.o: remote-array.c $(wait_h) $(defs_h) $(gdbcore_h) target.h \
1383 gdb_string.h $(command_h) serial.h monitor.h $(remote_utils_h)
1385 remote-rdi.o: remote-rdi.c $(wait_h) $(defs_h) $(gdbcore_h) \
1386 $(inferior_h) gdb_string.h
1388 rdi-share/libangsd.a: force
1390 if [ -f ./$${dir}/Makefile ] ; then \
1391 r=`pwd`; export r; \
1392 srcroot=`cd $(srcdir); pwd`; export srcroot; \
1393 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
1398 remote-d10v.o: remote-d10v.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1399 $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h
1401 remote-rdp.o: remote-rdp.c $(wait_h) $(defs_h) $(gdbcore_h) \
1402 $(inferior_h) gdb_string.h
1404 remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
1405 $(inferior_h) target.h terminal.h $(remote_utils_h) gdb_string.h
1407 remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \
1408 $(wait_h) serial.h gdb_string.h
1410 remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
1411 $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h \
1414 remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
1415 $(inferior_h) $(remote_utils_h) terminal.h gdb_string.h
1417 remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
1418 $(inferior_h) serial.h target.h terminal.h gdb_string.h
1420 remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1421 $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
1423 remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
1424 minimon.h target.h terminal.h gdb_string.h
1426 remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \
1427 $(defs_h) $(gdbcore_h) $(inferior_h) \
1428 nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
1431 remote-os9k.o: remote-os9k.c $(defs_h) $(gdbcore_h) $(wait_h) \
1432 $(command_h) monitor.h $(remote_utils_h) $(symtab_h) symfile.h \
1433 objfiles.h gdb-stabs.h gdb_string.h
1435 remote-sds.o: remote-sds.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1436 $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h
1438 remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
1439 $(inferior_h) target.h terminal.h gdb_string.h \
1440 $(INCLUDE_DIR)/callback.h
1442 remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
1443 target.h gdb_string.h
1445 remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1446 $(inferior_h) target.h terminal.h $(udiheaders) gdb_string.h
1448 remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1449 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1450 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
1451 vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h) \
1454 remote-vx29k.o: remote-vx29k.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1455 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1456 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
1457 vx-share/xdr_rdb.h gdb_string.h
1459 ocd.o: ocd.c ocd.h $(gdbcore_h) gdb_string.h $(frame_h) $(inferior_h) \
1460 $(bfd_h) symfile.h target.h $(wait_h) $(gdbcmd_h) objfiles.h \
1461 gdb-stabs.h $(dcache_h) serial.h
1463 remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1464 $(inferior_h) $(remote_utils_h) gdb_string.h
1466 remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1467 $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h
1469 remote-nrom.o: remote-nrom.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1470 $(inferior_h) $(remote_utils_h) symfile.h terminal.h
1472 rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1473 $(inferior_h) target.h serial.h terminal.h
1475 rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h \
1478 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1479 target.h xcoffsolib.h
1481 scm-exp.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \
1482 scm-lang.h scm-tags.h
1484 scm-lang.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \
1485 scm-lang.h scm-tags.h gdb_string.h $(gdbcore_h)
1487 scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \
1488 scm-lang.h valprint.h $(gdbcore_h)
1490 ser-go32.o: ser-go32.c $(defs_h) serial.h
1492 ser-mac.o: ser-mac.c $(defs_h) serial.h signals.h
1494 ser-ocd.o: ser-ocd.c $(defs_h) serial.h signals.h gdb_string.h
1496 ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h
1498 ser-unix.o: ser-unix.c $(defs_h) serial.h
1500 serial.o: serial.c $(defs_h) serial.h gdb_string.h
1502 sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
1503 $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
1504 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1506 sh3-rom.o: sh3-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1507 $(inferior_h) target.h serial.h terminal.h
1509 mon960-rom.o: mon960-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1510 $(inferior_h) target.h serial.h terminal.h
1512 solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1513 objfiles.h gnu-regex.h symfile.h target.h gdb_string.h
1515 source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1516 $(gdbcore_h) language.h objfiles.h gnu-regex.h symfile.h $(symtab_h) \
1519 sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(gdbcore_h) \
1522 sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1523 $(inferior_h) objfiles.h symfile.h target.h gdb_string.h
1525 sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h
1527 dsrec.o: dsrec.c $(defs_h) srec.h
1529 stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1530 $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
1531 $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h) \
1534 stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1535 language.h target.h gdb_string.h
1537 sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1539 sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1541 symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
1542 $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
1543 language.h objfiles.h symfile.h $(symtab_h) target.h \
1546 symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1548 symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1550 symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
1551 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1552 $(symtab_h) gdb_string.h
1554 symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
1555 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1556 gnu-regex.h symfile.h $(symtab_h) target.h $(value_h) \
1559 tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
1562 #start-sanitize-tic80
1563 tic80-tdep.o: tic80-tdep.c $(defs_h)
1566 target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
1567 objfiles.h symfile.h target.h gdb_string.h
1569 thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h)
1571 top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
1572 $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
1573 $(remote_utils_h) gdb_string.h
1575 typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1576 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1577 $(value_h) gdb_string.h
1579 ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1581 ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1583 umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1585 utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
1586 language.h signals.h target.h terminal.h $(readline_headers) \
1589 valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
1590 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \
1593 valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
1596 valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1597 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1598 $(value_h) gdb_string.h valprint.h
1600 values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1601 $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h) \
1602 gdb_string.h scm-lang.h
1604 vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
1606 w65-tdep.o : w65-tdep.c $(gdbcore_h)
1608 win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
1611 xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
1612 vx-share/vxWorks.h vx-share/xdr_ld.h
1613 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
1615 xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
1616 vx-share/vxWorks.h vx-share/xdr_ptrace.h
1617 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
1619 xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
1620 vx-share/vxWorks.h vx-share/xdr_rdb.h
1621 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
1623 xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1624 $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
1625 $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
1626 complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
1627 $(symtab_h) partial-stab.h gdb_string.h
1629 xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
1631 z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
1632 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(gdbcore_h)
1634 c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
1635 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1636 $(bfd_h) objfiles.h symfile.h
1638 jv-exp.tab.o: jv-exp.tab.c jv-lang.h $(defs_h) $(expression_h) \
1639 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1640 $(bfd_h) objfiles.h symfile.h
1642 f-exp.tab.o: f-exp.tab.c f-lang.h $(defs_h) $(expression_h) \
1643 language.h parser-defs.h $(value_h) $(bfd_h) objfiles.h symfile.h
1645 m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1646 language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
1647 $(bfd_h) objfiles.h symfile.h
1649 ### end of the gdb Makefile.in.