home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / Makefile.in < prev    next >
Encoding:
Makefile  |  1995-03-09  |  52.3 KB  |  1,491 lines

  1. # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995
  2. # Free Software Foundation, Inc.
  3.  
  4. # This file is part of GDB.
  5.  
  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.
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. prefix = /usr/local
  19.  
  20. program_transform_name =
  21. exec_prefix = $(prefix)
  22. bindir = $(exec_prefix)/bin
  23. libdir = $(exec_prefix)/lib
  24. tooldir = $(libdir)/$(target_alias)
  25.  
  26. datadir = $(prefix)/lib
  27. mandir = $(prefix)/man
  28. man1dir = $(mandir)/man1
  29. man2dir = $(mandir)/man2
  30. man3dir = $(mandir)/man3
  31. man4dir = $(mandir)/man4
  32. man5dir = $(mandir)/man5
  33. man6dir = $(mandir)/man6
  34. man7dir = $(mandir)/man7
  35. man8dir = $(mandir)/man8
  36. man9dir = $(mandir)/man9
  37. infodir = $(prefix)/info
  38. includedir = $(prefix)/include
  39. docdir = $(datadir)/doc
  40.  
  41. SHELL = /bin/sh
  42.  
  43. INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
  44. INSTALL_PROGRAM = $(INSTALL)
  45. INSTALL_DATA = $(INSTALL)
  46.  
  47. AR = ar
  48. AR_FLAGS = qv
  49. RANLIB = ranlib
  50.  
  51. # Flags that describe where you can find the termcap library.
  52. # This can be overridden in the host Makefile fragment file.
  53. TERMCAP = -ltermcap
  54.  
  55. # If you are compiling with GCC, make sure that either 1) You have the
  56. # fixed include files where GCC can reach them, or 2) You use the
  57. # -traditional flag.  Otherwise the ioctl calls in inflow.c
  58. # will be incorrectly compiled.  The "fixincludes" script in the gcc
  59. # distribution will fix your include files up.
  60. #CC=gcc -traditional
  61.  
  62. # Directory containing source files.  Don't clean up the spacing,
  63. # this exact string is matched for by the "configure" script.
  64. srcdir = .
  65.  
  66. # If you use bison instead of yacc, it needs to include the "-y" argument.
  67. #BISON=bison -y
  68. BISON = bison -y
  69. YACC=$(BISON)
  70.  
  71. # where to find makeinfo, preferably one designed for texinfo-2
  72. MAKEINFO=makeinfo
  73.  
  74. # Set this up with gcc if you have gnu ld and the loader will print out
  75. # line numbers for undefined references.
  76. #CC-LD=gcc -static
  77. CC-LD=$(CC)
  78.  
  79. # Where is our "include" directory?  Typically $(srcdir)/../include.
  80. # This is essentially the header file directory for the library
  81. # routines in libiberty.
  82. INCLUDE_DIR =  $(srcdir)/../include
  83. INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
  84.  
  85. # Where is the "-liberty" library?  Typically in ../libiberty.
  86. LIBIBERTY = ../libiberty/libiberty.a
  87.  
  88. # Where is the MMALLOC library?  Typically in ../mmalloc.
  89. # Note that mmalloc can still be used on systems without mmap().
  90. # To use your system malloc, comment out the following defines.
  91. MMALLOC_DIR = ../mmalloc
  92. MMALLOC = $(MMALLOC_DIR)/libmmalloc.a
  93. # To use your system malloc, uncomment MMALLOC_DISABLE.
  94. #MMALLOC_DISABLE = -DNO_MMALLOC
  95. # To use mmalloc but disable corruption checking, uncomment MMALLOC_CHECK
  96. #MMALLOC_CHECK = -DNO_MMALLOC_CHECK
  97. MMALLOC_CFLAGS = -I$(srcdir)/$(MMALLOC_DIR) $(MMALLOC_CHECK) $(MMALLOC_DISABLE)
  98.  
  99. # Where is the BFD library?  Typically in ../bfd.
  100. BFD_DIR = ../bfd
  101. BFD = $(BFD_DIR)/libbfd.a
  102. BFD_SRC = $(srcdir)/$(BFD_DIR)
  103. BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
  104.  
  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)
  110.  
  111. # Opcodes currently live in one of two places.  Either they are in the
  112. # opcode library, typically ../opcodes, or they are in a header file
  113. # in INCLUDE_DIR.
  114. # Where is the "-lopcodes" library, with (some of) the opcode tables and
  115. # disassemblers?
  116. OPCODES = ../opcodes/libopcodes.a
  117. # Where are the other opcode tables which only have header file
  118. # versions?
  119. OP_INCLUDE = $(INCLUDE_DIR)/opcode
  120. OPCODES_CFLAGS = -I$(OP_INCLUDE)
  121.  
  122. # Where is the TCL library?  Typically in ../tcl.
  123. TCL_DIR = ../tcl
  124. TCL = -L$(TCL_DIR) -ltcl
  125. TCL_SRC = $(srcdir)/$(TCL_DIR)
  126. TCL_CFLAGS = -I$(TCL_SRC)
  127.  
  128. # Where is the TK library?  Typically in ../tk.
  129. TK_DIR = ../tk
  130. TK = -L$(TK_DIR) -ltk
  131. TK_SRC = $(srcdir)/$(TK_DIR)
  132. TK_CFLAGS = -I$(TK_SRC)
  133.  
  134. # All the includes used for CFLAGS and for lint.
  135. # -I. for config files.
  136. # -I$(srcdir) for gdb internal headers and possibly for regex.h also.
  137. # -I$(srcdir)/config for more generic config files.
  138.  
  139. # It is also possible that you will need to add -I/usr/include/sys if
  140. # your system doesn't have fcntl.h in /usr/include (which is where it
  141. # should be according to Posix).
  142. GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config
  143.  
  144. # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
  145. # from the config directory.
  146. GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
  147. #PROFILE_CFLAGS = -pg
  148.  
  149. # CFLAGS is specifically reserved for setting from the command line
  150. # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
  151. CFLAGS = -g
  152.  
  153. # Need to pass this to testsuite for "make check".  Probably should be
  154. # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
  155. # so "make check" has the same result no matter where it is run.
  156. CXXFLAGS = -g -O
  157.  
  158. # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
  159. INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
  160.     $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
  161.     $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS)
  162.  
  163. # LDFLAGS is specifically reserved for setting from the command line
  164. # when running make.
  165.  
  166. # Profiling options need to go here to work.
  167. # I think it's perfectly reasonable for a user to set -pg in CFLAGS
  168. # and have it work; that's why CFLAGS is here.
  169. INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(LDFLAGS)
  170.  
  171. # We are using our own version of REGEX now to be consistent across
  172. # machines.
  173. REGEX = regex.o
  174. REGEX1 = regex.o
  175.  
  176. # If your system is missing alloca(), or, more likely, it's there but
  177. # it doesn't work, then refer to libiberty.
  178.  
  179. # Libraries and corresponding dependencies for compiling gdb.
  180. # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
  181. # TERMCAP comes after readline, since readline depends on it.
  182. # If you have the Cygnus libraries installed,
  183. # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
  184. INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
  185.     -liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(ENABLE_CLIBS)
  186. CLIBS = $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) $(LIBIBERTY) \
  187.     $(ENABLE_CLIBS) $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) \
  188.     $(LIBIBERTY)
  189. CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(BFD) $(READLINE) $(OPCODES) \
  190.     $(MMALLOC) $(LIBIBERTY)
  191.  
  192. ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
  193. ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
  194.  
  195. VERSION = 4.14
  196. DIST=gdb
  197.  
  198. LINT=/usr/5bin/lint
  199. LINTFLAGS= $(BFD_CFLAGS)
  200.  
  201. RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
  202.         echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
  203.        fi`
  204.  
  205. RUNTESTFLAGS=
  206.  
  207. # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
  208. # interface to the serial port.  Hopefully if get ported to OS/2, VMS,
  209. # etc., then there will be (as part of the C library or perhaps as
  210. # part of libiberty) a POSIX interface.  But at least for now the
  211. # host-dependent makefile fragment might need to use something else
  212. # besides ser-unix.o
  213. SER_HARDWIRE=ser-unix.o
  214.  
  215. # The `remote' debugging target is supported for most architectures,
  216. # but not all (e.g. 960)
  217. REMOTE_O = remote.o dcache.o remote-utils.o
  218.  
  219. ANNOTATE_OBS = annotate.o
  220.  
  221. # Host and target-dependent makefile fragments come in here.
  222. ####
  223. # End of host and target-dependent makefile fragments
  224.  
  225. FLAGS_TO_PASS = \
  226.     "prefix=$(prefix)" \
  227.     "exec_prefix=$(exec_prefix)" \
  228.     "against=$(against)" \
  229.     "AR=$(AR)" \
  230.     "AR_FLAGS=$(AR_FLAGS)" \
  231.     "CC=$(CC)" \
  232.     "CFLAGS=$(CFLAGS)" \
  233.     "CHILLFLAGS=$(CHILLFLAGS)" \
  234.     "CHILL=$(CHILL)" \
  235.     "CHILL_LIB=$(CHILL_LIB)" \
  236.     "CXX=$(CXX)" \
  237.     "CXXFLAGS=$(CXXFLAGS)" \
  238.     "RANLIB=$(RANLIB)" \
  239.     "MAKEINFO=$(MAKEINFO)" \
  240.     "INSTALL=$(INSTALL)" \
  241.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  242.     "INSTALL_DATA=$(INSTALL_DATA)" \
  243.     "RUNTEST=$(RUNTEST)" \
  244.     "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  245.     "BISON=$(BISON)"
  246.  
  247. # Flags that we pass when building the testsuite.
  248.  
  249. CC_FOR_TARGET = ` \
  250.   if [ -f $${rootme}/../gcc/xgcc ] ; then \
  251.     if [ -f $${rootme}/../newlib/Makefile ] ; then \
  252.       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc -L$${rootme}/../../newlib -B$${rootme}/../../newlib/; \
  253.     else \
  254.       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
  255.     fi; \
  256.   else \
  257.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  258.       echo $(CC); \
  259.     else \
  260.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  261.     fi; \
  262.   fi`
  263.  
  264. CXX = gcc
  265. CXX_FOR_TARGET = ` \
  266.   if [ -f $${rootme}/../gcc/Makefile ] ; then \
  267.     if [ -f $${rootme}/../newlib/Makefile ] ; then \
  268.       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc -L$${rootme}/../../newlib -B$${rootme}/../../newlib/; \
  269.     else \
  270.       echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
  271.     fi; \
  272.   else \
  273.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  274.       echo $(CXX); \
  275.     else \
  276.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  277.     fi; \
  278.   fi`
  279.  
  280. CHILLFLAGS = $(CFLAGS)
  281. CHILL = gcc
  282. CHILL_FOR_TARGET = ` \
  283.   if [ -f $${rootme}/../gcc/Makefile ] ; then \
  284.     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../gcc/ch/runtime/; \
  285.   else \
  286.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  287.       echo $(CC); \
  288.     else \
  289.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  290.     fi; \
  291.   fi`
  292. CHILL_LIB = ` \
  293.   if [ -f $${rootme}/../gcc/ch/runtime/libchill.a ] ; then \
  294.     echo $${rootme}/../gcc/ch/runtime/chillrt0.o \
  295.       $${rootme}/../gcc/ch/runtime/libchill.a; \
  296.   else \
  297.       echo -lchill; \
  298.   fi`
  299.  
  300. # The use of $$(x_FOR_TARGET) reduces the command line length by not
  301. # duplicating the lengthy definition.
  302. TARGET_FLAGS_TO_PASS = \
  303.     "prefix=$(prefix)" \
  304.     "exec_prefix=$(exec_prefix)" \
  305.     "against=$(against)" \
  306.     "BISON=$(BISON)" \
  307.     'CC=$$(CC_FOR_TARGET)' \
  308.     "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
  309.     "CFLAGS=$(CFLAGS)" \
  310.     "CHILLFLAGS=$(CHILLFLAGS)" \
  311.     'CHILL=$$(CHILL_FOR_TARGET)' \
  312.     "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
  313.     "CHILL_LIB=$(CHILL_LIB)" \
  314.     'CXX=$$(CXX_FOR_TARGET)' \
  315.     "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
  316.     "CXXFLAGS=$(CXXFLAGS)" \
  317.     "INSTALL=$(INSTALL)" \
  318.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  319.     "INSTALL_DATA=$(INSTALL_DATA)" \
  320.     "MAKEINFO=$(MAKEINFO)" \
  321.     "RUNTEST=$(RUNTEST)" \
  322.     "RUNTESTFLAGS=$(RUNTESTFLAGS)"
  323.  
  324. # All source files that go into linking GDB.
  325. # Links made at configuration time should not be specified here, since
  326. # SFILES is used in building the distribution archive.
  327.  
  328. SFILES = blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c \
  329.     c-typeprint.c c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c \
  330.     ch-valprint.c coffread.c command.c complaints.c core.c cp-valprint.c \
  331.     dbxread.c demangle.c dwarfread.c \
  332.     elfread.c environ.c eval.c expprint.c \
  333.     f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
  334.     gdbtypes.c infcmd.c inflow.c infrun.c language.c \
  335.     m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
  336.     mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
  337.     printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
  338.     symtab.c target.c thread.c top.c \
  339.     typeprint.c utils.c valarith.c valops.c \
  340.     valprint.c values.c serial.c ser-unix.c mdebugread.c os9kread.c \
  341.     amigaread.c
  342.  
  343. # All source files that lint should look at
  344. LINTFILES = $(SFILES) $(YYFILES) init.c
  345.  
  346. # "system" headers.  Using these in dependencies is a rather personal
  347. # choice. (-rich, summer 1993)
  348. # (Why would we not want to depend on them?  If one of these changes in a 
  349. # non-binary-compatible way, it is a real pain to remake the right stuff
  350. # without these dependencies -kingdon, 13 Mar 1994)
  351. getopt_h =    $(INCLUDE_DIR)/getopt.h
  352. floatformat_h =    $(INCLUDE_DIR)/floatformat.h
  353. bfd_h =        $(BFD_DIR)/bfd.h
  354. wait_h =    $(INCLUDE_DIR)/wait.h
  355. dis-asm_h =    $(INCLUDE_DIR)/dis-asm.h 
  356.  
  357. dcache_h = dcache.h
  358. remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h remote-sim.h
  359.  
  360. readline_headers = \
  361.     $(READLINE_SRC)/chardefs.h \
  362.     $(READLINE_SRC)/history.h \
  363.     $(READLINE_SRC)/keymaps.h \
  364.     $(READLINE_SRC)/readline.h
  365.  
  366. udiheaders = \
  367.     $(srcdir)/29k-share/udi/udiproc.h \
  368.     $(srcdir)/29k-share/udi/udiphcfg.h \
  369.     $(srcdir)/29k-share/udi/udiphunix.h \
  370.     $(srcdir)/29k-share/udi/udiptcfg.h \
  371.     $(srcdir)/29k-share/udi/udipt29k.h \
  372.     $(srcdir)/29k-share/udi/udisoc.h
  373.  
  374. gdbcore_h =    gdbcore.h $(bfd_h)
  375.  
  376. frame_h =    frame.h
  377. symtab_h =    symtab.h
  378. gdbtypes_h =    gdbtypes.h
  379. expression_h =    expression.h
  380. value_h =    value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
  381.  
  382. breakpoint_h =    breakpoint.h $(frame_h) $(value_h)
  383.  
  384. command_h =    command.h
  385. gdbcmd_h =    gdbcmd.h $(command_h)
  386.  
  387. defs_h =    defs.h xm.h tm.h nm.h config.status
  388.  
  389. inferior_h =    inferior.h $(breakpoint_h)
  390.  
  391. # Header files that need to have srcdir added.  Note that in the cases
  392. # where we use a macro like $(gdbcmd_h), things are carefully arranged
  393. # so that each .h file is listed exactly once (M-x tags-search works
  394. # wrong if TAGS has files twice).  Because this is tricky to get
  395. # right, it is probably easiest just to list .h files here directly.
  396.  
  397. HFILES_NO_SRCDIR = buildsym.h call-cmds.h coff-solib.h defs.h dst.h environ.h \
  398.     $(gdbcmd_h) gdbcore.h \
  399.     gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
  400.     objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
  401.     symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
  402.     c-lang.h ch-lang.h f-lang.h m2-lang.h \
  403.     complaints.h valprint.h \
  404.     29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
  405.     nindy-share/block_io.h nindy-share/coff.h \
  406.     nindy-share/env.h nindy-share/stop.h \
  407.     vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
  408.     vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
  409.     vx-share/xdr_ptrace.h vx-share/xdr_rdb.h thread.h \
  410.     dcache.h remote-utils.h remote-sim.h top.h somsolib.h
  411.  
  412. # Header files that already have srcdir in them, or which are in objdir.
  413.  
  414. HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h
  415.  
  416.  
  417. # GDB "info" files, which should be included in their entirety
  418. INFOFILES = gdb.info*
  419.  
  420. REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
  421.  
  422. POSSLIBS = regex.c regex.h
  423.  
  424. # Subdirectories of gdb, which should be included in their entirety in
  425. # gdb-xxx.tar.Z:
  426. TARDIRS = doc gdbserver sparclite
  427.  
  428. # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
  429. # default their values the way we do for SER_HARDWIRE; in the future
  430. # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
  431. # variables analogous to SER_HARDWIRE which get defaulted in this
  432. # Makefile.in
  433.  
  434. DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) $(REMOTE_O) \
  435.        $(ENABLE_DEPFILES)
  436.  
  437. SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
  438. # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
  439. # and it's more useful to see it in the .y file.
  440. TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
  441.     $(POSSLIBS)
  442. TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
  443.  
  444. COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
  445.     source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
  446.     symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
  447.     expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
  448.     mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
  449.     exec.o objfiles.o minsyms.o maint.o demangle.o \
  450.     dbxread.o coffread.o elfread.o \
  451.     dwarfread.o mipsread.o stabsread.o core.o \
  452.     c-lang.o ch-lang.o f-lang.o m2-lang.o \
  453.     complaints.o typeprint.o \
  454.     c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \
  455.     c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
  456.     nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \
  457.     amigaread.o
  458.  
  459. OBS = $(COMMON_OBS) $(ANNOTATE_OBS) main.o
  460.  
  461. LIBGDB_OBS = 
  462.  
  463. TSOBS = inflow.o
  464.  
  465. NTSOBS = standalone.o
  466.  
  467. NTSSTART = kdb-start.o
  468.  
  469. SUBDIRS = doc testsuite nlm
  470.  
  471. # For now, shortcut the "configure GDB for fewer languages" stuff.
  472. YYFILES = c-exp.tab.c f-exp.tab.c m2-exp.tab.c ch-exp.tab.c
  473. YYOBJ = c-exp.tab.o f-exp.tab.o m2-exp.tab.o ch-exp.tab.o
  474.  
  475. # Things which need to be built when making a distribution.
  476.  
  477. DISTSTUFF = $(YYFILES)
  478.  
  479. # Prevent Sun make from putting in the machine type.  Setting
  480. # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
  481. .c.o:
  482.     $(CC) -c $(INTERNAL_CFLAGS) $<
  483.  
  484. all: gdb
  485.     @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
  486.  
  487. installcheck:
  488.  
  489. # The check target can not use subdir_do, because subdir_do does not
  490. # use TARGET_FLAGS_TO_PASS.
  491. check: force
  492.     @if [ -f testsuite/Makefile ]; then \
  493.       rootme=`pwd`; export rootme; \
  494.       rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
  495.       cd testsuite; \
  496.       $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
  497.     else true; fi
  498.  
  499. info dvi install-info clean-info: force
  500.     @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
  501.  
  502. gdb.z:gdb.1
  503.     nroff -man $(srcdir)/gdb.1 | col -b > gdb.t 
  504.     pack gdb.t ; rm -f gdb.t
  505.     mv gdb.t.z gdb.z
  506.  
  507. # Traditionally "install" depends on "all".  But it may be useful
  508. # not to; for example, if the user has made some trivial change to a 
  509. # source file and doesn't care about rebuilding or just wants to save the
  510. # time it takes for make to check that all is up to date.
  511. # install-only is intended to address that need.
  512. install: all install-only
  513. install-only:
  514.     transformed_name=`t='$(program_transform_name)'; \
  515.               echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
  516.         if test "x$$transformed_name" = x; then \
  517.           transformed_name=gdb ; \
  518.         else \
  519.           true ; \
  520.         fi ; \
  521.         $(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
  522.         $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
  523.     @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
  524.  
  525. uninstall: force
  526.     transformed_name=`t='$(program_transform_name)'; \
  527.               echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
  528.         if test "x$$transformed_name" = x; then \
  529.           transformed_name=gdb ; \
  530.         else \
  531.           true ; \
  532.         fi ; \
  533.         rm -f $(bindir)/$$transformed_name $(man1dir)/$$transformed_name.1
  534.     @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
  535.  
  536. # We do this by grepping through sources.  If that turns out to be too slow,
  537. # maybe we could just require every .o file to have an initialization routine
  538. # of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
  539. #
  540. # Formatting conventions:  The name of the _initialize_* routines must start
  541. # in column zero, and must not be inside #if.
  542. #
  543. # Note that the set of files with init functions might change, or the names
  544. # of the functions might change, so this files needs to depend on all the
  545. # object files that will be linked into gdb.
  546.  
  547. init.c: $(OBS) $(TSOBS)
  548.     @echo Making init.c
  549.     @rm -f init.c-tmp
  550.     @echo '/* Do not modify this file.  */' >init.c-tmp
  551.     @echo '/* It is created automatically by the Makefile.  */'>>init.c-tmp
  552.     @echo 'void initialize_all_files () {' >>init.c-tmp
  553.     @for i in $(OBS) $(TSOBS); do \
  554.       filename=`echo $$i | sed \
  555.         -e '/^Onindy.o/d' \
  556.         -e '/^nindy.o/d' \
  557.         -e '/ttyflush.o/d' \
  558.         -e '/xdr_ld.o/d' \
  559.         -e '/xdr_ptrace.o/d' \
  560.         -e '/xdr_rdb.o/d' \
  561.         -e '/udr.o/d' \
  562.         -e '/udip2soc.o/d' \
  563.         -e '/udi2go32.o/d' \
  564.         -e '/version.o/d' \
  565.         -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
  566.         -e 's/\.o/.c/'` ; \
  567.       case $$filename in \
  568.         "") ;; \
  569.         *) sed <$(srcdir)/$$filename >>init.c-tmp -n \
  570.         -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/  {extern void \1 (); \1 ();}/p' ; ;; \
  571.       esac ; \
  572.     done
  573.     @echo '}' >>init.c-tmp
  574.     @mv init.c-tmp init.c
  575.  
  576. .PRECIOUS: init.c
  577.  
  578. # Removing the old gdb first works better if it is running, at least on SunOS.
  579. gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
  580.     rm -f gdb
  581.     $(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \
  582.       init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
  583.  
  584. nlm:    force
  585.     rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
  586.  
  587. libgdb:    libgdb-files $(LIBGDB_OBS)
  588.  
  589. # libproc is not listed here because all-libproc is a dependency of all-gui,
  590. # not all-gdb, and thus might be built after us.
  591. LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
  592. # libproc needs to be before libiberty for alloca.
  593. LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \
  594.   $(ADD_DEPS) $(CDEPS) init.o
  595.  
  596. libgdb-files: $(LIBGDBDEPS) Makefile.in
  597.     -rm -f libgdb-files
  598.     for i in $(LIBGDBFILES); do\
  599.         echo $$i >> libgdb-files;\
  600.     done
  601.  
  602. saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
  603.     #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
  604.     #load ./init.c $(SFILES)
  605.     #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y $(srcdir)/ch-exp.y
  606.     #unload vx-share/*.h
  607.     #unload nindy-share/[A-Z]*
  608.     #load c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
  609.     #load copying.c version.c
  610.     #load ../opcodes/libopcodes.a
  611.     #load ../libiberty/libiberty.a
  612.     #load ../bfd/libbfd.a
  613.     #load ../readline/libreadline.a
  614.     #load ../mmalloc/libmmalloc.a
  615.     #load -ltermcap 
  616.     #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
  617.     echo "Load .c corresponding to:" $(DEPFILES)
  618.  
  619.  
  620. # A Mach 3.0 program to force gdb back to command level
  621.  
  622. stop-gdb: stop-gdb.o
  623.     ${CC-LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
  624.     stop-gdb.o $(CLIBS) $(LOADLIBES)
  625.  
  626. # This is useful when debugging GDB, because some Unix's don't let you run GDB
  627. # on itself without copying the executable.  So "make gdb1" will make
  628. # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
  629. # Removing gdb1 before the copy is the right thing if gdb1 is open
  630. # in another process.
  631. gdb1: gdb
  632.     rm -f gdb1
  633.     cp gdb gdb1
  634.  
  635. config.status:
  636.     @echo "You must configure gdb.  Look at the README file for details."
  637.     @false
  638.  
  639. ### fixme - this can't be right.
  640. # This checks the configure.in file versus the config/ directory.
  641. config-check: config-check-hosts config-check-targets
  642. config-check-hosts:
  643.     grep gdb_host= $(srcdir)/configure.in | \
  644.         sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
  645.     (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
  646.     diff -u HOSTconf.o HOSTdir.o
  647.  
  648. ### fixme - nor can this.
  649. config-check-targets:
  650.     grep gdb_target= $(srcdir)/configure.in | \
  651.         sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
  652.     (cd $(srcdir)/config; ls *.mt) >TARGdir.o
  653.     diff -u HOSTconf.o HOSTdir.o
  654.  
  655. # FIXME. These are not generated by "make depend" because they only are there
  656. # for some machines.
  657. # But these rules don't do what we want; we want to hack the foo.o: tm.h
  658. # dependency to do the right thing.
  659. tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
  660. tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
  661. xm-news1000.h: xm-news.h
  662. xm-i386-sv32.h: xm-i386.h
  663. tm-i386gas.h: tm-i386.h
  664. xm-sun4os4.h: xm-sparc.h
  665. tm-sun4os4.h: tm-sparc.h
  666. xm-vaxult.h: xm-vax.h
  667. xm-vaxbsd.h: xm-vax.h
  668.  
  669. kdb:    $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
  670.     ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
  671.       -lc $(CLIBS)
  672.  
  673. # Put the proper machine-specific files first, so M-. on a machine
  674. # specific routine gets the one for the correct machine.  (FIXME: those
  675. # files go in twice; we should be removing them from the main list).
  676.  
  677. # TAGS depends on all the files that go into it so you can rebuild TAGS
  678. # with `make TAGS' and not have to say `rm TAGS' first.
  679.  
  680. TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
  681.     @echo Making TAGS
  682.     @etags $(srcdir)/$(TM_FILE) \
  683.       $(srcdir)/$(XM_FILE) \
  684.       $(srcdir)/$(NAT_FILE) \
  685.     `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
  686.         echo $(srcdir)/$$i ; \
  687.     done ; for i in $(TAGFILES_WITH_SRCDIR); do \
  688.         echo $$i ; \
  689.     done) | sed -e 's/\.o$$/\.c/'` \
  690.     `find $(srcdir)/config -name '*.h' -print`
  691.  
  692. tags: TAGS
  693.  
  694. clean mostlyclean:
  695.     @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do 
  696.     rm -f *.o $(ADD_FILES) *~ init.c-tmp
  697.     rm -f init.c version.c
  698.     rm -f gdb core make.log libgdb-files
  699.     rm -f gdb[0-9]
  700.  
  701. # This used to depend on c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
  702. # I believe this is wrong; the makefile standards for distclean just
  703. # describe removing files; the only sort of "re-create a distribution"
  704. # functionality described is if the distributed files are unmodified.
  705. distclean: clean
  706.     @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do 
  707.     rm -f nm.h tm.h xm.h config.status
  708.     rm -f y.output yacc.acts yacc.tmp y.tab.h
  709.     rm -f Makefile
  710.  
  711. realclean: clean
  712.     @$(MAKE) $(FLAGS_TO_PASS) DO=realclean "DODIRS=$(SUBDIRS)" subdir_do
  713.     rm -f c-exp.tab.c f-exp.tab.c m2-exp.tab.c ch-exp.tab.c
  714.     rm -f TAGS $(INFOFILES)
  715.     rm -f nm.h tm.h xm.h config.status
  716.     rm -f y.output yacc.acts yacc.tmp
  717.     rm -f Makefile
  718.  
  719. diststuff: $(DISTSTUFF)
  720.     (cd doc; $(MAKE) $(MFLAGS) GDBvn.texi)
  721.     $(MAKE) $(MFLAGS) gdb.info
  722.     $(MAKE) $(MFLAGS) refcard.ps
  723.  
  724. subdir_do: force
  725.     @for i in $(DODIRS); do \
  726.         if [ -f ./$$i/Makefile ] ; then \
  727.             if (cd ./$$i; \
  728.                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
  729.             else exit 1 ; fi ; \
  730.         else true ; fi ; \
  731.     done
  732.  
  733. Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  734.     $(SHELL) config.status
  735.  
  736. force:
  737.  
  738. # Documentation!
  739. # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
  740. refcard.dvi:
  741.     ( cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) )
  742.     mv doc/refcard.dvi .
  743.  
  744. # GDB QUICK REFERENCE (PostScript output, common PS fonts)
  745. refcard.ps:
  746.     ( cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) )
  747.     mv doc/refcard.ps .
  748.  
  749. # GDB MANUAL: TeX dvi file
  750. gdb.dvi:
  751.     ( cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) )
  752.     mv doc/gdb.dvi .
  753.  
  754. # GDB MANUAL: info file
  755. gdb.info:
  756.     ( cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) )
  757.     mv doc/gdb.info* .
  758.  
  759. # Make copying.c from COPYING
  760. copying.c: COPYING copying.awk
  761.     awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
  762.  
  763. version.c: Makefile
  764.     echo 'char *version = "$(VERSION)";' >version.c
  765.     echo 'char *host_name = "$(host_alias)";' >> version.c
  766.     echo 'char *target_name = "$(target_alias)";' >> version.c
  767.  
  768. # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
  769. # in srcdir, then compiled in objdir to c-exp.tab.o.
  770.  
  771. # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
  772. # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
  773.  
  774. # Remove bogus decls for malloc/realloc/free which conflict with everything
  775. # else.  Strictly speaking c-exp.tab.c should therefore depend on
  776. # Makefile.in, but that was a pretty big annoyance.
  777. c-exp.tab.o: c-exp.tab.c
  778. c-exp.tab.c: c-exp.y
  779.     $(YACC) $(YFLAGS) $(srcdir)/c-exp.y
  780.     -sed -e '/extern.*malloc/d' \
  781.          -e '/extern.*realloc/d' \
  782.          -e '/extern.*free/d' \
  783.          -e '/include.*malloc.h/d' \
  784.          -e 's/malloc/xmalloc/g' \
  785.          -e 's/realloc/xrealloc/g' \
  786.       < y.tab.c > c-exp.new
  787.     -rm y.tab.c
  788.     mv c-exp.new ./c-exp.tab.c
  789.  
  790. f-exp.tab.o: f-exp.tab.c
  791. f-exp.tab.c: f-exp.y c-exp.tab.c
  792.     $(YACC) $(YFLAGS) $(srcdir)/f-exp.y
  793.     -sed -e '/extern.*malloc/d' \
  794.          -e '/extern.*realloc/d' \
  795.          -e '/extern.*free/d' \
  796.          -e '/include.*malloc.h/d' \
  797.          -e 's/malloc/xmalloc/g' \
  798.          -e 's/realloc/xrealloc/g' \
  799.       < y.tab.c > f-exp.new
  800.     -rm y.tab.c
  801.     mv f-exp.new ./f-exp.tab.c
  802.  
  803. # ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
  804. # in srcdir, then compiled in objdir to ch-exp.tab.o.
  805. # Remove bogus decls for malloc/realloc/free which conflict with everything
  806. # else.
  807. ch-exp.tab.o: ch-exp.tab.c
  808. # the dependency here on f-exp.tab.c is artificial.  Without this
  809. # dependency, a parallel make will attempt to build both at the same
  810. # time and the second yacc will pollute the first y.tab.c file.
  811. ch-exp.tab.c: ch-exp.y f-exp.tab.c
  812.     $(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
  813.     -sed -e '/extern.*malloc/d' \
  814.          -e '/extern.*realloc/d' \
  815.          -e '/extern.*free/d' \
  816.          -e '/include.*malloc.h/d' \
  817.          -e 's/malloc/xmalloc/g' \
  818.          -e 's/realloc/xrealloc/g' \
  819.       < y.tab.c > ch-exp.new
  820.     -rm y.tab.c
  821.     mv ch-exp.new ./ch-exp.tab.c
  822.  
  823. # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
  824. # in srcdir, then compiled in objdir to m2-exp.tab.o.
  825. # Remove bogus decls for malloc/realloc/free which conflict with everything
  826. # else.
  827. m2-exp.tab.o: m2-exp.tab.c
  828. # the dependency here on ch-exp.tab.c is artificial.  Without this
  829. # dependency, a parallel make will attempt to build both at the same
  830. # time and the second yacc will pollute the first y.tab.c file.
  831. m2-exp.tab.c: m2-exp.y ch-exp.tab.c
  832.     $(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
  833.     -sed -e '/extern.*malloc/d' \
  834.          -e '/extern.*realloc/d' \
  835.          -e '/extern.*free/d' \
  836.          -e '/include.*malloc.h/d' \
  837.          -e 's/malloc/xmalloc/g' \
  838.          -e 's/realloc/xrealloc/g' \
  839.       < y.tab.c > m2-exp.new
  840.     -rm y.tab.c
  841.     mv m2-exp.new ./m2-exp.tab.c
  842.  
  843. # These files are updated atomically, so make never has to remove them
  844. .PRECIOUS: m2-exp.tab.c ch-exp.tab.c f-exp.tab.c c-exp.tab.c
  845.  
  846. lint: $(LINTFILES)
  847.     $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
  848.        `echo $(DEPFILES) | sed 's/\.o /\.c /g'
  849.  
  850. gdb.cxref: $(SFILES)
  851.     cxref -I. $(SFILES) >gdb.cxref
  852.  
  853. force_update:
  854.  
  855. # GNU Make has an annoying habit of putting *all* the Makefile variables
  856. # into the environment, unless you include this target as a circumvention.
  857. # Rumor is that this will be fixed (and this target can be removed)
  858. # in GNU Make 4.0.
  859. .NOEXPORT:
  860.  
  861. # GNU Make 3.63 has a different problem: it keeps tacking command line
  862. # overrides onto the definition of $(MAKE).  This variable setting
  863. # will remove them.
  864. MAKEOVERRIDES=
  865.  
  866. ## This is ugly, but I don't want GNU make to put these variables in
  867. ## the environment.  Older makes will see this as a set of targets
  868. ## with no dependencies and no actions.
  869. unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
  870.  
  871. ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
  872.     29k-share/udi/udi2go32.c \
  873.     a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
  874.     altos-xdep.c amigaread.c arm-convert.s \
  875.     arm-tdep.c arm-xdep.c coff-solib.c \
  876.     convex-tdep.c \
  877.     convex-xdep.c core-sol2.c core-svr4.c coredep.c corelow.c dcache.c \
  878.     delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
  879.     go32-xdep.c gould-tdep.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
  880.     hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c \
  881.     hpread.c \
  882.     i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
  883.     i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
  884.     i387-tdep.c \
  885.     i960-tdep.c \
  886.     infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
  887.     lynx-nat.c m3-nat.c \
  888.     m68k-tdep.c \
  889.     m88k-nat.c m88k-tdep.c mips-nat.c \
  890.     mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
  891.     nindy-share/Onindy.c nindy-share/nindy.c \
  892.     nindy-share/ttyflush.c nindy-tdep.c \
  893.     ns32k-tdep.c ns32km3-nat.c osfsolib.c \
  894.     somread.c somsolib.c $(HPREAD_SOURCE) \
  895.     procfs.c pyr-tdep.c pyr-xdep.c \
  896.     remote-adapt.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c \
  897.     remote-hms.c remote-mips.c \
  898.     remote-mm.c remote-nindy.c remote-os9k.c remote-sim.c \
  899.     remote-st.c remote-utils.c dcache.c \
  900.     remote-udi.c remote-vx.c remote-vx29k.c remote-z8k.c \
  901.     rs6000-nat.c rs6000-tdep.c \
  902.     ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
  903.     sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
  904.     symm-tdep.c symm-nat.c \
  905.     tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
  906.     vax-tdep.c \
  907.     vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
  908.     xcoffread.c xcoffsolib.c z8k-tdep.c
  909.  
  910. ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt config/a29k/vx29k.mt\
  911.     config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
  912.     config/alpha/alpha-osf1.mh config/alpha/alpha-osf2.mh \
  913.     config/alpha/alpha-osf1.mt config/alpha/alpha-nw.mt \
  914.     config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
  915.     config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
  916.     config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
  917.     config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
  918.     config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
  919.     config/i386/i386bsd.mt config/i386/i386lynx.mh \
  920.     config/i386/i386lynx.mt config/i386/i386m3.mh config/i386/i386m3.mt \
  921.     config/i386/i386mach.mh config/i386/i386mk.mh config/i386/i386mk.mt \
  922.     config/i386/i386nw.mt config/i386/i386sco.mh \
  923.     config/i386/i386sco4.mh \
  924.     config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
  925.     config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
  926.     config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
  927.     config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
  928.     config/i386/sun386.mh \
  929.     config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
  930.     config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
  931.     config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
  932.     config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
  933.     config/m68k/apollo68b.mt \
  934.     config/m68k/apollo68v.mh \
  935.     config/m68k/cisco.mt config/m68k/delta68.mh \
  936.     config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
  937.     config/m68k/es1800.mt config/m68k/hp300bsd.mh \
  938.     config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
  939.     config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
  940.     config/m68k/m68klynx.mh config/m68k/m68klynx.mt \
  941.     config/m68k/monitor.mt \
  942.     config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
  943.     config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
  944.     config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
  945.     config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
  946.     config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
  947.     config/m88k/delta88.mt config/m88k/delta88v4.mh \
  948.     config/m88k/delta88v4.mt config/m88k/m88k.mh config/m88k/m88k.mt \
  949.     config/mips/bigmips.mt config/mips/bigmips64.mt \
  950.     config/mips/decstation.mh \
  951.     config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
  952.     config/mips/idt64.mt config/mips/idtl64.mt \
  953.     config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
  954.     config/mips/irix5.mh config/mips/irix5.mt \
  955.     config/mips/littlemips.mh config/mips/littlemips.mt \
  956.     config/mips/mipsel64.mt \
  957.     config/mips/mipsm3.mh config/mips/mipsm3.mt \
  958.     config/mips/mipsv4.mh config/mips/mipsv4.mt \
  959.     config/mips/news-mips.mh config/mips/riscos.mh \
  960.     config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
  961.     config/ns32k/merlin.mt config/ns32k/ns32km3.mh config/ns32k/ns32km3.mt \
  962.     config/ns32k/umax.mh config/ns32k/umax.mt \
  963.     config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
  964.     config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
  965.     config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
  966.     config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
  967.     config/sparc/sparclynx.mh config/sparc/sparclynx.mt \
  968.     config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
  969.     config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
  970.     config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
  971.     config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
  972.     config/vax/vaxult2.mh config/z8k/z8ksim.mt
  973.  
  974.  
  975. udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
  976.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
  977.  
  978. udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
  979.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
  980.  
  981. udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) 
  982.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
  983.  
  984. a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
  985.  
  986. a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  987.  
  988. alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  989.  
  990. alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  991.     $(inferior_h) $(symtab_h) $(dis-asm.h)
  992.  
  993. altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  994.  
  995. amigaread.o: amigaread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  996.     gdb-stabs.h objfiles.h symfile.h $(symtab_h)
  997.  
  998. annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h)
  999.  
  1000. arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
  1001.  
  1002. blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
  1003.     objfiles.h symfile.h target.h
  1004.  
  1005. breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1006.     $(inferior_h) language.h target.h thread.h
  1007.  
  1008. buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1009.     objfiles.h symfile.h $(symtab_h)
  1010.  
  1011. c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
  1012.     language.h parser-defs.h $(symtab_h)
  1013.  
  1014. c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
  1015.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1016.     typeprint.h $(value_h)
  1017.  
  1018. c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1019.     language.h $(symtab_h) valprint.h $(value_h)
  1020.  
  1021. f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
  1022.     language.h parser-defs.h $(symtab_h)
  1023.  
  1024. f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \
  1025.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1026.     typeprint.h $(value_h)
  1027.  
  1028. f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1029.     language.h $(symtab_h) valprint.h $(value_h)
  1030.  
  1031. ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
  1032.     language.h parser-defs.h $(symtab_h)
  1033.  
  1034. ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
  1035.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
  1036.     target.h $(value_h) typeprint.h
  1037.  
  1038. ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1039.     language.h $(symtab_h) valprint.h $(value_h) c-lang.h
  1040.  
  1041. coff-solib.o: coff-solib.c $(defs_h)
  1042.  
  1043. coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
  1044.     complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
  1045.     symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h
  1046.  
  1047. command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1048.     $(gdbtypes_h) $(symtab_h) $(value_h)
  1049.  
  1050. complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
  1051.  
  1052. convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
  1053.     $(gdbcore_h) $(inferior_h)
  1054.  
  1055. convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1056.     $(inferior_h)
  1057.  
  1058. copying.o: copying.c $(defs_h) $(gdbcmd_h)
  1059.  
  1060. core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \
  1061.     $(inferior_h) target.h
  1062.  
  1063. core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \
  1064.     $(inferior_h) target.h
  1065.  
  1066. core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1067.     $(inferior_h) target.h language.h
  1068.  
  1069. coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h)
  1070.  
  1071. corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1072.     target.h thread.h
  1073.  
  1074. cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1075.     $(gdbtypes_h) $(symtab_h) $(value_h)
  1076.  
  1077. dcache.o: dcache.c $(dcache_h) $(defs_h) $(gdbcmd_h)
  1078.  
  1079. dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
  1080.     complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
  1081.     $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
  1082.     symfile.h $(symtab_h) target.h
  1083.  
  1084. delta68-nat.o: delta68-nat.c $(defs_h)
  1085.  
  1086. demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
  1087.  
  1088. dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h)
  1089.  
  1090. dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1091.     $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
  1092.     $(symtab_h)
  1093.  
  1094. elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1095.     gdb-stabs.h objfiles.h symfile.h $(symtab_h)
  1096.  
  1097. environ.o: environ.c $(defs_h) environ.h $(gdbcore_h)
  1098.  
  1099. eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
  1100.     $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
  1101.  
  1102. exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
  1103.     target.h language.h
  1104.  
  1105. expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1106.     language.h parser-defs.h $(symtab_h) $(value_h)
  1107.  
  1108. findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1109.  
  1110. fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1111.     $(inferior_h) target.h terminal.h thread.h
  1112.  
  1113.  
  1114. gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
  1115.     $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
  1116.     $(value_h)
  1117.  
  1118. go32-xdep.o: go32-xdep.c
  1119.  
  1120. gould-tdep.o: gould-tdep.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
  1121.     $(gdbcore_h) $(symtab_h)
  1122.  
  1123. gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1124.  
  1125. h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
  1126.  
  1127. h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
  1128.     $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
  1129.     $(value_h)
  1130.  
  1131. hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1132.  
  1133. hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1134.     $(inferior_h) objfiles.h symfile.h target.h
  1135.  
  1136. hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1137. hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1138.  
  1139. i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1140.  
  1141. i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \
  1142.     language.h $(gdbcore_h) $(floatformat_h) target.h
  1143.  
  1144. i386b-nat.o: i386b-nat.c $(defs_h) 
  1145.  
  1146. i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
  1147.  
  1148. i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h
  1149.  
  1150. i386m3-nat.o: i386m3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) target.h
  1151.  
  1152. i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
  1153.  
  1154. i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
  1155.     $(inferior_h) language.h target.h
  1156.  
  1157. i386v4-nat.o: i386v4-nat.c $(defs_h)
  1158.  
  1159. i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
  1160.     $(inferior_h) language.h
  1161.  
  1162. i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
  1163.     $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h)
  1164.  
  1165. infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
  1166.     $(inferior_h) target.h language.h
  1167.  
  1168. inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
  1169.     signals.h target.h terminal.h thread.h
  1170.  
  1171. infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1172.  
  1173. infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1174.     $(inferior_h) target.h thread.h
  1175.  
  1176. inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1177.     target.h terminal.h $(command_h)
  1178.  
  1179. irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h)
  1180. irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) target.h \
  1181.     $(symtab_h) symfile.h objfiles.h $(command_h) $(frame_h) regex.h \
  1182.     language.h
  1183. isi-xdep.o: isi-xdep.c
  1184.  
  1185. language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
  1186.     $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
  1187.     target.h $(value_h)
  1188.  
  1189. lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
  1190.  
  1191. m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1192.     language.h m2-lang.h parser-defs.h $(symtab_h)
  1193.  
  1194. m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1195.     $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
  1196.     $(value_h)
  1197.  
  1198. m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
  1199.     valprint.h
  1200.  
  1201. m3-nat.o: m3-nat.c $(defs_h) $(inferior_h) $(value_h) language.h target.h \
  1202.     $(wait_h) $(gdbcmd_h) $(gdbcore_h)
  1203.  
  1204. m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) 
  1205.  
  1206. m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
  1207.  
  1208. m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1209.  
  1210. m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1211.  
  1212. top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
  1213.     $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
  1214.     $(remote_utils_h)
  1215.  
  1216. main.o: main.c top.h $(defs_h)
  1217.  
  1218. maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
  1219.     $(expression_h)
  1220.  
  1221. mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
  1222.     $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
  1223.     objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
  1224.  
  1225. mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h)
  1226.  
  1227. os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
  1228.         $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
  1229.         objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) target.h
  1230.  
  1231. mem-break.o: mem-break.c $(defs_h) 
  1232.  
  1233. minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
  1234.     $(symtab_h)
  1235.  
  1236. mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
  1237.  
  1238. mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1239.     $(inferior_h) language.h objfiles.h symfile.h
  1240.  
  1241. mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
  1242.     $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
  1243.     objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
  1244.  
  1245. mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1246.  
  1247. news-xdep.o: news-xdep.c
  1248.  
  1249. Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
  1250.     nindy-share/env.h
  1251.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
  1252.  
  1253. nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
  1254.     nindy-share/env.h
  1255.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
  1256.  
  1257. nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1258.     gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h
  1259.  
  1260. ns32km3-nat.o: ns32km3-nat.c $(defs_h) $(inferior_h)
  1261.  
  1262. ttyflush.o: nindy-share/ttyflush.c
  1263.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
  1264.  
  1265. nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) 
  1266.  
  1267. ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h)
  1268.  
  1269. objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
  1270.     $(symtab_h)
  1271.  
  1272. osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1273.     objfiles.h regex.h symfile.h target.h language.h
  1274.  
  1275. somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1276.     gdb-stabs.h objfiles.h symfile.h $(symtab_h)
  1277.  
  1278. somsolib.o: somsolib.c $(defs_h)
  1279.  
  1280. hpread.o: hpread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1281.     gdb-stabs.h objfiles.h symfile.h $(symtab_h)
  1282.  
  1283. parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
  1284.     $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
  1285.  
  1286. printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
  1287.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
  1288.     $(symtab_h) target.h
  1289.  
  1290. procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1291.     target.h
  1292.  
  1293. pyr-tdep.o: pyr-tdep.c $(defs_h) 
  1294.  
  1295. pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) 
  1296.  
  1297. regex.o: regex.c regex.h $(defs_h)
  1298.  
  1299. remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1300.     $(inferior_h) target.h terminal.h
  1301.  
  1302. remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1303.     $(inferior_h) target.h terminal.h $(remote_utils_h)
  1304.  
  1305. remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \
  1306.     $(wait_h) serial.h
  1307.  
  1308. remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
  1309.     $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
  1310.  
  1311. remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
  1312.     $(inferior_h) $(remote_utils_h) terminal.h
  1313.  
  1314. remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1315.     $(inferior_h) serial.h target.h terminal.h
  1316.  
  1317. remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
  1318.     $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
  1319.  
  1320. remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
  1321.     minimon.h target.h terminal.h
  1322.  
  1323. remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \
  1324.     $(defs_h) $(gdbcore_h) $(inferior_h) \
  1325.     nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
  1326.     symfile.h
  1327.  
  1328. remote-os9k.o: remote-os9k.c $(defs_h) $(gdbcore_h) $(wait_h) \
  1329.     $(command_h) monitor.h $(remote_utils_h) $(symtab_h) symfile.h \
  1330.     objfiles.h gdb-stabs.h
  1331.  
  1332. remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1333.     $(inferior_h) target.h terminal.h
  1334.  
  1335. remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
  1336.     target.h
  1337.  
  1338. remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
  1339.     $(inferior_h) target.h terminal.h $(udiheaders)
  1340.  
  1341. remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
  1342.     $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
  1343.     vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
  1344.     vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h)
  1345.  
  1346. remote-vx29k.o: remote-vx29k.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
  1347.         $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
  1348.         vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
  1349.         vx-share/xdr_rdb.h
  1350.  
  1351. remote-z8k.o: remote-z8k.c $(wait_h) $(srcdir)/../sim/z8k/sim.h \
  1352.     $(defs_h) $(gdbcore_h) $(inferior_h) target.h terminal.h
  1353.  
  1354. remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1355.     $(inferior_h) $(remote_utils_h)
  1356.  
  1357. remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
  1358.     $(inferior_h) $(remote_utils_h) symfile.h terminal.h
  1359.  
  1360. rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1361.  
  1362. rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
  1363.     target.h xcoffsolib.h
  1364.  
  1365. ser-go32.o: ser-go32.c $(defs_h) serial.h 
  1366.  
  1367. ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h
  1368.  
  1369. ser-unix.o: ser-unix.c $(defs_h) serial.h 
  1370.  
  1371. serial.o: serial.c $(defs_h) serial.h 
  1372.  
  1373. sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
  1374.     $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
  1375.     $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
  1376.  
  1377. solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1378.     objfiles.h regex.h symfile.h target.h
  1379.  
  1380. source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
  1381.     $(gdbcore_h) language.h objfiles.h regex.h symfile.h $(symtab_h)
  1382.  
  1383. sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1384.  
  1385. sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
  1386.     $(inferior_h) objfiles.h symfile.h target.h
  1387.  
  1388. sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h
  1389.  
  1390. stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
  1391.     $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
  1392.     $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h)
  1393.  
  1394. stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
  1395.     language.h target.h
  1396.  
  1397. sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1398. sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
  1399.  
  1400. symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
  1401.     $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
  1402.     language.h objfiles.h symfile.h $(symtab_h) target.h
  1403.  
  1404. symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)    
  1405. symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1406.  
  1407. symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
  1408.     $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
  1409.     $(symtab_h) 
  1410.  
  1411. symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
  1412.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
  1413.     regex.h symfile.h $(symtab_h) target.h $(value_h)
  1414.  
  1415. tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
  1416.     $(symtab_h)
  1417.  
  1418. target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
  1419.     objfiles.h symfile.h target.h
  1420.  
  1421. thread.o: thread.c $(defs_h) thread.h $(gdbcmd_h)
  1422.  
  1423. typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1424.     $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1425.     $(value_h) 
  1426.  
  1427. ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1428. ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1429. umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1430.  
  1431. utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
  1432.     language.h signals.h target.h terminal.h $(readline_headers)
  1433.  
  1434. valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
  1435.     $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
  1436.  
  1437. valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1438.  
  1439. valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1440.     $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1441.     $(value_h)
  1442.  
  1443. values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
  1444.     $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h)
  1445.  
  1446. vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
  1447.  
  1448. w65-tdep.o : w65-tdep.c
  1449.  
  1450. xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
  1451.     vx-share/vxWorks.h vx-share/xdr_ld.h
  1452.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
  1453.  
  1454. xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
  1455.     vx-share/vxWorks.h vx-share/xdr_ptrace.h
  1456.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
  1457.  
  1458. xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
  1459.     vx-share/vxWorks.h vx-share/xdr_rdb.h
  1460.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
  1461.  
  1462. xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
  1463.     $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
  1464.     $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
  1465.     complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
  1466.     $(symtab_h)
  1467.  
  1468. xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
  1469.  
  1470. z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
  1471.     $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
  1472.  
  1473. c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
  1474.     $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
  1475.     $(bfd_h) objfiles.h symfile.h
  1476.  
  1477. ch-exp.tab.o: ch-exp.tab.c ch-lang.h $(defs_h) $(expression_h) \
  1478.     $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
  1479.     $(bfd_h) objfiles.h symfile.h
  1480.  
  1481. f-exp.tab.o: f-exp.tab.c f-lang.h $(defs_h) $(expression_h) \
  1482.     language.h parser-defs.h $(value_h) $(bfd_h) objfiles.h symfile.h
  1483.  
  1484. m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1485.     language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
  1486.     $(bfd_h) objfiles.h symfile.h
  1487.  
  1488. ### end of the gdb Makefile.in.
  1489.