1 # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
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 htmldir
= $(prefix)/html
43 includedir = @
includedir@
45 # This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT.
54 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
55 INSTALL_DATA
= @INSTALL_DATA@
63 # If the user configured GDB to include the TUI, the name of the tui
65 TUI_LIBRARY
= @TUI_LIBRARY@
67 # If the user configured GDB to include the TUI, the all-tui
69 BUILD_TUI
= @BUILD_TUI@
71 # Flags that describe where you can find the termcap library.
72 # This can be overridden in the host Makefile fragment file.
75 # If you are compiling with GCC, make sure that either 1) You have the
76 # fixed include files where GCC can reach them, or 2) You use the
77 # -traditional flag. Otherwise the ioctl calls in inflow.c
78 # will be incorrectly compiled. The "fixincludes" script in the gcc
79 # distribution will fix your include files up.
82 # Directory containing source files.
88 YLWRAP
= $(srcdir)/..
/ylwrap
90 # where to find makeinfo, preferably one designed for texinfo-2
95 MAKEHTMLFLAGS
= -glossary
-menu
-split_chapter
97 # Set this up with gcc if you have gnu ld and the loader will print out
98 # line numbers for undefined references.
102 # Where is our "include" directory? Typically $(srcdir)/../include.
103 # This is essentially the header file directory for the library
104 # routines in libiberty.
105 INCLUDE_DIR
= $(srcdir)/..
/include
106 INCLUDE_CFLAGS
= -I
$(INCLUDE_DIR
)
108 # Where is the "-liberty" library? Typically in ../libiberty.
109 LIBIBERTY
= ..
/libiberty
/libiberty.a
111 # Configured by the --with-mmalloc option to configure.
113 MMALLOC_CFLAGS
= @MMALLOC_CFLAGS@
115 # Where is the BFD library? Typically in ../bfd.
117 BFD
= $(BFD_DIR
)/libbfd.a
118 BFD_SRC
= $(srcdir)/$(BFD_DIR
)
119 BFD_CFLAGS
= -I
$(BFD_DIR
) -I
$(BFD_SRC
)
121 # Where is the READLINE library? Typically in ../readline.
122 READLINE_DIR
= ..
/readline
123 READLINE
= $(READLINE_DIR
)/libreadline.a
124 READLINE_SRC
= $(srcdir)/$(READLINE_DIR
)
125 READLINE_CFLAGS
= -I
$(READLINE_SRC
)/..
127 WARN_CFLAGS
= @WARN_CFLAGS@
128 WERROR_CFLAGS
= @WERROR_CFLAGS@
129 GDB_WARN_CFLAGS
= $(WARN_CFLAGS
)
130 GDB_WERROR_CFLAGS
= $(WERROR_CFLAGS
)
132 # Where is the INTL library? Typically in ../intl.
135 INTL_DEPS
= @INTLDEPS@
136 INTL_SRC
= $(srcdir)/$(INTL_DIR
)
137 INTL_CFLAGS
= -I
$(INTL_DIR
) -I
$(INTL_SRC
)
139 # Where is the TUI library? Typically in tui/.
141 TUI_SRC
= $(srcdir)/$(TUI_DIR
)
142 TUI_CFLAGS
= -I
$(TUI_SRC
)
144 # Opcodes currently live in one of two places. Either they are in the
145 # opcode library, typically ../opcodes, or they are in a header file
147 # Where is the "-lopcodes" library, with (some of) the opcode tables and
149 OPCODES
= ..
/opcodes
/libopcodes.a
150 # Where are the other opcode tables which only have header file
152 OP_INCLUDE
= $(INCLUDE_DIR
)/opcode
153 OPCODES_CFLAGS
= -I
$(OP_INCLUDE
)
155 # The simulator is usually nonexistent; targets that include one
156 # should set this to list all the .o or .a files to be linked in.
159 WIN32LIBS
= @WIN32LIBS@
162 ENABLE_CFLAGS
= @ENABLE_CFLAGS@
164 # -I. for config files.
165 # -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also.
166 # -I$(srcdir)/config for more generic config files.
168 # It is also possible that you will need to add -I/usr/include/sys if
169 # your system doesn't have fcntl.h in /usr/include (which is where it
170 # should be according to Posix).
172 GDB_CFLAGS
= -I.
-I
$(srcdir) -I
$(srcdir)/config
$(DEFS
)
174 # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
175 # from the config directory.
176 GLOBAL_CFLAGS
= $(MT_CFLAGS
) $(MH_CFLAGS
)
177 #PROFILE_CFLAGS = -pg
179 # CFLAGS is specifically reserved for setting from the command line
180 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
183 # Need to pass this to testsuite for "make check". Probably should be
184 # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
185 # so "make check" has the same result no matter where it is run.
188 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
189 INTERNAL_WARN_CFLAGS
= \
190 $(CFLAGS
) $(GLOBAL_CFLAGS
) $(PROFILE_CFLAGS
) \
191 $(GDB_CFLAGS
) $(OPCODES_CFLAGS
) $(READLINE_CFLAGS
) \
192 $(BFD_CFLAGS
) $(MMALLOC_CFLAGS
) $(INCLUDE_CFLAGS
) \
193 $(INTL_CFLAGS
) $(TUI_CFLAGS
) $(ENABLE_CFLAGS
) $(GDB_WARN_CFLAGS
)
194 INTERNAL_CFLAGS
= $(INTERNAL_WARN_CFLAGS
) $(GDB_WERROR_CFLAGS
)
196 # LDFLAGS is specifically reserved for setting from the command line
199 # Profiling options need to go here to work.
200 # I think it's perfectly reasonable for a user to set -pg in CFLAGS
201 # and have it work; that's why CFLAGS is here.
202 INTERNAL_LDFLAGS
= $(CFLAGS
) $(GLOBAL_CFLAGS
) $(PROFILE_CFLAGS
) $(LDFLAGS
) @CONFIG_LDFLAGS@ @HLDFLAGS@
205 # We are using our own version of REGEX now to be consistent across
210 # If your system is missing alloca(), or, more likely, it's there but
211 # it doesn't work, then refer to libiberty.
213 # Libraries and corresponding dependencies for compiling gdb.
214 # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
215 # TERMCAP comes after readline, since readline depends on it.
216 # MMALLOC comes after anything else that might want an allocation function.
217 # LIBIBERTY appears twice on purpose.
218 # If you have the Cygnus libraries installed,
219 # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
220 INSTALLED_LIBS
=-lbfd
-lreadline
-lopcodes
-liberty \
221 $(TERMCAP
) $(XM_CLIBS
) $(TM_CLIBS
) $(NAT_CLIBS
) $(GDBTKLIBS
) @LIBS@ \
222 -lmmalloc
-lintl
-liberty
223 CLIBS
= $(SIM
) $(BFD
) $(READLINE
) $(OPCODES
) $(INTL
) $(LIBIBERTY
) \
224 $(TERMCAP
) $(XM_CLIBS
) $(TM_CLIBS
) $(NAT_CLIBS
) $(GDBTKLIBS
) @LIBS@ \
225 $(MMALLOC
) $(LIBIBERTY
) $(WIN32LIBS
)
226 CDEPS
= $(XM_CDEPS
) $(TM_CDEPS
) $(NAT_CDEPS
) $(SIM
) $(BFD
) $(READLINE
) \
227 $(OPCODES
) $(MMALLOC
) $(INTL_DEPS
) $(LIBIBERTY
) @CONFIG_DEPS@
229 ADD_FILES
= $(REGEX
) $(XM_ADD_FILES
) $(TM_ADD_FILES
) $(NAT_ADD_FILES
)
230 ADD_DEPS
= $(REGEX1
) $(XM_ADD_FILES
) $(TM_ADD_FILES
) $(NAT_ADD_FILES
)
236 LINTFLAGS
= $(BFD_CFLAGS
)
238 RUNTEST
= `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \
239 echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \
244 # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
245 # interface to the serial port. Hopefully if get ported to OS/2, VMS,
246 # etc., then there will be (as part of the C library or perhaps as
247 # part of libiberty) a POSIX interface. But at least for now the
248 # host-dependent makefile fragment might need to use something else
250 SER_HARDWIRE
= ser-unix.o ser-pipe.o
252 # The `remote' debugging target is supported for most architectures,
253 # but not all (e.g. 960)
254 REMOTE_OBS
= remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o
256 # This is remote-sim.o if a simulator is to be linked in.
259 ANNOTATE_OBS
= annotate.o
261 # Host and target-dependent makefile fragments come in here.
263 @target_makefile_frag@
264 # End of host and target-dependent makefile fragments
266 # Possibly ignore the simulator. If the simulator is being ignored,
267 # these expand into SIM= and SIM_OBJ=, overriding the entries from
268 # target_makefile_frag
275 "exec_prefix=$(exec_prefix)" \
276 "against=$(against)" \
278 "AR_FLAGS=$(AR_FLAGS)" \
281 "CHILLFLAGS=$(CHILLFLAGS)" \
283 "CHILL_LIB=$(CHILL_LIB)" \
285 "CXXFLAGS=$(CXXFLAGS)" \
286 "DLLTOOL=$(DLLTOOL)" \
288 "MAKEINFO=$(MAKEINFO)" \
289 "MAKEHTML=$(MAKEHTML)" \
290 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
291 "INSTALL=$(INSTALL)" \
292 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
293 "INSTALL_DATA=$(INSTALL_DATA)" \
294 "RUNTEST=$(RUNTEST)" \
295 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
297 # Flags that we pass when building the testsuite.
299 # empty for native, $(target_alias)/ for cross
300 target_subdir
= @target_subdir@
303 if [ -f $${rootme}/../gcc/xgcc ] ; then \
304 if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
305 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/; \
307 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
310 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
313 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
319 if [ -f $${rootme}/../gcc/xgcc ] ; then \
320 if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
321 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/; \
323 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
326 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
329 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
333 CHILLFLAGS
= $(CFLAGS
)
335 CHILL_FOR_TARGET
= ` \
336 if [ -f $${rootme}/../gcc/Makefile ] ; then \
337 echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../gcc/ch/runtime/; \
339 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
342 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
346 if [ -f $${rootme}/../gcc/ch/runtime/libchill.a ] ; then \
347 echo $${rootme}/../gcc/ch/runtime/chillrt0.o \
348 $${rootme}/../gcc/ch/runtime/libchill.a; \
353 # The use of $$(x_FOR_TARGET) reduces the command line length by not
354 # duplicating the lengthy definition.
355 TARGET_FLAGS_TO_PASS
= \
357 "exec_prefix=$(exec_prefix)" \
358 "against=$(against)" \
359 'CC=$$(CC_FOR_TARGET)' \
360 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
362 "CHILLFLAGS=$(CHILLFLAGS)" \
363 'CHILL=$$(CHILL_FOR_TARGET)' \
364 "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
365 "CHILL_LIB=$(CHILL_LIB)" \
366 'CXX=$$(CXX_FOR_TARGET)' \
367 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
368 "CXXFLAGS=$(CXXFLAGS)" \
369 "INSTALL=$(INSTALL)" \
370 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
371 "INSTALL_DATA=$(INSTALL_DATA)" \
372 "MAKEINFO=$(MAKEINFO)" \
373 "MAKEHTML=$(MAKEHTML)" \
374 "RUNTEST=$(RUNTEST)" \
375 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
377 # All source files that go into linking GDB.
378 # Links made at configuration time should not be specified here, since
379 # SFILES is used in building the distribution archive.
381 SFILES
= ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \
382 buildsym.c c-exp.y c-lang.c c-typeprint.c c-valprint.c \
383 ch-exp.c ch-lang.c ch-typeprint.c ch-valprint.c coffread.c \
384 command.c complaints.c corefile.c cp-valprint.c dbxread.c \
385 demangle.c dwarfread.c dwarf2read.c elfread.c environ.c eval.c \
386 event-loop.c event-top.c \
387 expprint.c f-exp.y f-lang.c f-typeprint.c f-valprint.c \
388 findvar.c gdbarch.c gdbtypes.c \
389 inf-loop.c infcmd.c inflow.c infrun.c language.c \
391 jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
392 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
393 mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
394 printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c \
395 scm-valprint.c source.c stabsread.c stack.c symfile.c \
396 symmisc.c symtab.c target.c thread.c top.c tracepoint.c \
397 typeprint.c utils.c valarith.c valops.c valprint.c values.c \
398 serial.c ser-unix.c mdebugread.c os9kread.c \
399 tui
/tui.c tui
/tui.h tui
/tuiCommand.c tui
/tuiCommand.h \
400 tui
/tuiData.c tui
/tuiData.h tui
/tuiDataWin.c tui
/tuiDataWin.h \
401 tui
/tuiDisassem.c tui
/tuiDisassem.h tui
/tuiGeneralWin.c \
402 tui
/tuiGeneralWin.h tui
/tuiIO.c tui
/tuiIO.h tui
/tuiLayout.c \
403 tui
/tuiLayout.h tui
/tuiRegs.c tui
/tuiRegs.h tui
/tuiSource.c \
404 tui
/tuiSource.h tui
/tuiSourceWin.c tui
/tuiSourceWin.h \
405 tui
/tuiStack.c tui
/tuiStack.h tui
/tuiWin.c tui
/tuiWin.h \
406 tui
/tui-file.h tui
/tui-file.c \
407 gdb-file.h gdb-file.c
409 LINTFILES
= $(SFILES
) $(YYFILES
) @CONFIG_SRCS@ init.c
411 # "system" headers. Using these in dependencies is a rather personal
412 # choice. (-rich, summer 1993)
413 # (Why would we not want to depend on them? If one of these changes in a
414 # non-binary-compatible way, it is a real pain to remake the right stuff
415 # without these dependencies -kingdon, 13 Mar 1994)
416 getopt_h
= $(INCLUDE_DIR
)/getopt.h
417 floatformat_h
= $(INCLUDE_DIR
)/floatformat.h
418 bfd_h
= $(BFD_DIR
)/bfd.h
419 elf_bfd_h
= $(BFD_SRC
)/elf-bfd.h
420 wait_h
= $(INCLUDE_DIR
)/wait.h
421 dis-asm_h
= $(INCLUDE_DIR
)/dis-asm.h
422 remote-sim_h
= $(INCLUDE_DIR
)/remote-sim.h
425 remote_utils_h
= $(dcache_h
) serial.h target.h remote-utils.h
$(remote-sim_h
)
429 $(READLINE_SRC
)/chardefs.h \
430 $(READLINE_SRC
)/history.h \
431 $(READLINE_SRC
)/keymaps.h \
432 $(READLINE_SRC
)/readline.h
435 $(srcdir)/29k-share
/udi
/udiproc.h \
436 $(srcdir)/29k-share
/udi
/udiphcfg.h \
437 $(srcdir)/29k-share
/udi
/udiphunix.h \
438 $(srcdir)/29k-share
/udi
/udiptcfg.h \
439 $(srcdir)/29k-share
/udi
/udipt29k.h \
440 $(srcdir)/29k-share
/udi
/udisoc.h
442 gdbcore_h
= gdbcore.h
$(bfd_h
)
445 symtab_h
= symtab.h bcache.h
446 gdbtypes_h
= gdbtypes.h
447 expression_h
= expression.h
448 value_h
= value.h
$(symtab_h
) $(gdbtypes_h
) $(expression_h
)
450 breakpoint_h
= breakpoint.h
$(frame_h
) $(value_h
)
452 command_h
= command.h
453 gdbcmd_h
= gdbcmd.h
$(command_h
)
455 call_cmds_h
= call-cmds.h
456 defs_h
= defs.h xm.h tm.h nm.h config.status config.h gdbarch.h gdb-file.h
459 inferior_h
= inferior.h
$(breakpoint_h
)
460 tracepoint_h
= tracepoint.h
462 event_loop_h
= event-loop.h
463 event_top_h
= event-top.h
464 inf_loop_h
= inf-loop.h
466 version_h
= version.h
468 # Header files that need to have srcdir added. Note that in the cases
469 # where we use a macro like $(gdbcmd_h), things are carefully arranged
470 # so that each .h file is listed exactly once (M-x tags-search works
471 # wrong if TAGS has files twice). Because this is tricky to get
472 # right, it is probably easiest just to list .h files here directly.
474 HFILES_NO_SRCDIR
= bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
475 dst.h environ.h
$(gdbcmd_h
) gdbcore.h \
476 gdb-stabs.h hpread.h
$(inferior_h
) language.h minimon.h monitor.h \
477 objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
478 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
479 c-lang.h ch-lang.h f-lang.h \
482 complaints.h valprint.h \
483 29k-share
/udi
/udiids.h
29k-share
/udi_soc nindy-share
/b.out.h \
484 nindy-share
/block_io.h nindy-share
/coff.h \
485 nindy-share
/env.h nindy-share
/stop.h \
486 vx-share
/dbgRpcLib.h vx-share
/ptrace.h vx-share
/vxTypes.h \
487 vx-share
/vxWorks.h vx-share
/wait.h vx-share
/xdr_ld.h \
488 vx-share
/xdr_ptrace.h vx-share
/xdr_rdb.h gdbthread.h \
489 dcache.h remote-utils.h top.h somsolib.h
491 # Header files that already have srcdir in them, or which are in objdir.
493 HFILES_WITH_SRCDIR
= $(udiheaders
) ..
/bfd
/bfd.h
496 # GDB "info" files, which should be included in their entirety
497 INFOFILES
= gdb.
info*
499 REMOTE_EXAMPLES
= m68k-stub.c i386-stub.c sparc-stub.c rem-multi.
shar
501 POSSLIBS
= gnu-regex.c gnu-regex.h
503 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
504 # default their values the way we do for SER_HARDWIRE; in the future
505 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
506 # variables analogous to SER_HARDWIRE which get defaulted in this
509 DEPFILES
= $(TDEPFILES
) $(XDEPFILES
) $(SER_HARDWIRE
) $(NATDEPFILES
) \
510 $(REMOTE_OBS
) $(SIM_OBS
) @CONFIG_OBS@
512 SOURCES
= $(SFILES
) $(ALLDEPFILES
) $(YYFILES
) @CONFIG_SRCS@
513 # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
514 # and it's more useful to see it in the .y file.
515 TAGFILES_NO_SRCDIR
= $(SFILES
) $(HFILES_NO_SRCDIR
) $(ALLDEPFILES
) \
517 TAGFILES_WITH_SRCDIR
= $(HFILES_WITH_SRCDIR
)
519 COMMON_OBS
= version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
520 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
521 symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
522 expprint.o environ.o \
523 event-loop.o event-top.o inf-loop.o \
524 gdbarch.o gdbtypes.o copying.o
$(DEPFILES
) \
525 mem-break.o target.o parse.o language.o
$(YYOBJ
) buildsym.o \
528 exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \
529 dbxread.o coffread.o elfread.o \
530 dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
531 c-lang.o ch-exp.o ch-lang.o f-lang.o \
532 jv-lang.o jv-valprint.o jv-typeprint.o \
534 scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o \
535 c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \
536 c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
537 nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \
538 gdb-file.o tui-file.o
540 OBS
= $(COMMON_OBS
) $(ANNOTATE_OBS
)
544 NTSOBS
= standalone.o
546 NTSSTART
= kdb-start.o
550 # For now, shortcut the "configure GDB for fewer languages" stuff.
551 YYFILES
= c-exp.tab.c \
553 f-exp.tab.c m2-exp.tab.c
554 YYOBJ
= c-exp.tab.o \
556 f-exp.tab.o m2-exp.tab.o
558 # Things which need to be built when making a distribution.
560 DISTSTUFF
= $(YYFILES
)
562 # Prevent Sun make from putting in the machine type. Setting
563 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
565 $(CC
) -c
$(INTERNAL_CFLAGS
) $<
568 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
572 # The check target can not use subdir_do, because subdir_do does not
573 # use TARGET_FLAGS_TO_PASS.
575 @if
[ -f testsuite
/Makefile
]; then \
576 rootme
=`pwd`; export rootme
; \
577 rootsrc
=`cd $(srcdir); pwd`; export rootsrc
; \
579 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check; \
582 info dvi install-info clean-info html install-html
: force
583 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
586 nroff
-man
$(srcdir)/gdb
.1 | col
-b
> gdb.t
587 pack gdb.t
; rm -f gdb.t
590 # Traditionally "install" depends on "all". But it may be useful
591 # not to; for example, if the user has made some trivial change to a
592 # source file and doesn't care about rebuilding or just wants to save the
593 # time it takes for make to check that all is up to date.
594 # install-only is intended to address that need.
595 install: all install-only
597 transformed_name
=`t='$(program_transform_name)'; \
598 echo gdb | sed -e $$t` ; \
599 if
test "x$$transformed_name" = x
; then \
600 transformed_name
=gdb
; \
604 $(INSTALL_PROGRAM
) gdb
$(EXEEXT
) $(bindir)/$$transformed_name$(EXEEXT
) ; \
605 $(INSTALL_DATA
) $(srcdir)/gdb
.1 $(man1dir)/$$transformed_name.1
606 @
$(MAKE
) DO
=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS
) subdir_do
609 transformed_name
=`t='$(program_transform_name)'; \
610 echo gdb | sed -e $$t` ; \
611 if
test "x$$transformed_name" = x
; then \
612 transformed_name
=gdb
; \
616 rm -f
$(bindir)/$$transformed_name$(EXEEXT
) $(man1dir)/$$transformed_name.1
617 @
$(MAKE
) DO
=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS
) subdir_do
619 # We do this by grepping through sources. If that turns out to be too slow,
620 # maybe we could just require every .o file to have an initialization routine
621 # of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
623 # Formatting conventions: The name of the _initialize_* routines must start
624 # in column zero, and must not be inside #if.
626 # Note that the set of files with init functions might change, or the names
627 # of the functions might change, so this files needs to depend on all the
628 # object files that will be linked into gdb.
630 INIT_FILES
= $(OBS
) $(TSOBS
) $(SUBDIR_INIT_FILES
)
631 init.c
: $(INIT_FILES
)
633 @
rm -f init.c-tmp init.l-tmp
634 @
-echo
$(INIT_FILES
) | \
636 sed
-e
'/^Onindy.o/d' \
641 -e
'/xdr_ptrace.o/d' \
647 -e
'/^[a-z0-9A-Z_]*_[SU].o/d' \
648 -e
'/[a-z0-9A-Z_]*-exp.tab.o/d' \
650 -e
's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
651 while read f
; do grep
'^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev
/null
; done | \
652 sed
-e
's/^.*://' -e
's/^\([a-z_0-9A-Z]*\).*/\1/' > init.l-tmp
653 @echo
'/* Do not modify this file. */' >>init.c-tmp
654 @echo
'/* It is created automatically by the Makefile. */'>>init.c-tmp
655 @echo
'#include "defs.h"' >>init.c-tmp
656 @echo
'#include "call-cmds.h"' >>init.c-tmp
657 @sed
-e
's/\(.*\)/extern initialize_file_ftype \1;/' <init.l-tmp
>>init.c-tmp
658 @echo
'void' >>init.c-tmp
659 @echo
'initialize_all_files (void)' >>init.c-tmp
660 @echo
'{' >>init.c-tmp
661 @sed
-e
's/\(.*\)/ \1 ();/' <init.l-tmp
>>init.c-tmp
662 @echo
'}' >>init.c-tmp
664 @mv init.c-tmp init.c
668 init.o
: init.c
$(defs_h
) $(call_cmds_h
)
670 # Removing the old gdb first works better if it is running, at least on SunOS.
671 gdb
$(EXEEXT
): main.o libgdb.a
$(ADD_DEPS
) $(CDEPS
) $(TDEPLIBS
)
673 $(HLDENV
) $(CC_LD
) $(INTERNAL_LDFLAGS
) $(WIN32LDAPP
) -o gdb
$(EXEEXT
) main.o libgdb.a
$(TDEPLIBS
) $(TUI_LIBRARY
) $(CLIBS
) $(LOADLIBES
)
676 rootme
=`pwd`; export rootme
; $(MAKE
) $(TARGET_FLAGS_TO_PASS
) DO
=all DODIRS
=nlm subdir_do
678 # Create a library of the gdb object files and build GDB by linking
681 # init.o is very important. It pulls in the rest of GDB.
682 LIBGDB_OBS
= $(OBS
) $(TSOBS
) $(ADD_FILES
) init.o
683 libgdb.a
: $(LIBGDB_OBS
)
685 $(AR
) q libgdb.a
$(LIBGDB_OBS
)
688 saber_gdb
: $(SFILES
) $(DEPFILES
) copying.c version.c
689 #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
690 #load ./init.c $(SFILES)
691 #unload $(srcdir)/c-exp.y
692 #unload $(srcdir)/jv-exp.y
693 #unload $(srcdir)/m2-exp.y
695 #unload nindy-share/[A-Z]*
699 #load copying.c version.c
700 #load ../opcodes/libopcodes.a
701 #load ../libiberty/libiberty.a
702 #load ../bfd/libbfd.a
703 #load ../readline/libreadline.a
704 #load ../mmalloc/libmmalloc.a
705 #load ../intl/libintl.a
707 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
708 echo
"Load .c corresponding to:" $(DEPFILES
)
711 # A Mach 3.0 program to force gdb back to command level
714 ${CC_LD} $(GLOBAL_CFLAGS
) $(LDFLAGS
) -o stop-gdb \
715 stop-gdb.o
$(CLIBS
) $(LOADLIBES
)
717 # This is useful when debugging GDB, because some Unix's don't let you run GDB
718 # on itself without copying the executable. So "make gdb1" will make
719 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
720 # Removing gdb1 before the copy is the right thing if gdb1 is open
721 # in another process.
722 gdb1
$(EXEEXT
): gdb
$(EXEEXT
)
724 cp gdb
$(EXEEXT
) gdb1
$(EXEEXT
)
726 # FIXME. These are not generated by "make depend" because they only are there
728 # But these rules don't do what we want; we want to hack the foo.o: tm.h
729 # dependency to do the right thing.
730 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h
: tm-m68k.h
731 tm-hp300hpux.h tm-sun2.h tm-3b1.h
: tm-m68k.h
732 xm-news1000.h
: xm-news.h
733 xm-i386-sv32.h
: xm-i386.h
734 tm-i386gas.h
: tm-i386.h
735 xm-sun4os4.h
: xm-sparc.h
736 tm-sun4os4.h
: tm-sparc.h
737 xm-vaxult.h
: xm-vax.h
738 xm-vaxbsd.h
: xm-vax.h
740 kdb
: $(NTSSTART
) $(OBS
) $(NTSOBS
) $(ADD_DEPS
) $(CDEPS
)
741 ld -o kdb
$(NTSSTART
) $(OBS
) $(NTSOBS
) init.o
$(ADD_FILES
) \
744 # Have the TUI library depend on a phony target, so we'll always
745 # recurse and make sure it's up to date. If it is, then the file will
746 # be unchanged, and we won't rebuild it.
749 @
(cd tui
; ${MAKE} ${FLAGS_TO_PASS} all)
751 # Put the proper machine-specific files first, so M-. on a machine
752 # specific routine gets the one for the correct machine. (FIXME: those
753 # files go in twice; we should be removing them from the main list).
755 # TAGS depends on all the files that go into it so you can rebuild TAGS
756 # with `make TAGS' and not have to say `rm TAGS' first.
758 TAGS
: $(TAGFILES_NO_SRCDIR
) $(TAGFILES_WITH_SRCDIR
)
760 @etags
$(srcdir)/$(TM_FILE
) \
761 $(srcdir)/$(XM_FILE
) \
762 $(srcdir)/$(NAT_FILE
) \
763 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
764 echo $(srcdir)/$$i ; \
765 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
767 done) | sed -e 's/\.o$$/\.c/'` \
768 `find $(srcdir)/config -name '*.h' -print`
773 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=clean "DODIRS=$(SUBDIRS)" subdir_do
774 rm -f
*.o
*.a
$(ADD_FILES
) *~ init.c-tmp init.l-tmp
775 rm -f init.c version.c
776 rm -f gdb
$(EXEEXT
) core make.log
777 rm -f gdb
[0-9]$(EXEEXT
)
779 # This used to depend on c-exp.tab.c m2-exp.tab.c TAGS
780 # I believe this is wrong; the makefile standards for distclean just
781 # describe removing files; the only sort of "re-create a distribution"
782 # functionality described is if the distributed files are unmodified.
784 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=distclean "DODIRS=$(SUBDIRS)" subdir_do
785 rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
786 rm -f y.output
yacc.acts
yacc.tmp y.tab.h
787 rm -f config.log config.cache
790 maintainer-clean
: local-maintainer-clean do-maintainer-clean
distclean
791 realclean: maintainer-clean
793 local-maintainer-clean
:
794 @echo
"This command is intended for maintainers to use;"
795 @echo
"it deletes files that may require special tools to rebuild."
798 f-exp.tab.c m2-exp.tab.c
799 rm -f TAGS
$(INFOFILES
)
801 rm -f nm.h tm.h xm.h config.status
804 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=maintainer-clean
"DODIRS=$(SUBDIRS)" \
807 diststuff
: $(DISTSTUFF
)
808 cd doc
; $(MAKE
) $(MFLAGS
) all-doc
811 @for i in
$(DODIRS
); do \
812 if
[ -f .
/$$i/Makefile
] ; then \
814 $(MAKE
) $(FLAGS_TO_PASS
) $(DO
)) ; then true
; \
819 Makefile
: Makefile.in config.status @frags@
820 $(SHELL
) config.status
822 config.h
: stamp-h
; @true
823 stamp-h
: config.in config.status
824 CONFIG_HEADERS
=config.h
:config.in
$(SHELL
) config.status
826 config.status
: configure
827 $(SHELL
) config.status
--recheck
832 # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
834 cd doc
; $(MAKE
) refcard.
dvi $(FLAGS_TO_PASS
)
836 # GDB QUICK REFERENCE (PostScript output, common PS fonts)
838 cd doc
; $(MAKE
) refcard.ps
$(FLAGS_TO_PASS
)
840 # GDB MANUAL: TeX dvi file
842 cd doc
; $(MAKE
) gdb.
dvi $(FLAGS_TO_PASS
)
844 # GDB MANUAL: info file
846 cd doc
; $(MAKE
) gdb.
info $(FLAGS_TO_PASS
)
848 # Make copying.c from COPYING
849 copying.c
: COPYING copying.awk
850 awk
-f
$(srcdir)/copying.awk
< $(srcdir)/COPYING
> copying.c
854 echo
'#include "version.h"' >> version.c
855 echo
'const char version[] = "$(VERSION)";' >> version.c
856 echo
'const char host_name[] = "$(host_alias)";' >> version.c
857 echo
'const char target_name[] = "$(target_alias)";' >> version.c
858 version.o
: version.c
$(version_h
)
860 # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
861 # in srcdir, then compiled in objdir to c-exp.tab.o.
863 # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
864 # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
866 # Remove bogus decls for malloc/realloc/free which conflict with everything
867 # else. Strictly speaking c-exp.tab.c should therefore depend on
868 # Makefile.in, but that was a pretty big annoyance.
869 c-exp.tab.o
: c-exp.tab.c
871 $(SHELL
) $(YLWRAP
) "$(YACC)" $(srcdir)/c-exp.y y.tab.c c-exp.tmp
-- $(YFLAGS
)
872 -sed
-e
'/extern.*malloc/d' \
873 -e
'/extern.*realloc/d' \
874 -e
'/extern.*free/d' \
875 -e
'/include.*malloc.h/d' \
876 -e
's/malloc/xmalloc/g' \
877 -e
's/realloc/xrealloc/g' \
878 -e
'/^#line.*y.tab.c/d' \
879 < c-exp.tmp
> c-exp.new
881 mv c-exp.new .
/c-exp.tab.c
883 jv-exp.tab.o
: jv-exp.tab.c
884 jv-exp.tab.c
: jv-exp.y
885 $(SHELL
) $(YLWRAP
) "$(YACC)" $(srcdir)/jv-exp.y y.tab.c jv-exp.tmp
-- $(YFLAGS
)
886 -sed
-e
'/extern.*malloc/d' \
887 -e
'/extern.*realloc/d' \
888 -e
'/extern.*free/d' \
889 -e
'/include.*malloc.h/d' \
890 -e
's/malloc/xmalloc/g' \
891 -e
's/realloc/xrealloc/g' \
892 -e
'/^#line.*y.tab.c/d' \
893 < jv-exp.tmp
> jv-exp.new
895 mv jv-exp.new .
/jv-exp.tab.c
897 f-exp.tab.o
: f-exp.tab.c
898 f-exp.tab.c
: f-exp.y c-exp.tab.c
899 $(SHELL
) $(YLWRAP
) "$(YACC)" $(srcdir)/f-exp.y y.tab.c f-exp.tmp
-- $(YFLAGS
)
900 -sed
-e
'/extern.*malloc/d' \
901 -e
'/extern.*realloc/d' \
902 -e
'/extern.*free/d' \
903 -e
'/include.*malloc.h/d' \
904 -e
's/malloc/xmalloc/g' \
905 -e
's/realloc/xrealloc/g' \
906 -e
'/^#line.*y.tab.c/d' \
907 < f-exp.tmp
> f-exp.new
909 mv f-exp.new .
/f-exp.tab.c
911 # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
912 # in srcdir, then compiled in objdir to m2-exp.tab.o.
913 # Remove bogus decls for malloc/realloc/free which conflict with everything
915 m2-exp.tab.o
: m2-exp.tab.c
916 m2-exp.tab.c
: m2-exp.y
917 $(SHELL
) $(YLWRAP
) "$(YACC)" $(srcdir)/m2-exp.y y.tab.c m2-exp.tmp
-- $(YFLAGS
)
918 -sed
-e
'/extern.*malloc/d' \
919 -e
'/extern.*realloc/d' \
920 -e
'/extern.*free/d' \
921 -e
'/include.*malloc.h/d' \
922 -e
's/malloc/xmalloc/g' \
923 -e
's/realloc/xrealloc/g' \
924 -e
'/^#line.*y.tab.c/d' \
925 < m2-exp.tmp
> m2-exp.new
927 mv m2-exp.new .
/m2-exp.tab.c
929 # These files are updated atomically, so make never has to remove them
930 .PRECIOUS
: m2-exp.tab.c f-exp.tab.c c-exp.tab.c
931 .PRECIOUS
: jv-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-linux-nat.c 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 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 \
968 hp-psymtab-read.c hp-symtab-read.c \
969 i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c i386-linux-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 \
979 mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
980 nindy-share
/Onindy.c nindy-share
/nindy.c \
981 nindy-share
/ttyflush.c nindy-tdep.c \
982 ns32k-tdep.c ns32km3-nat.c osfsolib.c \
983 somread.c somsolib.c
$(HPREAD_SOURCE
) \
984 procfs.c pyr-tdep.c pyr-xdep.c \
985 remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \
986 remote-es.c remote-hms.c remote-mips.c \
987 remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \
988 remote-st.c remote-utils.c dcache.c \
989 remote-udi.c remote-vx.c remote-vx29k.c \
990 rs6000-nat.c rs6000-tdep.c \
991 ser-go32.c ser-pipe.c ser-ocd.c ser-tcp.c \
992 sh-tdep.c solib.c sparc-nat.c \
993 sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
994 symm-tdep.c symm-nat.c \
995 tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
997 vx-share
/xdr_ld.c vx-share
/xdr_ptrace.c vx-share
/xdr_rdb.c \
999 xcoffread.c xcoffsolib.c z8k-tdep.c
1001 udip2soc.o
: $(srcdir)/29k-share
/udi
/udip2soc.c
$(udiheaders
)
1002 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/29k-share
/udi
/udip2soc.c
1004 udi2go32.o
: $(srcdir)/29k-share
/udi
/udi2go32.c
$(udiheaders
)
1005 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/29k-share
/udi
/udi2go32.c
1007 udr.o
: $(srcdir)/29k-share
/udi
/udr.c
$(udiheaders
)
1008 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/29k-share
/udi
/udr.c
1010 a29k-tdep.o
: a29k-tdep.c
$(gdbcmd_h
) $(gdbcore_h
) $(inferior_h
) $(defs_h
)
1012 a68v-nat.o
: a68v-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1014 alpha-nat.o
: alpha-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) target.h
1016 alpha-tdep.o
: alpha-tdep.c
$(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1017 $(inferior_h
) $(symtab_h
) $(dis-asm.h
) gdb_string.h
1019 # OBSOLETE altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1021 annotate.o
: annotate.c
$(defs_h
) annotate.h
$(value_h
) target.h
$(gdbtypes_h
)
1023 arm-linux-nat.o
: arm-linux-nat.c
$(defs_h
) $(inferior_h
) $(gdbcore_h
) \
1026 arm-tdep.o
: arm-tdep.c
$(gdbcmd_h
) $(gdbcore_h
) $(inferior_h
) $(defs_h
) \
1029 bcache.o
: bcache.c bcache.h
$(defs_h
)
1031 blockframe.o
: blockframe.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1032 objfiles.h symfile.h target.h
1034 breakpoint.o
: breakpoint.c
$(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1035 $(inferior_h
) language.h target.h gdbthread.h gdb_string.h \
1038 buildsym.o
: buildsym.c
$(bfd_h
) buildsym.h complaints.h
$(defs_h
) \
1039 objfiles.h symfile.h
$(symtab_h
) gdb_string.h
1041 c-lang.o
: c-lang.c c-lang.h
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1042 language.h parser-defs.h
$(symtab_h
)
1044 c-typeprint.o
: c-typeprint.c c-lang.h
$(defs_h
) $(expression_h
) \
1045 $(gdbcmd_h
) $(gdbcore_h
) $(gdbtypes_h
) language.h
$(symtab_h
) \
1046 target.h typeprint.h
$(value_h
) gdb_string.h
1048 c-valprint.o
: c-valprint.c
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1049 language.h
$(symtab_h
) valprint.h
$(value_h
)
1051 f-lang.o
: f-lang.c f-lang.h
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1052 language.h parser-defs.h
$(symtab_h
) gdb_string.h
1054 f-typeprint.o
: f-typeprint.c f-lang.h
$(defs_h
) $(expression_h
) \
1055 $(gdbcmd_h
) $(gdbcore_h
) $(gdbtypes_h
) language.h
$(symtab_h
) \
1056 target.h typeprint.h
$(value_h
) gdb_string.h
1058 f-valprint.o
: f-valprint.c
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1059 language.h
$(symtab_h
) valprint.h
$(value_h
) gdb_string.h
1061 ch-exp.o
: ch-exp.c ch-lang.h
$(defs_h
) language.h parser-defs.h
$(bfd_h
) symfile.h objfiles.h
$(value_h
)
1063 ch-lang.o
: ch-lang.c ch-lang.h
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1064 language.h parser-defs.h
$(symtab_h
)
1066 ch-typeprint.o
: ch-typeprint.c ch-lang.h
$(defs_h
) $(expression_h
) \
1067 $(gdbcmd_h
) $(gdbcore_h
) $(gdbtypes_h
) language.h
$(symtab_h
) \
1068 target.h
$(value_h
) typeprint.h gdb_string.h
1070 ch-valprint.o
: ch-valprint.c
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1071 language.h
$(symtab_h
) valprint.h
$(value_h
) c-lang.h
1073 coff-solib.o
: coff-solib.c
$(defs_h
)
1075 coffread.o
: coffread.c
$(bfd_h
) $(breakpoint_h
) buildsym.h \
1076 complaints.h
$(defs_h
) $(expression_h
) $(gdbtypes_h
) objfiles.h \
1077 symfile.h
$(symtab_h
) gdb-stabs.h stabsread.h target.h \
1080 command.o
: command.c
$(defs_h
) $(expression_h
) $(gdbcmd_h
) \
1081 $(gdbtypes_h
) $(symtab_h
) $(value_h
) gdb_string.h
$(wait_h
)
1083 complaints.o
: complaints.c complaints.h
$(defs_h
) $(gdbcmd_h
)
1085 # OBSOLETE convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1086 # OBSOLETE $(gdbcore_h) $(inferior_h)
1088 # OBSOLETE convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1089 # OBSOLETE $(inferior_h)
1091 copying.o
: copying.c
$(defs_h
) $(gdbcmd_h
)
1093 core-aout.o
: core-aout.c
$(defs_h
) $(gdbcore_h
) $(value_h
) $(inferior_h
)
1095 core-sol2.o
: core-sol2.c
$(command_h
) $(defs_h
) $(gdbcore_h
) \
1096 $(inferior_h
) target.h gdb_string.h
1098 core-regset.o
: core-regset.c
$(command_h
) $(defs_h
) $(gdbcore_h
) \
1099 $(inferior_h
) target.h gdb_string.h
1101 corefile.o
: corefile.c
$(dis-asm_h
) $(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1102 $(inferior_h
) target.h language.h gdb_string.h
1104 corelow.o
: corelow.c
$(command_h
) $(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1105 target.h gdbthread.h gdb_string.h
1107 cp-valprint.o
: cp-valprint.c
$(defs_h
) $(expression_h
) $(gdbcmd_h
) \
1108 $(gdbtypes_h
) $(symtab_h
) $(value_h
) gdb_string.h
1110 dcache.o
: dcache.c
$(dcache_h
) $(defs_h
) $(gdbcmd_h
) gdb_string.h
$(gdbcore_h
)
1112 dbxread.o
: dbxread.c
$(breakpoint_h
) buildsym.h
$(command_h
) \
1113 complaints.h
$(defs_h
) $(expression_h
) gdb-stabs.h
$(gdbcore_h
) \
1114 $(gdbtypes_h
) language.h objfiles.h partial-stab.h stabsread.h \
1115 symfile.h
$(symtab_h
) target.h gdb_string.h
1117 delta68-nat.o
: delta68-nat.c
$(defs_h
)
1119 demangle.o
: demangle.c
$(defs_h
) $(gdbcmd_h
) gdb_string.h
1121 dink32-rom.o
: dink32-rom.c monitor.h
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1122 $(inferior_h
) target.h serial.h terminal.h symfile.h
1124 dpx2-nat.o
: dpx2-nat.c
$(defs_h
) $(gdbcore_h
) gdb_string.h
1126 dstread.o
: dstread.c gdb_string.h
1128 dwarfread.o
: dwarfread.c
$(bfd_h
) buildsym.h complaints.h
$(defs_h
) \
1129 $(expression_h
) $(gdbtypes_h
) language.h objfiles.h symfile.h \
1130 $(symtab_h
) gdb_string.h
1132 dwarf2read.o
: dwarf2read.c
$(bfd_h
) $(elf_bfd_h
) buildsym.h
$(defs_h
) \
1133 $(expression_h
) $(gdbtypes_h
) language.h objfiles.h symfile.h \
1134 $(symtab_h
) gdb_string.h
1136 elfread.o
: elfread.c
$(bfd_h
) buildsym.h complaints.h
$(defs_h
) \
1137 gdb-stabs.h objfiles.h symfile.h
$(symtab_h
) gdb_string.h \
1138 $(BFD_SRC
)/elf-bfd.h
$(INCLUDE_DIR
)/elf
/mips.h
1140 environ.o
: environ.c
$(defs_h
) environ.h
$(gdbcore_h
) gdb_string.h
1142 eval.o
: eval.c
$(bfd_h
) $(defs_h
) $(expression_h
) $(frame_h
) \
1143 $(gdbtypes_h
) language.h
$(symtab_h
) target.h
$(value_h
) \
1146 event-loop.o
: event-loop.c
$(defs_h
) $(top_h
) $(event_loop_h
) $(event_top_h
)
1148 event-top.o
: event-top.c top.h
$(readline_headers
) \
1149 $(defs_h
) $(inferior_h
) $(event_loop_h
) $(event_top_h
) terminal.h \
1150 $(gdbcmd_h
) target.h
1152 inf-loop.o
: inf-loop.c
$(defs_h
) $(inferior_h
) $(inf_loop_h
) $(event_loop_h
) \
1155 exec.o
: exec.c
$(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) $(inferior_h
) \
1156 target.h language.h gdb_string.h
1158 expprint.o
: expprint.c
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1159 language.h parser-defs.h
$(symtab_h
) $(value_h
)
1161 findvar.o
: findvar.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) target.h \
1164 fork-child.o
: fork-child.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1165 $(inferior_h
) target.h terminal.h gdbthread.h gdb_string.h
1167 tracepoint.o
: tracepoint.c
$(defs_h
) $(symtab_h
) $(frame_h
) $(tracepoint_h
) \
1168 $(gdbtypes_h
) $(expression_h
) $(gdbcmd_h
) $(value_h
) target.h \
1169 language.h gdb_string.h
$(readline_headers
) $(remote_h
)
1171 gdbarch.o
: gdbarch.c
$(defs_h
) $(bfd_h
) $(gdbcmd_h
)
1173 gdbtypes.o
: gdbtypes.c
$(bfd_h
) complaints.h
$(defs_h
) $(expression_h
) \
1174 $(gdbtypes_h
) language.h objfiles.h symfile.h
$(symtab_h
) target.h \
1175 $(value_h
) gdb_string.h
1177 gnu-nat.o
: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h \
1178 exc_request_U.h msg_U.h gnu-nat.h
1180 # OBSOLETE gould-tdep.o: gould-tdep.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
1181 # OBSOLETE $(gdbcore_h) $(symtab_h)
1183 # OBSOLETE gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1185 h8300-tdep.o
: h8300-tdep.c
$(defs_h
) $(frame_h
) $(symtab_h
)
1187 h8500-tdep.o
: h8500-tdep.c
$(bfd_h
) $(dis-asm_h
) $(defs_h
) \
1188 $(expression_h
) $(frame_h
) $(gdbcmd_h
) $(gdbtypes_h
) $(symtab_h
) \
1191 hp300ux-nat.o
: hp300ux-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1193 hppa-tdep.o
: hppa-tdep.c
$(wait_h
) $(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1194 $(inferior_h
) objfiles.h symfile.h target.h
1196 hppab-nat.o
: hppab-nat.c
$(bfd_h
) $(defs_h
) $(inferior_h
) target.h
1198 hppah-nat.o
: hppah-nat.c
$(bfd_h
) $(defs_h
) $(inferior_h
) target.h
1200 i386gnu-nat.o
: gnu-nat.h
1202 i386-tdep.o
: i386-tdep.c
$(defs_h
) gdb_string.h
$(frame_h
) \
1203 $(inferior_h
) $(gdbcore_h
) target.h
$(floatformat_h
) \
1204 $(symtab_h
) $(gdbcmd_h
) $(command_h
)
1206 i386aix-nat.o
: i386aix-nat.c
$(defs_h
) $(frame_h
) $(inferior_h
) \
1207 language.h
$(gdbcore_h
) $(floatformat_h
) target.h
1209 i386b-nat.o
: i386b-nat.c
$(defs_h
)
1211 i386ly-nat.o
: i386ly-nat.c
$(defs_h
) $(frame_h
) $(inferior_h
) target.h
1213 i386ly-tdep.o
: i386ly-tdep.c
$(defs_h
) $(inferior_h
) target.h
$(gdbcore_h
)
1215 i386m3-nat.o
: i386m3-nat.c
$(defs_h
) $(inferior_h
) $(floatformat_h
) target.h
1217 i386mach-nat.o
: i386mach-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1219 i386v-nat.o
: i386v-nat.c
$(floatformat_h
) $(defs_h
) $(gdbcore_h
) \
1220 $(inferior_h
) language.h target.h
1222 i386-linux-nat.o
: i386-linux-nat.c
$(defs_h
) $(inferior_h
) $(gdbcore_h
) \
1223 $(symtab_h
) $(frame_h
) symfile.h objfiles.h
1225 i386v4-nat.o
: i386v4-nat.c
$(defs_h
)
1227 i387-tdep.o
: i387-tdep.c
$(floatformat_h
) $(defs_h
) $(gdbcore_h
) \
1228 $(inferior_h
) language.h
1230 i960-tdep.o
: i960-tdep.c
$(floatformat_h
) $(defs_h
) $(expression_h
) \
1231 $(frame_h
) $(gdbtypes_h
) $(symtab_h
) $(value_h
) $(gdbcore_h
)
1233 infcmd.o
: infcmd.c
$(defs_h
) environ.h
$(gdbcmd_h
) $(gdbcore_h
) \
1234 $(inferior_h
) target.h language.h gdb_string.h
1236 inflow.o
: inflow.c
$(bfd_h
) $(command_h
) $(defs_h
) $(inferior_h
) \
1237 signals.h target.h terminal.h gdbthread.h gdb_string.h
1239 infptrace.o
: infptrace.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) target.h \
1240 gdb_string.h
$(wait_h
) $(command_h
)
1242 infrun.o
: infrun.c
$(wait_h
) $(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1243 $(inferior_h
) target.h gdbthread.h gdb_string.h
$(event_loop_h
) \
1244 $(event_top_h
) target.h
1246 inftarg.o
: inftarg.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1247 target.h terminal.h
$(command_h
)
1249 irix4-nat.o
: irix4-nat.c
$(defs_h
) $(inferior_h
) $(gdbcore_h
)
1250 irix5-nat.o
: irix5-nat.c
$(defs_h
) $(inferior_h
) $(gdbcore_h
) target.h \
1251 $(symtab_h
) symfile.h objfiles.h
$(command_h
) $(frame_h
) gnu-regex.h \
1252 language.h gdb_string.h
1254 isi-xdep.o
: isi-xdep.c
1256 jv-lang.o
: jv-lang.c
$(bfd_h
) $(defs_h
) $(symtab_h
) $(gdbtypes_h
) \
1257 $(expression_h
) parser-defs.h language.h symfile.h objfiles.h \
1258 gdb_string.h
$(value_h
) c-lang.h jv-lang.h
$(gdbcore_h
)
1260 jv-typeprint.o
: jv-typeprint.c
$(bfd_h
) $(defs_h
) $(symtab_h
) $(gdbtypes_h
) \
1261 $(value_h
) $(INCLUDE_DIR
)/demangle.h jv-lang.h gdb_string.h \
1262 typeprint.h c-lang.h
1264 jv-valprint.o
: jv-valprint.c
$(bfd_h
) $(defs_h
) $(symtab_h
) $(gdbtypes_h
) \
1265 $(expression_h
) $(value_h
) $(INCLUDE_DIR
)/demangle.h valprint.h \
1266 language.h jv-lang.h c-lang.h gdbcore.h annotate.h
1268 kod.o
: kod.c
$(defs_h
) $(command_h
) $(gdbcmd_h
) target.h gdb_string.h kod.h
1270 kod-cisco.o
: kod-cisco.c
$(defs_h
) gdb_string.h kod.h
1272 language.o
: language.c
$(bfd_h
) $(defs_h
) $(expression_h
) $(frame_h
) \
1273 $(gdbcmd_h
) $(gdbtypes_h
) language.h parser-defs.h
$(symtab_h
) \
1274 target.h
$(value_h
) gdb_string.h
1276 lynx-nat.o
: lynx-nat.c
$(defs_h
) $(frame_h
) $(inferior_h
) $(gdbcore_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 \
1284 $(value_h
) gdb_string.h
1286 m2-valprint.o
: m2-valprint.c
$(defs_h
) $(gdbtypes_h
) $(symtab_h
) \
1287 valprint.h m2-lang.h
1289 m3-nat.o
: m3-nat.c
$(defs_h
) $(inferior_h
) $(value_h
) language.h target.h \
1290 $(wait_h
) $(gdbcmd_h
) $(gdbcore_h
)
1292 m68k-tdep.o
: m68k-tdep.c
$(defs_h
) $(frame_h
) $(symtab_h
) $(value_h
) \
1293 $(gdbcore_h
) gdb_string.h
1295 m68kly-nat.o
: m68kly-nat.c
$(defs_h
) $(frame_h
) $(inferior_h
) target.h
1297 m68klinux-nat.o
: m68klinux-nat.c
$(defs_h
) $(frame_h
) $(inferior_h
) \
1298 $(language_h
) $(gdbcore_h
) $(floatformat_h
) target.h
1300 m88k-nat.o
: m88k-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1302 m88k-tdep.o
: m88k-tdep.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1304 mac-nat.o
: mac-nat.c
$(defs_h
) gdb_string.h
1306 main.o
: main.c top.h
$(defs_h
) gdb_string.h
$(event_loop_h
) tui
/tui-file.h
1308 maint.o
: maint.c
$(defs_h
) $(gdbcmd_h
) $(gdbtypes_h
) $(symtab_h
) language.h \
1309 $(expression_h
) objfiles.h symfile.h
1311 mcore-tdep.o
: mcore-tdep.c
$(defs_h
) $(frame_h
) $(gdbcmd_h
) $(value_h
) $(symtab_h
)
1313 mcore-rom.o
: mcore-rom.c
$(defs_h
) $(gdbcore_h
) target.h monitor.h \
1316 mdebugread.o
: mdebugread.c buildsym.h complaints.h
$(bfd_h
) $(defs_h
) \
1317 $(expression_h
) gdb-stabs.h
$(gdbcore_h
) $(gdbtypes_h
) language.h \
1318 objfiles.h partial-stab.h stabsread.h symfile.h
$(symtab_h
) \
1321 mipsm3-nat.o
: mipsm3-nat.c
$(defs_h
) $(inferior_h
)
1323 os9kread.o
: os9kread.c buildsym.h complaints.h
$(bfd_h
) $(defs_h
) \
1324 $(expression_h
) gdb-stabs.h
$(gdbcore_h
) $(gdbtypes_h
) language.h \
1325 objfiles.h stabsread.h symfile.h
$(symtab_h
) \
1326 target.h gdb_string.h
1328 mem-break.o
: mem-break.c
$(defs_h
)
1330 minsyms.o
: minsyms.c
$(bfd_h
) $(defs_h
) objfiles.h symfile.h \
1331 $(symtab_h
) gdb_string.h
1333 mips-nat.o
: mips-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1335 mips-tdep.o
: mips-tdep.c
$(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1336 $(inferior_h
) language.h objfiles.h symfile.h gdb_string.h
1338 mipsread.o
: mipsread.c buildsym.h complaints.h
$(bfd_h
) $(defs_h
) \
1339 $(expression_h
) gdb-stabs.h
$(gdbcore_h
) $(gdbtypes_h
) language.h \
1340 objfiles.h partial-stab.h stabsread.h symfile.h
$(symtab_h
) \
1343 mipsv4-nat.o
: mipsv4-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) target.h
1345 monitor.o
: monitor.c monitor.h
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1346 $(inferior_h
) target.h serial.h terminal.h gdb_string.h
1348 news-xdep.o
: news-xdep.c
1350 Onindy.o
: nindy-share
/Onindy.c
$(wait_h
) nindy-share
/block_io.h \
1352 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/nindy-share
/Onindy.c
1354 nindy.o
: nindy-share
/nindy.c
$(wait_h
) nindy-share
/block_io.h \
1356 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/nindy-share
/nindy.c
1358 nlmread.o
: nlmread.c
$(bfd_h
) buildsym.h complaints.h
$(defs_h
) \
1359 gdb-stabs.h objfiles.h symfile.h
$(symtab_h
) stabsread.h \
1362 ns32km3-nat.o
: ns32km3-nat.c
$(defs_h
) $(inferior_h
)
1364 ttyflush.o
: nindy-share
/ttyflush.c
1365 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/nindy-share
/ttyflush.c
1367 nindy-tdep.o
: nindy-tdep.c
$(defs_h
) $(frame_h
) $(symtab_h
) $(gdbcore_h
)
1369 ns32k-tdep.o
: ns32k-tdep.c
$(bfd_h
) $(dis-asm_h
) $(defs_h
)
1371 objfiles.o
: objfiles.c
$(bfd_h
) $(defs_h
) objfiles.h symfile.h \
1372 $(symtab_h
) gdb_string.h
$(breakpoint_h
)
1374 osfsolib.o
: osfsolib.c
$(command_h
) $(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1375 objfiles.h gnu-regex.h symfile.h target.h language.h gdb_string.h
1377 somread.o
: somread.c
$(bfd_h
) buildsym.h complaints.h
$(defs_h
) \
1378 gdb-stabs.h objfiles.h symfile.h
$(symtab_h
) gdb_string.h
1380 somsolib.o
: somsolib.c
$(defs_h
)
1382 pa64solib.o
: pa64solib.c
$(defs_h
)
1384 hpux-thread.o
: hpux-thread.c
$(defs_h
) gdbthread.h target.h inferior.h
1385 hpux-thread.o
: hpux-thread.c
$(defs_h
) gdbthread.h target.h inferior.h
1386 $(CC
) -c
$(INTERNAL_CFLAGS
) -I
$(srcdir)/osf-share \
1387 -I
$(srcdir)/osf-share
/HP800
-I
/usr
/include/dce
$(srcdir)/hpux-thread.c
1390 hpread.o
: hpread.c
$(bfd_h
) buildsym.h complaints.h
$(defs_h
) \
1391 gdb-stabs.h objfiles.h symfile.h
$(symtab_h
) gdb_string.h
1393 hp-psymtab-read.o
: hp-psymtab-read.c hpread.h
$(bfd_h
) buildsym.h complaints.h \
1394 $(defs_h
) gdb-stabs.h objfiles.h symfile.h
$(symtab_h
) gdb_string.h
1396 hp-symtab-read.o
: hp-symtab-read.c hpread.h
$(bfd_h
) buildsym.h complaints.h \
1397 $(defs_h
) gdb-stabs.h objfiles.h symfile.h
$(symtab_h
) gdb_string.h
1400 parse.o
: parse.c
$(command_h
) $(defs_h
) $(expression_h
) $(frame_h
) \
1401 $(gdbtypes_h
) language.h parser-defs.h
$(symtab_h
) $(value_h
) \
1404 ppc-bdm.o
: ppc-bdm.c
$(defs_h
) $(gdbcore_h
) gdb_string.h
$(frame_h
) \
1405 $(inferior_h
) $(bfd_h
) symfile.h target.h
$(wait_h
) $(gdbcmd_h
) \
1406 objfiles.h gdb-stabs.h serial.h ocd.h
1408 ppcbug-rom.o
: ppcbug-rom.c monitor.h
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1409 $(inferior_h
) target.h serial.h terminal.h
1411 printcmd.o
: printcmd.c
$(breakpoint_h
) $(defs_h
) $(expression_h
) \
1412 $(gdbcmd_h
) $(gdbcore_h
) $(gdbtypes_h
) language.h objfiles.h \
1413 symfile.h
$(symtab_h
) target.h gdb_string.h
1415 # FIXME: Procfs.o gets -Wformat errors because things like pid_t don't
1416 # match output format strings.
1417 procfs.o
: procfs.c
$(command_h
) $(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1418 target.h gdb_string.h gdbthread.h proc-utils.h
1419 $(CC
) -c
$(INTERNAL_WARN_CFLAGS
) $(NO_WERROR_CFLAGS
) $<
1421 proc-api.o
: proc-api.c
$(defs_h
) $(gdbcmd_h
) proc-utils.h
1423 proc-events.o
: proc-events.c
$(defs_h
)
1425 proc-flags.o
: proc-flags.c
$(defs_h
)
1427 proc-why.o
: proc-why.c
$(defs_h
) proc-utils.h
1429 sol-thread.o
: sol-thread.c
$(defs_h
) gdbthread.h target.h
$(inferior_h
) \
1432 linux-thread.o
: linux-thread.c
$(breakpoint_h
) $(gdbcmd_h
) $(wait_h
) \
1433 gdbthread.h
$(gdbcore_h
) $(inferior_h
) target.h
$(defs_h
)
1435 # OBSOLETE pyr-tdep.o: pyr-tdep.c $(defs_h)
1437 # OBSOLETE pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1439 gnu-regex.o
: gnu-regex.c gnu-regex.h
$(defs_h
) gdb_string.h
1441 remote-adapt.o
: remote-adapt.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1442 $(inferior_h
) target.h terminal.h gdb_string.h
1444 remote-array.o
: remote-array.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) target.h \
1445 gdb_string.h
$(command_h
) serial.h monitor.h
$(remote_utils_h
) \
1448 remote-rdi.o
: remote-rdi.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1449 $(inferior_h
) gdb_string.h
1451 rdi-share
/libangsd.a
: force
1453 if
[ -f .
/$${dir}/Makefile
] ; then \
1454 r
=`pwd`; export r
; \
1455 srcroot
=`cd $(srcdir); pwd`; export srcroot
; \
1456 (cd
$${dir}; $(MAKE
) $(FLAGS_TO_PASS
) all); \
1461 remote-d10v.o
: remote-d10v.c
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1462 $(inferior_h
) $(remote_utils_h
) symfile.h terminal.h gdb_string.h
1464 remote-rdp.o
: remote-rdp.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1465 $(inferior_h
) gdb_string.h
1467 remote-bug.o
: remote-bug.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1468 $(inferior_h
) target.h terminal.h
$(remote_utils_h
) gdb_string.h
1470 # FIXME: For the SH target, remote-e7000 contains numerous -Wformat
1471 # warnings. Since the fixes involve modifications to the code that
1472 # handles the SH remote protocol the changes need to be tested against
1473 # an SH board before they can be committed. cagney 1999-09-01.
1474 remote-e7000.o
: remote-e7000.c
$(defs_h
) $(gdbcore_h
) target.h \
1475 $(wait_h
) serial.h gdb_string.h
1476 $(CC
) -c
$(INTERNAL_WARN_CFLAGS
) $(NO_WERROR_CFLAGS
) $<
1478 remote-eb.o
: remote-eb.c
$(wait_h
) $(srcdir)/config
/a29k
/tm-a29k.h \
1479 $(defs_h
) $(gdbcore_h
) $(inferior_h
) symfile.h target.h terminal.h \
1482 remote-es.o
: remote-es.c
$(bfd_h
) $(wait_h
) $(command_h
) $(defs_h
) \
1483 $(inferior_h
) $(remote_utils_h
) terminal.h gdb_string.h
1485 remote-hms.o
: remote-hms.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1486 $(inferior_h
) serial.h target.h terminal.h gdb_string.h
1488 remote-mips.o
: remote-mips.c
$(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1489 $(gdbcore_h
) $(inferior_h
) serial.h symfile.h target.h
1491 remote-mm.o
: remote-mm.c
$(bfd_h
) $(wait_h
) $(defs_h
) $(inferior_h
) \
1492 minimon.h target.h terminal.h gdb_string.h
1494 remote-nindy.o
: remote-nindy.c
$(floatformat_h
) $(wait_h
) $(command_h
) \
1495 $(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1496 nindy-share
/env.h nindy-share
/stop.h
$(remote_utils_h
) \
1499 remote-os9k.o
: remote-os9k.c
$(defs_h
) $(gdbcore_h
) $(wait_h
) \
1500 $(command_h
) monitor.h
$(remote_utils_h
) $(symtab_h
) symfile.h \
1501 objfiles.h gdb-stabs.h gdb_string.h
1503 remote-sds.o
: remote-sds.c
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1504 $(inferior_h
) $(remote_utils_h
) symfile.h terminal.h gdb_string.h
1506 remote-sim.o
: remote-sim.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) \
1507 $(inferior_h
) target.h terminal.h gdb_string.h \
1508 $(INCLUDE_DIR
)/callback.h
1510 remote-st.o
: remote-st.c
$(wait_h
) $(defs_h
) $(gdbcore_h
) serial.h \
1511 target.h gdb_string.h
1513 remote-udi.o
: remote-udi.c
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1514 $(inferior_h
) target.h terminal.h
$(udiheaders
) gdb_string.h
1516 remote-vx.o
: remote-vx.c
$(wait_h
) complaints.h
$(defs_h
) $(gdbcmd_h
) \
1517 $(gdbcore_h
) $(inferior_h
) target.h vx-share
/dbgRpcLib.h \
1518 vx-share
/ptrace.h vx-share
/xdr_ld.h vx-share
/xdr_ptrace.h \
1519 vx-share
/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h
$(bfd_h
) \
1522 remote-vx29k.o
: remote-vx29k.c
$(wait_h
) complaints.h
$(defs_h
) $(gdbcmd_h
) \
1523 $(gdbcore_h
) $(inferior_h
) target.h vx-share
/dbgRpcLib.h \
1524 vx-share
/ptrace.h vx-share
/xdr_ld.h vx-share
/xdr_ptrace.h \
1525 vx-share
/xdr_rdb.h gdb_string.h
1527 ocd.o
: ocd.c ocd.h
$(gdbcore_h
) gdb_string.h
$(frame_h
) $(inferior_h
) \
1528 $(bfd_h
) symfile.h target.h
$(wait_h
) $(gdbcmd_h
) objfiles.h \
1529 gdb-stabs.h
$(dcache_h
) serial.h
1531 remote-utils.o
: remote-utils.c
$(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) \
1532 $(inferior_h
) $(remote_utils_h
) gdb_string.h
1534 remote.o
: remote.c
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1535 $(inferior_h
) $(remote_utils_h
) symfile.h terminal.h gdb_string.h \
1536 $(event_loop_h
) $(event_top_h
) $(remote_h
) $(inf_loop_h
)
1538 remote-nrom.o
: remote-nrom.c
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1539 $(inferior_h
) $(remote_utils_h
) symfile.h terminal.h
1541 rom68k-rom.o
: rom68k-rom.c monitor.h
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1542 $(inferior_h
) target.h serial.h terminal.h
1544 rs6000-nat.o
: rs6000-nat.c
$(bfd_h
) $(defs_h
) $(inferior_h
) target.h \
1547 rs6000-tdep.o
: rs6000-tdep.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1548 target.h xcoffsolib.h
1550 scm-exp.o
: $(defs_h
) $(value_h
) parser-defs.h language.h c-lang.h \
1551 scm-lang.h scm-tags.h
1553 scm-lang.o
: $(defs_h
) $(value_h
) parser-defs.h language.h c-lang.h \
1554 scm-lang.h scm-tags.h gdb_string.h
$(gdbcore_h
)
1556 scm-valprint.o
: $(defs_h
) $(value_h
) parser-defs.h language.h \
1557 scm-lang.h valprint.h
$(gdbcore_h
)
1559 ser-go32.o
: ser-go32.c
$(defs_h
) serial.h
1561 ser-mac.o
: ser-mac.c
$(defs_h
) serial.h signals.h
1563 ser-ocd.o
: ser-ocd.c
$(defs_h
) serial.h signals.h gdb_string.h
1565 ser-pipe.o
: ser-pipe.c
$(defs_h
) serial.h signals.h gdb_string.h ser-unix.h
1567 ser-tcp.o
: ser-tcp.c
$(defs_h
) serial.h signals.h gdb_string.h ser-unix.h
1569 ser-unix.o
: ser-unix.c
$(defs_h
) serial.h ser-unix.h
1571 serial.o
: serial.c
$(defs_h
) serial.h gdb_string.h
1573 sh-tdep.o
: sh-tdep.c
$(bfd_h
) $(dis-asm_h
) \
1574 $(srcdir)/..
/opcodes
/sh-opc.h
$(defs_h
) $(expression_h
) $(frame_h
) \
1575 $(gdbcmd_h
) $(gdbtypes_h
) $(symtab_h
) $(value_h
)
1577 sh3-rom.o
: sh3-rom.c monitor.h
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1578 $(inferior_h
) target.h serial.h terminal.h
1580 mon960-rom.o
: mon960-rom.c monitor.h
$(bfd_h
) $(wait_h
) $(defs_h
) $(gdbcmd_h
) \
1581 $(inferior_h
) target.h serial.h terminal.h
1583 solib.o
: solib.c
$(command_h
) $(defs_h
) $(gdbcore_h
) $(inferior_h
) \
1584 objfiles.h gnu-regex.h symfile.h target.h gdb_string.h
1586 source.o
: source.c
$(defs_h
) $(expression_h
) $(frame_h
) $(gdbcmd_h
) \
1587 $(gdbcore_h
) language.h objfiles.h gnu-regex.h symfile.h
$(symtab_h
) \
1588 gdb_string.h source.h
1590 sparc-nat.o
: sparc-nat.c
$(bfd_h
) $(defs_h
) $(inferior_h
) $(gdbcore_h
) \
1593 sparc-tdep.o
: sparc-tdep.c
$(floatformat_h
) $(defs_h
) $(gdbcore_h
) \
1594 $(inferior_h
) objfiles.h symfile.h target.h gdb_string.h
1596 sparcl-tdep.o
: sparcl-tdep.c
$(defs_h
) $(gdbcore_h
) target.h
1598 dsrec.o
: dsrec.c
$(defs_h
) srec.h
1600 stabsread.o
: stabsread.c
$(bfd_h
) $(INCLUDE_DIR
)/aout
/stab.def \
1601 $(INCLUDE_DIR
)/aout
/stab_gnu.h buildsym.h complaints.h
$(defs_h
) \
1602 $(gdbtypes_h
) objfiles.h stabsread.h symfile.h
$(symtab_h
) \
1605 stack.o
: stack.c
$(defs_h
) $(gdbcmd_h
) $(gdbcore_h
) $(inferior_h
) \
1606 language.h target.h gdb_string.h
1608 gdb-file.o
: gdb-file.c
$(defs_h
) gdb-file.h
1609 tui-file.o
: $(srcdir)/tui
/tui-file.c
$(defs_h
) $(srcdir)/tui
/tui-file.h
1610 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/tui
/tui-file.c
1612 ax-general.o
: ax-general.c
$(ax_h
) $(defs_h
) $(value_h
)
1613 ax-gdb.o
: ax-gdb.c
$(defs_h
) $(symtab_h
) symfile.h
$(gdbtypes_h
) \
1614 $(value_h
) $(expression_h
) $(command_h
) $(ax_h
) $(gdbcmd_h
) ax-gdb.h
1616 sun3-nat.o
: sun3-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1618 sun386-nat.o
: sun386-nat.c
$(defs_h
) $(inferior_h
) $(gdbcore_h
)
1620 symfile.o
: symfile.c
$(breakpoint_h
) complaints.h
$(defs_h
) \
1621 $(expression_h
) $(gdbcmd_h
) $(gdbcore_h
) $(gdbtypes_h
) \
1622 language.h objfiles.h symfile.h
$(symtab_h
) target.h \
1625 symm-tdep.o
: symm-tdep.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1627 symm-nat.o
: symm-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1629 symmisc.o
: symmisc.c
$(bfd_h
) $(breakpoint_h
) $(command_h
) $(defs_h
) \
1630 $(expression_h
) $(gdbtypes_h
) language.h objfiles.h symfile.h \
1631 $(symtab_h
) gdb_string.h
1633 symtab.o
: symtab.c call-cmds.h
$(defs_h
) $(expression_h
) $(frame_h
) \
1634 $(gdbcmd_h
) $(gdbcore_h
) $(gdbtypes_h
) language.h objfiles.h \
1635 gnu-regex.h symfile.h
$(symtab_h
) target.h
$(value_h
) \
1638 # OBSOLETE tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
1639 # OBSOLETE $(symtab_h)
1641 tic80-tdep.o
: tic80-tdep.c
$(defs_h
)
1643 target.o
: target.c
$(bfd_h
) $(defs_h
) $(gdbcmd_h
) $(inferior_h
) \
1644 objfiles.h symfile.h target.h gdb_string.h
1646 thread.o
: thread.c
$(defs_h
) gdbthread.h
$(gdbcmd_h
) target.h
1648 top.o
: top.c top.h
$(bfd_h
) $(getopt_h
) $(readline_headers
) call-cmds.h \
1649 $(defs_h
) $(gdbcmd_h
) $(inferior_h
) language.h signals.h \
1650 $(remote_utils_h
) gdb_string.h
$(event_loop_h
) $(event_top_h
) $(version_h
)
1652 typeprint.o
: typeprint.c
$(defs_h
) $(expression_h
) $(gdbcmd_h
) \
1653 $(gdbcore_h
) $(gdbtypes_h
) language.h
$(symtab_h
) target.h \
1654 $(value_h
) gdb_string.h
1656 ultra3-nat.o
: ultra3-nat.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1658 ultra3-xdep.o
: ultra3-xdep.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1660 umax-xdep.o
: umax-xdep.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
)
1662 utils.o
: utils.c
$(bfd_h
) $(defs_h
) $(expression_h
) $(gdbcmd_h
) \
1663 language.h signals.h target.h terminal.h
$(readline_headers
) \
1664 gdb_string.h
$(event_loop_h
) $(event_top_h
)
1666 valarith.o
: valarith.c
$(bfd_h
) $(defs_h
) $(expression_h
) \
1667 $(gdbtypes_h
) language.h
$(symtab_h
) target.h
$(value_h
) \
1670 valops.o
: valops.c
$(defs_h
) $(gdbcore_h
) $(inferior_h
) target.h \
1673 valprint.o
: valprint.c
$(defs_h
) $(expression_h
) $(gdbcmd_h
) \
1674 $(gdbcore_h
) $(gdbtypes_h
) language.h
$(symtab_h
) target.h \
1675 $(value_h
) gdb_string.h valprint.h
1677 values.o
: values.c
$(defs_h
) $(expression_h
) $(frame_h
) $(gdbcmd_h
) \
1678 $(gdbcore_h
) $(gdbtypes_h
) $(symtab_h
) target.h
$(value_h
) \
1679 gdb_string.h scm-lang.h
1681 vax-tdep.o
: vax-tdep.c
$(OP_INCLUDE
)/vax.h
$(defs_h
) $(symtab_h
)
1683 w65-tdep.o
: w65-tdep.c
$(gdbcore_h
)
1685 win32-nat.o
: win32-nat.c
$(gdbcmd_h
) $(gdbcore_h
) $(inferior_h
) $(defs_h
) \
1688 xdr_ld.o
: vx-share
/xdr_ld.c
$(defs_h
) vx-share
/vxTypes.h \
1689 vx-share
/vxWorks.h vx-share
/xdr_ld.h
1690 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/vx-share
/xdr_ld.c
1692 xdr_ptrace.o
: vx-share
/xdr_ptrace.c
$(defs_h
) vx-share
/vxTypes.h \
1693 vx-share
/vxWorks.h vx-share
/xdr_ptrace.h
1694 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/vx-share
/xdr_ptrace.c
1696 xdr_rdb.o
: vx-share
/xdr_rdb.c
$(defs_h
) vx-share
/vxTypes.h \
1697 vx-share
/vxWorks.h vx-share
/xdr_rdb.h
1698 $(CC
) -c
$(INTERNAL_CFLAGS
) $(srcdir)/vx-share
/xdr_rdb.c
1700 xcoffread.o
: xcoffread.c
$(bfd_h
) $(INCLUDE_DIR
)/aout
/stab.def \
1701 $(INCLUDE_DIR
)/aout
/stab_gnu.h
$(INCLUDE_DIR
)/coff
/internal.h \
1702 $(INCLUDE_DIR
)/coff
/rs6000.h
$(BFD_SRC
)/libcoff.h buildsym.h \
1703 complaints.h
$(defs_h
) $(gdbtypes_h
) objfiles.h stabsread.h symfile.h \
1704 $(symtab_h
) partial-stab.h gdb_string.h
1706 xcoffsolib.o
: xcoffsolib.c
$(bfd_h
) $(defs_h
) xcoffsolib.h
1708 # FIXME: z8k-tdep.c calls _initialize_gdbtypes(). Since that isn't
1709 # declared -Wimplicit fails. It should be using the GDBARCH framework.
1710 # cagney 1999-09-02.
1711 z8k-tdep.o
: z8k-tdep.c
$(bfd_h
) $(dis-asm_h
) $(defs_h
) $(frame_h
) \
1712 $(gdbcmd_h
) $(gdbtypes_h
) $(symtab_h
) $(gdbcore_h
) $(value_h
)
1713 $(CC
) -c
$(INTERNAL_WARN_CFLAGS
) $(NO_WERROR_CFLAGS
) $<
1715 c-exp.tab.o
: c-exp.tab.c c-lang.h
$(defs_h
) $(expression_h
) \
1716 $(gdbtypes_h
) language.h parser-defs.h
$(symtab_h
) $(value_h
) \
1717 $(bfd_h
) objfiles.h symfile.h
1719 jv-exp.tab.o
: jv-exp.tab.c jv-lang.h
$(defs_h
) $(expression_h
) \
1720 $(gdbtypes_h
) language.h parser-defs.h
$(symtab_h
) $(value_h
) \
1721 $(bfd_h
) objfiles.h symfile.h
1723 f-exp.tab.o
: f-exp.tab.c f-lang.h
$(defs_h
) $(expression_h
) \
1724 language.h parser-defs.h
$(value_h
) $(bfd_h
) objfiles.h symfile.h
1726 m2-exp.tab.o
: m2-exp.tab.c
$(defs_h
) $(expression_h
) $(gdbtypes_h
) \
1727 language.h m2-lang.h parser-defs.h
$(symtab_h
) $(value_h
) \
1728 $(bfd_h
) objfiles.h symfile.h
1730 gdb-events.o
: gdb-events.c gdb-events.h
$(defs_h
) $(gdbcmd_h
)
1732 ### end of the gdb Makefile.in.