| 1 | # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998 |
| 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 | # |
| 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. |
| 15 | # |
| 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. |
| 19 | |
| 20 | prefix = @prefix@ |
| 21 | exec_prefix = @exec_prefix@ |
| 22 | |
| 23 | host_alias = @host_alias@ |
| 24 | target_alias = @target_alias@ |
| 25 | program_transform_name = @program_transform_name@ |
| 26 | bindir = @bindir@ |
| 27 | libdir = @libdir@ |
| 28 | tooldir = $(libdir)/$(target_alias) |
| 29 | |
| 30 | datadir = @datadir@ |
| 31 | mandir = @mandir@ |
| 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 |
| 41 | infodir = @infodir@ |
| 42 | includedir = @includedir@ |
| 43 | |
| 44 | # This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT. |
| 45 | top_builddir = . |
| 46 | |
| 47 | SHELL = @SHELL@ |
| 48 | EXEEXT = @EXEEXT@ |
| 49 | |
| 50 | INSTALL = @INSTALL@ |
| 51 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 52 | INSTALL_DATA = @INSTALL_DATA@ |
| 53 | |
| 54 | AR = @AR@ |
| 55 | AR_FLAGS = qv |
| 56 | RANLIB = @RANLIB@ |
| 57 | DLLTOOL = @DLLTOOL@ |
| 58 | WINDRES = @WINDRES@ |
| 59 | |
| 60 | # Flags that describe where you can find the termcap library. |
| 61 | # This can be overridden in the host Makefile fragment file. |
| 62 | TERMCAP = @TERM_LIB@ |
| 63 | |
| 64 | # If you are compiling with GCC, make sure that either 1) You have the |
| 65 | # fixed include files where GCC can reach them, or 2) You use the |
| 66 | # -traditional flag. Otherwise the ioctl calls in inflow.c |
| 67 | # will be incorrectly compiled. The "fixincludes" script in the gcc |
| 68 | # distribution will fix your include files up. |
| 69 | CC=@CC@ |
| 70 | |
| 71 | # Directory containing source files. |
| 72 | srcdir = @srcdir@ |
| 73 | VPATH = @srcdir@ |
| 74 | |
| 75 | BISON=@YACC@ |
| 76 | |
| 77 | # where to find makeinfo, preferably one designed for texinfo-2 |
| 78 | MAKEINFO=makeinfo |
| 79 | |
| 80 | # Set this up with gcc if you have gnu ld and the loader will print out |
| 81 | # line numbers for undefined references. |
| 82 | #CC_LD=gcc -static |
| 83 | CC_LD=$(CC) |
| 84 | |
| 85 | # Where is our "include" directory? Typically $(srcdir)/../include. |
| 86 | # This is essentially the header file directory for the library |
| 87 | # routines in libiberty. |
| 88 | INCLUDE_DIR = $(srcdir)/../include |
| 89 | INCLUDE_CFLAGS = -I$(INCLUDE_DIR) |
| 90 | |
| 91 | # Where is the "-liberty" library? Typically in ../libiberty. |
| 92 | LIBIBERTY = ../libiberty/libiberty.a |
| 93 | |
| 94 | # Configured by the --with-mmalloc option to configure. |
| 95 | MMALLOC = @MMALLOC@ |
| 96 | MMALLOC_CFLAGS = @MMALLOC_CFLAGS@ |
| 97 | |
| 98 | # Where is the BFD library? Typically in ../bfd. |
| 99 | BFD_DIR = ../bfd |
| 100 | BFD = $(BFD_DIR)/libbfd.a |
| 101 | BFD_SRC = $(srcdir)/$(BFD_DIR) |
| 102 | BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC) |
| 103 | |
| 104 | # Where is the READLINE library? Typically in ../readline. |
| 105 | READLINE_DIR = ../readline |
| 106 | READLINE = $(READLINE_DIR)/libreadline.a |
| 107 | READLINE_SRC = $(srcdir)/$(READLINE_DIR) |
| 108 | READLINE_CFLAGS = -I$(READLINE_SRC)/.. |
| 109 | |
| 110 | WARN_CFLAGS = @WARN_CFLAGS@ |
| 111 | |
| 112 | # Where is the INTL library? Typically in ../intl. |
| 113 | INTL_DIR = ../intl |
| 114 | INTL = @INTLLIBS@ |
| 115 | INTL_DEPS = @INTLDEPS@ |
| 116 | INTL_SRC = $(srcdir)/$(INTL_DIR) |
| 117 | INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC) |
| 118 | |
| 119 | # Opcodes currently live in one of two places. Either they are in the |
| 120 | # opcode library, typically ../opcodes, or they are in a header file |
| 121 | # in INCLUDE_DIR. |
| 122 | # Where is the "-lopcodes" library, with (some of) the opcode tables and |
| 123 | # disassemblers? |
| 124 | OPCODES = ../opcodes/libopcodes.a |
| 125 | # Where are the other opcode tables which only have header file |
| 126 | # versions? |
| 127 | OP_INCLUDE = $(INCLUDE_DIR)/opcode |
| 128 | OPCODES_CFLAGS = -I$(OP_INCLUDE) |
| 129 | |
| 130 | # The simulator is usually nonexistent; targets that include one |
| 131 | # should set this to list all the .o or .a files to be linked in. |
| 132 | SIM = |
| 133 | |
| 134 | #start-sanitize-gdbtk |
| 135 | # Where is the TCL library? Typically in ../tcl. |
| 136 | LIB_INSTALL_DIR = $(libdir) |
| 137 | # This variable is needed when doing dynamic linking. |
| 138 | LIB_RUNTIME_DIR = $(libdir) |
| 139 | TCL = @TCL_LD_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@ |
| 140 | TCL_CFLAGS = @TCLHDIR@ |
| 141 | TCL_DEPS = |
| 142 | GDBTKLIBS = @GDBTKLIBS@ |
| 143 | |
| 144 | # Where is the TK library? Typically in ../tk. |
| 145 | TK = @TK_BUILD_LIB_SPEC@ |
| 146 | TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@ |
| 147 | TK_DEPS = |
| 148 | |
| 149 | # Where is Itcl? Typically in ../itcl. |
| 150 | ITCL_CFLAGS = @ITCLHDIR@ |
| 151 | ITCL = @ITCLLIB@ |
| 152 | ITCL_DEPS = $(ITCL) |
| 153 | |
| 154 | # Where is Tix? Typically in ../tix. |
| 155 | TIX_CFLAGS = @TIXHDIR@ |
| 156 | TIX = @TIXLIB@ |
| 157 | TIX_DEPS = @TIX_DEPS@ |
| 158 | |
| 159 | X11_CFLAGS = @TK_XINCLUDES@ |
| 160 | X11_LDFLAGS = |
| 161 | X11_LIBS = |
| 162 | |
| 163 | WIN32LDAPP = @WIN32LDAPP@ |
| 164 | WIN32LIBS = @WIN32LIBS@ |
| 165 | |
| 166 | ENABLE_GDBTK= @ENABLE_GDBTK@ |
| 167 | #start-sanitize-ide |
| 168 | ENABLE_IDE= @ENABLE_IDE@ |
| 169 | |
| 170 | FOUNDRY_LIB_BASE= @FOUNDRY_LIB_BASE@ |
| 171 | IDE_CFLAGS_X = @IDE_CFLAGS_X@ |
| 172 | IDE_X = @IDE_X@ |
| 173 | LIBIDETCL = @LIBIDETCL@ |
| 174 | LIBIDE = @LIBIDE@ |
| 175 | IDE_DEPS = @IDE_DEPS@ |
| 176 | IDE=$(IDE_X) |
| 177 | #end-sanitize-ide |
| 178 | LIBGUI = @LIBGUI@ |
| 179 | GUI_CFLAGS_X = @GUI_CFLAGS_X@ |
| 180 | IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X) |
| 181 | #end-sanitize-gdbtk |
| 182 | |
| 183 | ENABLE_CFLAGS= @ENABLE_CFLAGS@ |
| 184 | |
| 185 | # -I. for config files. |
| 186 | # -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also. |
| 187 | # -I$(srcdir)/config for more generic config files. |
| 188 | |
| 189 | # It is also possible that you will need to add -I/usr/include/sys if |
| 190 | # your system doesn't have fcntl.h in /usr/include (which is where it |
| 191 | # should be according to Posix). |
| 192 | DEFS = @DEFS@ |
| 193 | GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config $(DEFS) |
| 194 | |
| 195 | # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS |
| 196 | # from the config directory. |
| 197 | GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS) |
| 198 | #PROFILE_CFLAGS = -pg |
| 199 | |
| 200 | # CFLAGS is specifically reserved for setting from the command line |
| 201 | # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". |
| 202 | CFLAGS = -g |
| 203 | |
| 204 | # Need to pass this to testsuite for "make check". Probably should be |
| 205 | # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in |
| 206 | # so "make check" has the same result no matter where it is run. |
| 207 | CXXFLAGS = -g -O |
| 208 | |
| 209 | # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. |
| 210 | INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ |
| 211 | $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ |
| 212 | $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \ |
| 213 | $(INTL_CFLAGS) $(ENABLE_CFLAGS) $(WARN_CFLAGS) |
| 214 | |
| 215 | # LDFLAGS is specifically reserved for setting from the command line |
| 216 | # when running make. |
| 217 | |
| 218 | # Profiling options need to go here to work. |
| 219 | # I think it's perfectly reasonable for a user to set -pg in CFLAGS |
| 220 | # and have it work; that's why CFLAGS is here. |
| 221 | INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(LDFLAGS) @CONFIG_LDFLAGS@ @HLDFLAGS@ |
| 222 | HLDENV = @HLDENV@ |
| 223 | |
| 224 | # We are using our own version of REGEX now to be consistent across |
| 225 | # machines. |
| 226 | REGEX = gnu-regex.o |
| 227 | REGEX1 = gnu-regex.o |
| 228 | |
| 229 | # If your system is missing alloca(), or, more likely, it's there but |
| 230 | # it doesn't work, then refer to libiberty. |
| 231 | |
| 232 | # Libraries and corresponding dependencies for compiling gdb. |
| 233 | # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs. |
| 234 | # TERMCAP comes after readline, since readline depends on it. |
| 235 | # MMALLOC comes after anything else that might want an allocation function. |
| 236 | # LIBIBERTY appears twice on purpose. |
| 237 | # If you have the Cygnus libraries installed, |
| 238 | # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS=' |
| 239 | INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \ |
| 240 | $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ |
| 241 | -lmmalloc -lintl -liberty |
| 242 | CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \ |
| 243 | $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ |
| 244 | $(MMALLOC) $(LIBIBERTY) $(WIN32LIBS) |
| 245 | CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \ |
| 246 | $(OPCODES) $(MMALLOC) $(INTL_DEPS) $(LIBIBERTY) @CONFIG_DEPS@ |
| 247 | |
| 248 | ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) |
| 249 | ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) |
| 250 | |
| 251 | VERSION=4.17.1 |
| 252 | DIST=gdb |
| 253 | |
| 254 | LINT=/usr/5bin/lint |
| 255 | LINTFLAGS= $(BFD_CFLAGS) |
| 256 | |
| 257 | RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \ |
| 258 | echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \ |
| 259 | fi` |
| 260 | |
| 261 | RUNTESTFLAGS= |
| 262 | |
| 263 | # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX |
| 264 | # interface to the serial port. Hopefully if get ported to OS/2, VMS, |
| 265 | # etc., then there will be (as part of the C library or perhaps as |
| 266 | # part of libiberty) a POSIX interface. But at least for now the |
| 267 | # host-dependent makefile fragment might need to use something else |
| 268 | # besides ser-unix.o |
| 269 | SER_HARDWIRE = ser-unix.o |
| 270 | |
| 271 | # The `remote' debugging target is supported for most architectures, |
| 272 | # but not all (e.g. 960) |
| 273 | REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o |
| 274 | |
| 275 | # This is remote-sim.o if a simulator is to be linked in. |
| 276 | SIM_OBS = |
| 277 | |
| 278 | ANNOTATE_OBS = annotate.o |
| 279 | |
| 280 | # start-sanitize-carp |
| 281 | # Multi-arch enabled gdb targets |
| 282 | MACHINE_OBS = @MACHINE_OBS@ |
| 283 | |
| 284 | # end-sanitize-carp |
| 285 | # Host and target-dependent makefile fragments come in here. |
| 286 | @host_makefile_frag@ |
| 287 | @target_makefile_frag@ |
| 288 | # End of host and target-dependent makefile fragments |
| 289 | |
| 290 | FLAGS_TO_PASS = \ |
| 291 | "prefix=$(prefix)" \ |
| 292 | "exec_prefix=$(exec_prefix)" \ |
| 293 | "against=$(against)" \ |
| 294 | "AR=$(AR)" \ |
| 295 | "AR_FLAGS=$(AR_FLAGS)" \ |
| 296 | "CC=$(CC)" \ |
| 297 | "CFLAGS=$(CFLAGS)" \ |
| 298 | "CHILLFLAGS=$(CHILLFLAGS)" \ |
| 299 | "CHILL=$(CHILL)" \ |
| 300 | "CHILL_LIB=$(CHILL_LIB)" \ |
| 301 | "CXX=$(CXX)" \ |
| 302 | "CXXFLAGS=$(CXXFLAGS)" \ |
| 303 | "DLLTOOL=$(DLLTOOL)" \ |
| 304 | "RANLIB=$(RANLIB)" \ |
| 305 | "MAKEINFO=$(MAKEINFO)" \ |
| 306 | "INSTALL=$(INSTALL)" \ |
| 307 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 308 | "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 309 | "RUNTEST=$(RUNTEST)" \ |
| 310 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" |
| 311 | |
| 312 | # Flags that we pass when building the testsuite. |
| 313 | |
| 314 | # empty for native, $(target_alias)/ for cross |
| 315 | target_subdir = @target_subdir@ |
| 316 | |
| 317 | CC_FOR_TARGET = ` \ |
| 318 | if [ -f $${rootme}/../gcc/xgcc ] ; then \ |
| 319 | if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \ |
| 320 | 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/; \ |
| 321 | else \ |
| 322 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ |
| 323 | fi; \ |
| 324 | else \ |
| 325 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 326 | echo $(CC); \ |
| 327 | else \ |
| 328 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 329 | fi; \ |
| 330 | fi` |
| 331 | |
| 332 | CXX = gcc |
| 333 | CXX_FOR_TARGET = ` \ |
| 334 | if [ -f $${rootme}/../gcc/xgcc ] ; then \ |
| 335 | if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \ |
| 336 | 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/; \ |
| 337 | else \ |
| 338 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ |
| 339 | fi; \ |
| 340 | else \ |
| 341 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 342 | echo $(CXX); \ |
| 343 | else \ |
| 344 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 345 | fi; \ |
| 346 | fi` |
| 347 | |
| 348 | CHILLFLAGS = $(CFLAGS) |
| 349 | CHILL = gcc |
| 350 | CHILL_FOR_TARGET = ` \ |
| 351 | if [ -f $${rootme}/../gcc/Makefile ] ; then \ |
| 352 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../gcc/ch/runtime/; \ |
| 353 | else \ |
| 354 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 355 | echo $(CC); \ |
| 356 | else \ |
| 357 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 358 | fi; \ |
| 359 | fi` |
| 360 | CHILL_LIB = ` \ |
| 361 | if [ -f $${rootme}/../gcc/ch/runtime/libchill.a ] ; then \ |
| 362 | echo $${rootme}/../gcc/ch/runtime/chillrt0.o \ |
| 363 | $${rootme}/../gcc/ch/runtime/libchill.a; \ |
| 364 | else \ |
| 365 | echo -lchill; \ |
| 366 | fi` |
| 367 | |
| 368 | # The use of $$(x_FOR_TARGET) reduces the command line length by not |
| 369 | # duplicating the lengthy definition. |
| 370 | TARGET_FLAGS_TO_PASS = \ |
| 371 | "prefix=$(prefix)" \ |
| 372 | "exec_prefix=$(exec_prefix)" \ |
| 373 | "against=$(against)" \ |
| 374 | 'CC=$$(CC_FOR_TARGET)' \ |
| 375 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ |
| 376 | "CFLAGS=$(CFLAGS)" \ |
| 377 | "CHILLFLAGS=$(CHILLFLAGS)" \ |
| 378 | 'CHILL=$$(CHILL_FOR_TARGET)' \ |
| 379 | "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \ |
| 380 | "CHILL_LIB=$(CHILL_LIB)" \ |
| 381 | 'CXX=$$(CXX_FOR_TARGET)' \ |
| 382 | "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ |
| 383 | "CXXFLAGS=$(CXXFLAGS)" \ |
| 384 | "INSTALL=$(INSTALL)" \ |
| 385 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 386 | "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 387 | "MAKEINFO=$(MAKEINFO)" \ |
| 388 | "RUNTEST=$(RUNTEST)" \ |
| 389 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" |
| 390 | |
| 391 | # All source files that go into linking GDB. |
| 392 | # Links made at configuration time should not be specified here, since |
| 393 | # SFILES is used in building the distribution archive. |
| 394 | |
| 395 | SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \ |
| 396 | buildsym.c c-exp.y c-lang.c c-typeprint.c c-valprint.c \ |
| 397 | ch-exp.c ch-lang.c ch-typeprint.c ch-valprint.c coffread.c \ |
| 398 | command.c complaints.c corefile.c cp-valprint.c dbxread.c \ |
| 399 | demangle.c dwarfread.c dwarf2read.c elfread.c environ.c eval.c \ |
| 400 | expprint.c f-exp.y f-lang.c f-typeprint.c f-valprint.c \ |
| 401 | findvar.c gdbarch.c gdbtypes.c infcmd.c inflow.c infrun.c language.c \ |
| 402 | $(start-sanitize-java) \ |
| 403 | jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \ |
| 404 | $(end-sanitize-java) \ |
| 405 | m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \ |
| 406 | mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \ |
| 407 | printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c \ |
| 408 | scm-valprint.c source.c stabsread.c stack.c symfile.c \ |
| 409 | symmisc.c symtab.c target.c thread.c top.c tracepoint.c \ |
| 410 | typeprint.c utils.c valarith.c valops.c valprint.c values.c \ |
| 411 | serial.c ser-unix.c mdebugread.c os9kread.c |
| 412 | |
| 413 | LINTFILES = $(SFILES) $(YYFILES) @CONFIG_SRCS@ init.c |
| 414 | |
| 415 | # "system" headers. Using these in dependencies is a rather personal |
| 416 | # choice. (-rich, summer 1993) |
| 417 | # (Why would we not want to depend on them? If one of these changes in a |
| 418 | # non-binary-compatible way, it is a real pain to remake the right stuff |
| 419 | # without these dependencies -kingdon, 13 Mar 1994) |
| 420 | getopt_h = $(INCLUDE_DIR)/getopt.h |
| 421 | floatformat_h = $(INCLUDE_DIR)/floatformat.h |
| 422 | bfd_h = $(BFD_DIR)/bfd.h |
| 423 | wait_h = $(INCLUDE_DIR)/wait.h |
| 424 | dis-asm_h = $(INCLUDE_DIR)/dis-asm.h |
| 425 | remote-sim_h = $(INCLUDE_DIR)/remote-sim.h |
| 426 | |
| 427 | dcache_h = dcache.h |
| 428 | remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h $(remote-sim_h) |
| 429 | |
| 430 | |
| 431 | readline_headers = \ |
| 432 | $(READLINE_SRC)/chardefs.h \ |
| 433 | $(READLINE_SRC)/history.h \ |
| 434 | $(READLINE_SRC)/keymaps.h \ |
| 435 | $(READLINE_SRC)/readline.h |
| 436 | |
| 437 | udiheaders = \ |
| 438 | $(srcdir)/29k-share/udi/udiproc.h \ |
| 439 | $(srcdir)/29k-share/udi/udiphcfg.h \ |
| 440 | $(srcdir)/29k-share/udi/udiphunix.h \ |
| 441 | $(srcdir)/29k-share/udi/udiptcfg.h \ |
| 442 | $(srcdir)/29k-share/udi/udipt29k.h \ |
| 443 | $(srcdir)/29k-share/udi/udisoc.h |
| 444 | |
| 445 | gdbcore_h = gdbcore.h $(bfd_h) |
| 446 | |
| 447 | frame_h = frame.h |
| 448 | symtab_h = symtab.h bcache.h |
| 449 | gdbtypes_h = gdbtypes.h |
| 450 | expression_h = expression.h |
| 451 | value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h) |
| 452 | |
| 453 | breakpoint_h = breakpoint.h $(frame_h) $(value_h) |
| 454 | |
| 455 | command_h = command.h |
| 456 | gdbcmd_h = gdbcmd.h $(command_h) |
| 457 | |
| 458 | defs_h = defs.h xm.h tm.h nm.h config.status config.h gdbarch.h |
| 459 | |
| 460 | inferior_h = inferior.h $(breakpoint_h) |
| 461 | tracepoint_h = tracepoint.h |
| 462 | ax_h = ax.h |
| 463 | |
| 464 | # Header files that need to have srcdir added. Note that in the cases |
| 465 | # where we use a macro like $(gdbcmd_h), things are carefully arranged |
| 466 | # so that each .h file is listed exactly once (M-x tags-search works |
| 467 | # wrong if TAGS has files twice). Because this is tricky to get |
| 468 | # right, it is probably easiest just to list .h files here directly. |
| 469 | |
| 470 | HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \ |
| 471 | dst.h environ.h $(gdbcmd_h) gdbcore.h \ |
| 472 | gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \ |
| 473 | objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \ |
| 474 | symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \ |
| 475 | c-lang.h ch-lang.h f-lang.h \ |
| 476 | $(start-sanitize-java) \ |
| 477 | jv-lang.h \ |
| 478 | $(end-sanitize-java) \ |
| 479 | m2-lang.h \ |
| 480 | complaints.h valprint.h \ |
| 481 | 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \ |
| 482 | nindy-share/block_io.h nindy-share/coff.h \ |
| 483 | nindy-share/env.h nindy-share/stop.h \ |
| 484 | vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \ |
| 485 | vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \ |
| 486 | vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \ |
| 487 | dcache.h remote-utils.h top.h somsolib.h |
| 488 | |
| 489 | # Header files that already have srcdir in them, or which are in objdir. |
| 490 | |
| 491 | HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h |
| 492 | |
| 493 | |
| 494 | # GDB "info" files, which should be included in their entirety |
| 495 | INFOFILES = gdb.info* |
| 496 | |
| 497 | REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar |
| 498 | |
| 499 | POSSLIBS = gnu-regex.c gnu-regex.h |
| 500 | |
| 501 | # {X,T,NAT}DEPFILES are something of a pain in that it's hard to |
| 502 | # default their values the way we do for SER_HARDWIRE; in the future |
| 503 | # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other |
| 504 | # variables analogous to SER_HARDWIRE which get defaulted in this |
| 505 | # Makefile.in |
| 506 | |
| 507 | DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \ |
| 508 | $(start-sanitize-carp) \ |
| 509 | $(MACHINE_OBS) \ |
| 510 | $(end-sanitize-carp) \ |
| 511 | $(REMOTE_OBS) $(SIM_OBS) @CONFIG_OBS@ |
| 512 | |
| 513 | SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) @CONFIG_SRCS@ |
| 514 | # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES, |
| 515 | # and it's more useful to see it in the .y file. |
| 516 | TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \ |
| 517 | $(POSSLIBS) |
| 518 | TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR) |
| 519 | |
| 520 | COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \ |
| 521 | source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \ |
| 522 | symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \ |
| 523 | expprint.o environ.o gdbarch.o gdbtypes.o copying.o $(DEPFILES) \ |
| 524 | mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \ |
| 525 | exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \ |
| 526 | dbxread.o coffread.o elfread.o \ |
| 527 | dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \ |
| 528 | c-lang.o ch-exp.o ch-lang.o f-lang.o \ |
| 529 | $(start-sanitize-java) \ |
| 530 | jv-lang.o jv-valprint.o jv-typeprint.o \ |
| 531 | $(end-sanitize-java) \ |
| 532 | m2-lang.o \ |
| 533 | scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o \ |
| 534 | c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \ |
| 535 | c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \ |
| 536 | nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o |
| 537 | |
| 538 | OBS = $(COMMON_OBS) $(ANNOTATE_OBS) main.o |
| 539 | |
| 540 | LIBGDB_OBS = |
| 541 | |
| 542 | TSOBS = inflow.o |
| 543 | |
| 544 | NTSOBS = standalone.o |
| 545 | |
| 546 | NTSSTART = kdb-start.o |
| 547 | |
| 548 | SUBDIRS = doc \ |
| 549 | testsuite \ |
| 550 | nlm |
| 551 | |
| 552 | # For now, shortcut the "configure GDB for fewer languages" stuff. |
| 553 | YYFILES = c-exp.tab.c \ |
| 554 | $(start-sanitize-java) \ |
| 555 | jv-exp.tab.c \ |
| 556 | $(end-sanitize-java) \ |
| 557 | f-exp.tab.c m2-exp.tab.c |
| 558 | YYOBJ = c-exp.tab.o \ |
| 559 | $(start-sanitize-java) \ |
| 560 | jv-exp.tab.o \ |
| 561 | $(end-sanitize-java) \ |
| 562 | f-exp.tab.o m2-exp.tab.o |
| 563 | |
| 564 | # Things which need to be built when making a distribution. |
| 565 | |
| 566 | DISTSTUFF = $(YYFILES) |
| 567 | |
| 568 | # Prevent Sun make from putting in the machine type. Setting |
| 569 | # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1. |
| 570 | .c.o: |
| 571 | $(CC) -c $(INTERNAL_CFLAGS) $< |
| 572 | |
| 573 | all: gdb$(EXEEXT) |
| 574 | @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do |
| 575 | |
| 576 | installcheck: |
| 577 | |
| 578 | # The check target can not use subdir_do, because subdir_do does not |
| 579 | # use TARGET_FLAGS_TO_PASS. |
| 580 | check: force |
| 581 | @if [ -f testsuite/Makefile ]; then \ |
| 582 | rootme=`pwd`; export rootme; \ |
| 583 | rootsrc=`cd $(srcdir); pwd`; export rootsrc; \ |
| 584 | cd testsuite; \ |
| 585 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \ |
| 586 | else true; fi |
| 587 | |
| 588 | info dvi install-info clean-info: force |
| 589 | @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 590 | |
| 591 | gdb.z:gdb.1 |
| 592 | nroff -man $(srcdir)/gdb.1 | col -b > gdb.t |
| 593 | pack gdb.t ; rm -f gdb.t |
| 594 | mv gdb.t.z gdb.z |
| 595 | |
| 596 | # Traditionally "install" depends on "all". But it may be useful |
| 597 | # not to; for example, if the user has made some trivial change to a |
| 598 | # source file and doesn't care about rebuilding or just wants to save the |
| 599 | # time it takes for make to check that all is up to date. |
| 600 | # install-only is intended to address that need. |
| 601 | install: all install-only |
| 602 | install-only: |
| 603 | transformed_name=`t='$(program_transform_name)'; \ |
| 604 | echo gdb | sed -e $$t` ; \ |
| 605 | if test "x$$transformed_name" = x; then \ |
| 606 | transformed_name=gdb ; \ |
| 607 | else \ |
| 608 | true ; \ |
| 609 | fi ; \ |
| 610 | $(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \ |
| 611 | $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1 |
| 612 | # start-sanitize-gdbtk |
| 613 | $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl ; \ |
| 614 | $(SHELL) $(srcdir)/../mkinstalldirs \ |
| 615 | $(datadir)/gdbtcl/images \ |
| 616 | $(datadir)/gdbtcl/images2 ; \ |
| 617 | $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl/help \ |
| 618 | $(datadir)/gdbtcl/help/images \ |
| 619 | $(datadir)/gdbtcl/help/trace ; \ |
| 620 | cd $(srcdir)/gdbtcl2 ; \ |
| 621 | for i in *.tcl images/*.gif images2/*.gif images/icons.txt images2/icons.txt tclIndex help/*.html help/index.toc help/trace/*.html help/trace/index.toc help/images/*.gif; \ |
| 622 | do \ |
| 623 | $(INSTALL_DATA) $$i $(datadir)/gdbtcl/$$i ; \ |
| 624 | done ; |
| 625 | # end-sanitize-gdbtk |
| 626 | @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do |
| 627 | |
| 628 | uninstall: force |
| 629 | transformed_name=`t='$(program_transform_name)'; \ |
| 630 | echo gdb | sed -e $$t` ; \ |
| 631 | if test "x$$transformed_name" = x; then \ |
| 632 | transformed_name=gdb ; \ |
| 633 | else \ |
| 634 | true ; \ |
| 635 | fi ; \ |
| 636 | rm -f $(bindir)/$$transformed_name$(EXEEXT) $(man1dir)/$$transformed_name.1 |
| 637 | # start-sanitize-gdbtk |
| 638 | rm -rf $(datadir)/gdbtcl |
| 639 | # end-sanitize-gdbtk |
| 640 | @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do |
| 641 | |
| 642 | # We do this by grepping through sources. If that turns out to be too slow, |
| 643 | # maybe we could just require every .o file to have an initialization routine |
| 644 | # of a given name (remote-udi.o -> _initialize_remote_udi, etc.). |
| 645 | # |
| 646 | # Formatting conventions: The name of the _initialize_* routines must start |
| 647 | # in column zero, and must not be inside #if. |
| 648 | # |
| 649 | # Note that the set of files with init functions might change, or the names |
| 650 | # of the functions might change, so this files needs to depend on all the |
| 651 | # object files that will be linked into gdb. |
| 652 | |
| 653 | init.c: $(OBS) $(TSOBS) |
| 654 | @echo Making init.c |
| 655 | @rm -f init.c-tmp |
| 656 | @echo '/* Do not modify this file. */' >init.c-tmp |
| 657 | @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp |
| 658 | @echo '#include "ansidecl.h"' >>init.c-tmp |
| 659 | @echo 'extern void initialize_all_files PARAMS ((void));' >>init.c-tmp |
| 660 | @echo 'void initialize_all_files PARAMS ((void)) {' >>init.c-tmp |
| 661 | @-echo $(OBS) $(TSOBS) | \ |
| 662 | tr ' ' '\012' | \ |
| 663 | sed -e '/^Onindy.o/d' \ |
| 664 | -e '/^nindy.o/d' \ |
| 665 | -e '/ttyflush.o/d' \ |
| 666 | -e '/xdr_ld.o/d' \ |
| 667 | -e '/xdr_ptrace.o/d' \ |
| 668 | -e '/xdr_rdb.o/d' \ |
| 669 | -e '/udr.o/d' \ |
| 670 | -e '/udip2soc.o/d' \ |
| 671 | -e '/udi2go32.o/d' \ |
| 672 | -e '/version.o/d' \ |
| 673 | -e '/^[a-z0-9A-Z_]*_[SU].o/d' \ |
| 674 | -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \ |
| 675 | -e 's/\.o/.c/' \ |
| 676 | -e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \ |
| 677 | while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \ |
| 678 | sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp |
| 679 | @echo '}' >>init.c-tmp |
| 680 | @mv init.c-tmp init.c |
| 681 | |
| 682 | .PRECIOUS: init.c |
| 683 | |
| 684 | # Removing the old gdb first works better if it is running, at least on SunOS. |
| 685 | gdb$(EXEEXT): $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o |
| 686 | rm -f gdb$(EXEEXT) |
| 687 | $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) \ |
| 688 | init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES) |
| 689 | |
| 690 | nlm: force |
| 691 | rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do |
| 692 | |
| 693 | libgdb: libgdb-files $(LIBGDB_OBS) |
| 694 | |
| 695 | # libproc is not listed here because all-libproc is a dependency of all-gui, |
| 696 | # not all-gdb, and thus might be built after us. |
| 697 | LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o |
| 698 | # libproc needs to be before libiberty for alloca. |
| 699 | LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \ |
| 700 | $(ADD_DEPS) $(CDEPS) init.o |
| 701 | |
| 702 | libgdb-files: $(LIBGDBDEPS) Makefile.in |
| 703 | -rm -f libgdb-files |
| 704 | for i in $(LIBGDBFILES); do\ |
| 705 | echo $$i >> libgdb-files;\ |
| 706 | done |
| 707 | |
| 708 | saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c |
| 709 | #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS |
| 710 | #load ./init.c $(SFILES) |
| 711 | #unload $(srcdir)/c-exp.y |
| 712 | $(start-sanitize-java) |
| 713 | #unload $(srcdir)/jv-exp.y |
| 714 | $(end-sanitize-java) |
| 715 | #unload $(srcdir)/m2-exp.y |
| 716 | #unload vx-share/*.h |
| 717 | #unload nindy-share/[A-Z]* |
| 718 | #load c-exp.tab.c |
| 719 | $(start-sanitize-java) |
| 720 | #load jv-exp.tab.c |
| 721 | $(end-sanitize-java) |
| 722 | #load m2-exp.tab.c |
| 723 | #load copying.c version.c |
| 724 | #load ../opcodes/libopcodes.a |
| 725 | #load ../libiberty/libiberty.a |
| 726 | #load ../bfd/libbfd.a |
| 727 | #load ../readline/libreadline.a |
| 728 | #load ../mmalloc/libmmalloc.a |
| 729 | #load ../intl/libintl.a |
| 730 | #load -ltermcap |
| 731 | #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'` |
| 732 | echo "Load .c corresponding to:" $(DEPFILES) |
| 733 | |
| 734 | |
| 735 | # A Mach 3.0 program to force gdb back to command level |
| 736 | |
| 737 | stop-gdb: stop-gdb.o |
| 738 | ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \ |
| 739 | stop-gdb.o $(CLIBS) $(LOADLIBES) |
| 740 | |
| 741 | # This is useful when debugging GDB, because some Unix's don't let you run GDB |
| 742 | # on itself without copying the executable. So "make gdb1" will make |
| 743 | # gdb and put a copy in gdb1, and you can run it with "gdb gdb1". |
| 744 | # Removing gdb1 before the copy is the right thing if gdb1 is open |
| 745 | # in another process. |
| 746 | gdb1$(EXEEXT): gdb$(EXEEXT) |
| 747 | rm -f gdb1$(EXEEXT) |
| 748 | cp gdb$(EXEEXT) gdb1$(EXEEXT) |
| 749 | |
| 750 | # FIXME. These are not generated by "make depend" because they only are there |
| 751 | # for some machines. |
| 752 | # But these rules don't do what we want; we want to hack the foo.o: tm.h |
| 753 | # dependency to do the right thing. |
| 754 | tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h |
| 755 | tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h |
| 756 | xm-news1000.h: xm-news.h |
| 757 | xm-i386-sv32.h: xm-i386.h |
| 758 | tm-i386gas.h: tm-i386.h |
| 759 | xm-sun4os4.h: xm-sparc.h |
| 760 | tm-sun4os4.h: tm-sparc.h |
| 761 | xm-vaxult.h: xm-vax.h |
| 762 | xm-vaxbsd.h: xm-vax.h |
| 763 | |
| 764 | kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS) |
| 765 | ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \ |
| 766 | -lc $(CLIBS) |
| 767 | |
| 768 | # Put the proper machine-specific files first, so M-. on a machine |
| 769 | # specific routine gets the one for the correct machine. (FIXME: those |
| 770 | # files go in twice; we should be removing them from the main list). |
| 771 | |
| 772 | # TAGS depends on all the files that go into it so you can rebuild TAGS |
| 773 | # with `make TAGS' and not have to say `rm TAGS' first. |
| 774 | |
| 775 | TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR) |
| 776 | @echo Making TAGS |
| 777 | @etags $(srcdir)/$(TM_FILE) \ |
| 778 | $(srcdir)/$(XM_FILE) \ |
| 779 | $(srcdir)/$(NAT_FILE) \ |
| 780 | `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \ |
| 781 | echo $(srcdir)/$$i ; \ |
| 782 | done ; for i in $(TAGFILES_WITH_SRCDIR); do \ |
| 783 | echo $$i ; \ |
| 784 | done) | sed -e 's/\.o$$/\.c/'` \ |
| 785 | `find $(srcdir)/config -name '*.h' -print` |
| 786 | |
| 787 | tags: TAGS |
| 788 | |
| 789 | clean mostlyclean: |
| 790 | @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do |
| 791 | rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp |
| 792 | rm -f init.c version.c |
| 793 | rm -f gdb$(EXEEXT) core make.log libgdb-files |
| 794 | rm -f gdb[0-9]$(EXEEXT) |
| 795 | |
| 796 | # This used to depend on c-exp.tab.c m2-exp.tab.c TAGS |
| 797 | # I believe this is wrong; the makefile standards for distclean just |
| 798 | # describe removing files; the only sort of "re-create a distribution" |
| 799 | # functionality described is if the distributed files are unmodified. |
| 800 | distclean: clean |
| 801 | @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do |
| 802 | rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit |
| 803 | rm -f y.output yacc.acts yacc.tmp y.tab.h |
| 804 | rm -f config.log config.cache |
| 805 | rm -f Makefile |
| 806 | |
| 807 | maintainer-clean: local-maintainer-clean do-maintainer-clean distclean |
| 808 | realclean: maintainer-clean |
| 809 | |
| 810 | local-maintainer-clean: |
| 811 | @echo "This command is intended for maintainers to use;" |
| 812 | @echo "it deletes files that may require special tools to rebuild." |
| 813 | rm -f c-exp.tab.c \ |
| 814 | $(start-sanitize-java) |
| 815 | jv-exp.tab \ |
| 816 | $(end-sanitize-java) |
| 817 | f-exp.tab.c m2-exp.tab.c |
| 818 | rm -f TAGS $(INFOFILES) |
| 819 | rm -f $(YYFILES) |
| 820 | rm -f nm.h tm.h xm.h config.status |
| 821 | |
| 822 | do-maintainer-clean: |
| 823 | @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" \ |
| 824 | subdir_do |
| 825 | |
| 826 | diststuff: $(DISTSTUFF) |
| 827 | cd doc; $(MAKE) $(MFLAGS) all-doc |
| 828 | |
| 829 | subdir_do: force |
| 830 | @for i in $(DODIRS); do \ |
| 831 | if [ -f ./$$i/Makefile ] ; then \ |
| 832 | if (cd ./$$i; \ |
| 833 | $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ |
| 834 | else exit 1 ; fi ; \ |
| 835 | else true ; fi ; \ |
| 836 | done |
| 837 | |
| 838 | Makefile: Makefile.in config.status @frags@ |
| 839 | $(SHELL) config.status |
| 840 | |
| 841 | config.h: stamp-h ; @true |
| 842 | stamp-h: config.in config.status |
| 843 | CONFIG_HEADERS=config.h:config.in $(SHELL) config.status |
| 844 | |
| 845 | config.status: configure |
| 846 | $(SHELL) config.status --recheck |
| 847 | |
| 848 | force: |
| 849 | |
| 850 | # Documentation! |
| 851 | # GDB QUICK REFERENCE (TeX dvi file, CM fonts) |
| 852 | doc/refcard.dvi: |
| 853 | cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) |
| 854 | |
| 855 | # GDB QUICK REFERENCE (PostScript output, common PS fonts) |
| 856 | doc/refcard.ps: |
| 857 | cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) |
| 858 | |
| 859 | # GDB MANUAL: TeX dvi file |
| 860 | doc/gdb.dvi: |
| 861 | cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) |
| 862 | |
| 863 | # GDB MANUAL: info file |
| 864 | doc/gdb.info: |
| 865 | cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) |
| 866 | |
| 867 | # Make copying.c from COPYING |
| 868 | copying.c: COPYING copying.awk |
| 869 | awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c |
| 870 | |
| 871 | version.c: Makefile |
| 872 | echo 'char *version = "$(VERSION)";' >version.c |
| 873 | echo 'char *host_name = "$(host_alias)";' >> version.c |
| 874 | echo 'char *target_name = "$(target_alias)";' >> version.c |
| 875 | |
| 876 | # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist |
| 877 | # in srcdir, then compiled in objdir to c-exp.tab.o. |
| 878 | |
| 879 | # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes |
| 880 | # would sometimes re-write it into $(srcdir)/c-exp.tab.c. |
| 881 | |
| 882 | # Remove bogus decls for malloc/realloc/free which conflict with everything |
| 883 | # else. Strictly speaking c-exp.tab.c should therefore depend on |
| 884 | # Makefile.in, but that was a pretty big annoyance. |
| 885 | c-exp.tab.o: c-exp.tab.c |
| 886 | c-exp.tab.c: c-exp.y |
| 887 | $(BISON) $(YFLAGS) -o c-exp.tmp $(srcdir)/c-exp.y |
| 888 | -sed -e '/extern.*malloc/d' \ |
| 889 | -e '/extern.*realloc/d' \ |
| 890 | -e '/extern.*free/d' \ |
| 891 | -e '/include.*malloc.h/d' \ |
| 892 | -e 's/malloc/xmalloc/g' \ |
| 893 | -e 's/realloc/xrealloc/g' \ |
| 894 | -e '/^#line.*y.tab.c/d' \ |
| 895 | < c-exp.tmp > c-exp.new |
| 896 | -rm c-exp.tmp |
| 897 | mv c-exp.new ./c-exp.tab.c |
| 898 | |
| 899 | # start-sanitize-java |
| 900 | jv-exp.tab.o: jv-exp.tab.c |
| 901 | jv-exp.tab.c: jv-exp.y |
| 902 | $(BISON) $(YFLAGS) -o jv-exp.tmp $(srcdir)/jv-exp.y |
| 903 | -sed -e '/extern.*malloc/d' \ |
| 904 | -e '/extern.*realloc/d' \ |
| 905 | -e '/extern.*free/d' \ |
| 906 | -e '/include.*malloc.h/d' \ |
| 907 | -e 's/malloc/xmalloc/g' \ |
| 908 | -e 's/realloc/xrealloc/g' \ |
| 909 | -e '/^#line.*y.tab.c/d' \ |
| 910 | < jv-exp.tmp > jv-exp.new |
| 911 | -rm jv-exp.tmp |
| 912 | mv jv-exp.new ./jv-exp.tab.c |
| 913 | |
| 914 | # end-sanitize-java |
| 915 | f-exp.tab.o: f-exp.tab.c |
| 916 | f-exp.tab.c: f-exp.y c-exp.tab.c |
| 917 | $(BISON) $(YFLAGS) -o f-exp.tmp $(srcdir)/f-exp.y |
| 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 | < f-exp.tmp > f-exp.new |
| 926 | -rm f-exp.tmp |
| 927 | mv f-exp.new ./f-exp.tab.c |
| 928 | |
| 929 | # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist |
| 930 | # in srcdir, then compiled in objdir to m2-exp.tab.o. |
| 931 | # Remove bogus decls for malloc/realloc/free which conflict with everything |
| 932 | # else. |
| 933 | m2-exp.tab.o: m2-exp.tab.c |
| 934 | m2-exp.tab.c: m2-exp.y |
| 935 | $(BISON) $(YFLAGS) -o m2-exp.tmp $(srcdir)/m2-exp.y |
| 936 | -sed -e '/extern.*malloc/d' \ |
| 937 | -e '/extern.*realloc/d' \ |
| 938 | -e '/extern.*free/d' \ |
| 939 | -e '/include.*malloc.h/d' \ |
| 940 | -e 's/malloc/xmalloc/g' \ |
| 941 | -e 's/realloc/xrealloc/g' \ |
| 942 | -e '/^#line.*y.tab.c/d' \ |
| 943 | < m2-exp.tmp > m2-exp.new |
| 944 | -rm m2-exp.tmp |
| 945 | mv m2-exp.new ./m2-exp.tab.c |
| 946 | |
| 947 | # These files are updated atomically, so make never has to remove them |
| 948 | .PRECIOUS: m2-exp.tab.c f-exp.tab.c c-exp.tab.c |
| 949 | # start-sanitize-java |
| 950 | .PRECIOUS: jv-exp.tab.c |
| 951 | # end-sanitize-java |
| 952 | |
| 953 | lint: $(LINTFILES) |
| 954 | $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \ |
| 955 | `echo $(DEPFILES) | sed 's/\.o /\.c /g'` |
| 956 | |
| 957 | gdb.cxref: $(SFILES) |
| 958 | cxref -I. $(SFILES) >gdb.cxref |
| 959 | |
| 960 | force_update: |
| 961 | |
| 962 | # GNU Make has an annoying habit of putting *all* the Makefile variables |
| 963 | # into the environment, unless you include this target as a circumvention. |
| 964 | # Rumor is that this will be fixed (and this target can be removed) |
| 965 | # in GNU Make 4.0. |
| 966 | .NOEXPORT: |
| 967 | |
| 968 | # GNU Make 3.63 has a different problem: it keeps tacking command line |
| 969 | # overrides onto the definition of $(MAKE). This variable setting |
| 970 | # will remove them. |
| 971 | MAKEOVERRIDES= |
| 972 | |
| 973 | ## This is ugly, but I don't want GNU make to put these variables in |
| 974 | ## the environment. Older makes will see this as a set of targets |
| 975 | ## with no dependencies and no actions. |
| 976 | unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET : |
| 977 | |
| 978 | ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \ |
| 979 | 29k-share/udi/udi2go32.c \ |
| 980 | a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \ |
| 981 | altos-xdep.c arm-convert.s \ |
| 982 | arm-tdep.c arm-xdep.c coff-solib.c \ |
| 983 | convex-tdep.c convex-xdep.c \ |
| 984 | core-sol2.c core-regset.c core-aout.c corelow.c \ |
| 985 | dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \ |
| 986 | go32-xdep.c gould-tdep.c gould-xdep.c h8300-tdep.c h8500-tdep.c \ |
| 987 | hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c \ |
| 988 | hpread.c \ |
| 989 | i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \ |
| 990 | i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \ |
| 991 | i387-tdep.c \ |
| 992 | i960-tdep.c \ |
| 993 | infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \ |
| 994 | lynx-nat.c m3-nat.c \ |
| 995 | m68k-tdep.c \ |
| 996 | m88k-nat.c m88k-tdep.c mac-nat.c mips-nat.c \ |
| 997 | mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \ |
| 998 | nindy-share/Onindy.c nindy-share/nindy.c \ |
| 999 | nindy-share/ttyflush.c nindy-tdep.c \ |
| 1000 | ns32k-tdep.c ns32km3-nat.c osfsolib.c \ |
| 1001 | somread.c somsolib.c $(HPREAD_SOURCE) \ |
| 1002 | procfs.c pyr-tdep.c pyr-xdep.c \ |
| 1003 | remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \ |
| 1004 | remote-es.c remote-hms.c remote-mips.c \ |
| 1005 | remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \ |
| 1006 | remote-st.c remote-utils.c dcache.c \ |
| 1007 | remote-udi.c remote-vx.c remote-vx29k.c \ |
| 1008 | rs6000-nat.c rs6000-tdep.c \ |
| 1009 | ser-go32.c ser-ocd.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \ |
| 1010 | sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \ |
| 1011 | symm-tdep.c symm-nat.c \ |
| 1012 | tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \ |
| 1013 | vax-tdep.c \ |
| 1014 | vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \ |
| 1015 | win32-nat.c \ |
| 1016 | xcoffread.c xcoffsolib.c z8k-tdep.c |
| 1017 | |
| 1018 | udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders) |
| 1019 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c |
| 1020 | |
| 1021 | udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders) |
| 1022 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c |
| 1023 | |
| 1024 | udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) |
| 1025 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c |
| 1026 | |
| 1027 | a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) |
| 1028 | |
| 1029 | a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1030 | |
| 1031 | alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h |
| 1032 | |
| 1033 | alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1034 | $(inferior_h) $(symtab_h) $(dis-asm.h) gdb_string.h |
| 1035 | |
| 1036 | altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1037 | |
| 1038 | annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h) |
| 1039 | |
| 1040 | arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ |
| 1041 | $(gdbcore_h) |
| 1042 | |
| 1043 | bcache.o: bcache.c bcache.h $(defs_h) |
| 1044 | |
| 1045 | blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1046 | objfiles.h symfile.h target.h |
| 1047 | |
| 1048 | breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1049 | $(inferior_h) language.h target.h gdbthread.h gdb_string.h |
| 1050 | |
| 1051 | buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ |
| 1052 | objfiles.h symfile.h $(symtab_h) gdb_string.h |
| 1053 | |
| 1054 | c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1055 | language.h parser-defs.h $(symtab_h) |
| 1056 | |
| 1057 | c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \ |
| 1058 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ |
| 1059 | target.h typeprint.h $(value_h) gdb_string.h |
| 1060 | |
| 1061 | c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1062 | language.h $(symtab_h) valprint.h $(value_h) |
| 1063 | |
| 1064 | f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1065 | language.h parser-defs.h $(symtab_h) gdb_string.h |
| 1066 | |
| 1067 | f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \ |
| 1068 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ |
| 1069 | target.h typeprint.h $(value_h) gdb_string.h |
| 1070 | |
| 1071 | f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1072 | language.h $(symtab_h) valprint.h $(value_h) gdb_string.h |
| 1073 | |
| 1074 | ch-exp.o: ch-exp.c ch-lang.h $(defs_h) language.h parser-defs.h $(bfd_h) symfile.h objfiles.h $(value_h) |
| 1075 | |
| 1076 | ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1077 | language.h parser-defs.h $(symtab_h) |
| 1078 | |
| 1079 | ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \ |
| 1080 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ |
| 1081 | target.h $(value_h) typeprint.h gdb_string.h |
| 1082 | |
| 1083 | ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1084 | language.h $(symtab_h) valprint.h $(value_h) c-lang.h |
| 1085 | |
| 1086 | coff-solib.o: coff-solib.c $(defs_h) |
| 1087 | |
| 1088 | coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \ |
| 1089 | complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \ |
| 1090 | symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h \ |
| 1091 | gdb_string.h |
| 1092 | |
| 1093 | command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \ |
| 1094 | $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h $(wait_h) |
| 1095 | |
| 1096 | complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h) |
| 1097 | |
| 1098 | convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1099 | $(gdbcore_h) $(inferior_h) |
| 1100 | |
| 1101 | convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1102 | $(inferior_h) |
| 1103 | |
| 1104 | copying.o: copying.c $(defs_h) $(gdbcmd_h) |
| 1105 | |
| 1106 | core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h) |
| 1107 | |
| 1108 | core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \ |
| 1109 | $(inferior_h) target.h gdb_string.h |
| 1110 | |
| 1111 | core-regset.o: core-regset.c $(command_h) $(defs_h) $(gdbcore_h) \ |
| 1112 | $(inferior_h) target.h gdb_string.h |
| 1113 | |
| 1114 | corefile.o: corefile.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1115 | $(inferior_h) target.h language.h gdb_string.h |
| 1116 | |
| 1117 | corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1118 | target.h gdbthread.h gdb_string.h |
| 1119 | |
| 1120 | cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ |
| 1121 | $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h |
| 1122 | |
| 1123 | dcache.o: dcache.c $(dcache_h) $(defs_h) $(gdbcmd_h) gdb_string.h $(gdbcore_h) |
| 1124 | |
| 1125 | dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \ |
| 1126 | complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \ |
| 1127 | $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \ |
| 1128 | symfile.h $(symtab_h) target.h gdb_string.h |
| 1129 | |
| 1130 | delta68-nat.o: delta68-nat.c $(defs_h) |
| 1131 | |
| 1132 | demangle.o: demangle.c $(defs_h) $(gdbcmd_h) gdb_string.h |
| 1133 | |
| 1134 | dink32-rom.o: dink32-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1135 | $(inferior_h) target.h serial.h terminal.h |
| 1136 | |
| 1137 | dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) gdb_string.h |
| 1138 | |
| 1139 | dstread.o: dstread.c gdb_string.h |
| 1140 | |
| 1141 | dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ |
| 1142 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ |
| 1143 | $(symtab_h) gdb_string.h |
| 1144 | |
| 1145 | dwarf2read.o: dwarf2read.c $(bfd_h) buildsym.h $(defs_h) \ |
| 1146 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ |
| 1147 | $(symtab_h) gdb_string.h |
| 1148 | |
| 1149 | elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ |
| 1150 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h \ |
| 1151 | $(BFD_SRC)/elf-bfd.h $(INCLUDE_DIR)/elf/mips.h |
| 1152 | |
| 1153 | environ.o: environ.c $(defs_h) environ.h $(gdbcore_h) gdb_string.h |
| 1154 | |
| 1155 | eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \ |
| 1156 | $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \ |
| 1157 | gdb_string.h |
| 1158 | |
| 1159 | exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ |
| 1160 | target.h language.h gdb_string.h |
| 1161 | |
| 1162 | expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1163 | language.h parser-defs.h $(symtab_h) $(value_h) |
| 1164 | |
| 1165 | findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ |
| 1166 | gdb_string.h |
| 1167 | |
| 1168 | fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1169 | $(inferior_h) target.h terminal.h gdbthread.h gdb_string.h |
| 1170 | |
| 1171 | # start-sanitize-gdbtk |
| 1172 | gdbres.o: gdb.rc gdbtool.ico |
| 1173 | $(WINDRES) --include $(srcdir) $(srcdir)/gdb.rc gdbres.o |
| 1174 | |
| 1175 | gdbtk.o: gdbtk.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ |
| 1176 | $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h) |
| 1177 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ |
| 1178 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ |
| 1179 | $(srcdir)/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" |
| 1180 | |
| 1181 | gdbtk-cmds.o: gdbtk-cmds.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ |
| 1182 | $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h) |
| 1183 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ |
| 1184 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ |
| 1185 | $(srcdir)/gdbtk-cmds.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" |
| 1186 | |
| 1187 | gdbtk-hooks.o: gdbtk-hooks.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ |
| 1188 | $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h) |
| 1189 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ |
| 1190 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ |
| 1191 | $(srcdir)/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" |
| 1192 | |
| 1193 | tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \ |
| 1194 | $(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \ |
| 1195 | language.h gdb_string.h $(readline_headers) |
| 1196 | # end-sanitize-gdbtk |
| 1197 | |
| 1198 | v850ice.o: v850ice.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ |
| 1199 | $(frame_h) $(breakpoint_h) $(gdbcore_h) $(value_h) symfile.h \ |
| 1200 | gdb_string.h target.h objfiles.h |
| 1201 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ |
| 1202 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ |
| 1203 | $(srcdir)/v850ice.c |
| 1204 | |
| 1205 | gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h) |
| 1206 | |
| 1207 | gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \ |
| 1208 | $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \ |
| 1209 | $(value_h) gdb_string.h |
| 1210 | |
| 1211 | gnu-nat.o: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h \ |
| 1212 | exc_request_U.h msg_U.h gnu-nat.h |
| 1213 | |
| 1214 | go32-xdep.o: go32-xdep.c |
| 1215 | |
| 1216 | gould-tdep.o: gould-tdep.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \ |
| 1217 | $(gdbcore_h) $(symtab_h) |
| 1218 | |
| 1219 | gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1220 | |
| 1221 | h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h) |
| 1222 | |
| 1223 | h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \ |
| 1224 | $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \ |
| 1225 | $(value_h) |
| 1226 | |
| 1227 | hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1228 | |
| 1229 | hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1230 | $(inferior_h) objfiles.h symfile.h target.h |
| 1231 | |
| 1232 | hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h |
| 1233 | |
| 1234 | hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h |
| 1235 | |
| 1236 | i386gnu-nat.o: gnu-nat.h |
| 1237 | |
| 1238 | i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ |
| 1239 | gdb_string.h |
| 1240 | |
| 1241 | i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \ |
| 1242 | language.h $(gdbcore_h) $(floatformat_h) target.h |
| 1243 | |
| 1244 | i386b-nat.o: i386b-nat.c $(defs_h) |
| 1245 | |
| 1246 | i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h |
| 1247 | |
| 1248 | i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h $(gdbcore_h) |
| 1249 | |
| 1250 | i386m3-nat.o: i386m3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) target.h |
| 1251 | |
| 1252 | i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1253 | |
| 1254 | i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ |
| 1255 | $(inferior_h) language.h target.h |
| 1256 | |
| 1257 | i386v4-nat.o: i386v4-nat.c $(defs_h) |
| 1258 | |
| 1259 | i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ |
| 1260 | $(inferior_h) language.h |
| 1261 | |
| 1262 | i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \ |
| 1263 | $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h) |
| 1264 | |
| 1265 | infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \ |
| 1266 | $(inferior_h) target.h language.h gdb_string.h |
| 1267 | |
| 1268 | inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \ |
| 1269 | signals.h target.h terminal.h gdbthread.h gdb_string.h |
| 1270 | |
| 1271 | infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ |
| 1272 | gdb_string.h $(wait_h) $(command_h) |
| 1273 | |
| 1274 | infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1275 | $(inferior_h) target.h gdbthread.h gdb_string.h |
| 1276 | |
| 1277 | inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1278 | target.h terminal.h $(command_h) |
| 1279 | |
| 1280 | irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) |
| 1281 | irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) target.h \ |
| 1282 | $(symtab_h) symfile.h objfiles.h $(command_h) $(frame_h) gnu-regex.h \ |
| 1283 | language.h gdb_string.h |
| 1284 | |
| 1285 | isi-xdep.o: isi-xdep.c |
| 1286 | # start-sanitize-java |
| 1287 | |
| 1288 | jv-lang.o: jv-lang.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ |
| 1289 | $(expression_h) parser-defs.h language.h symfile.h objfiles.h \ |
| 1290 | gdb_string.h $(value_h) c-lang.h jv-lang.h $(gdbcore_h) |
| 1291 | |
| 1292 | jv-typeprint.o: jv-typeprint.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ |
| 1293 | $(value_h) $(INCLUDE_DIR)/demangle.h jv-lang.h gdb_string.h |
| 1294 | |
| 1295 | jv-valprint.o: jv-valprint.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ |
| 1296 | $(expression_h) $(value_h) $(INCLUDE_DIR)/demangle.h valprint.h \ |
| 1297 | language.h jv-lang.h c-lang.h |
| 1298 | # end-sanitize-java |
| 1299 | |
| 1300 | language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \ |
| 1301 | $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \ |
| 1302 | target.h $(value_h) gdb_string.h |
| 1303 | |
| 1304 | lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcore_h) \ |
| 1305 | target.h |
| 1306 | |
| 1307 | m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1308 | language.h m2-lang.h parser-defs.h $(symtab_h) |
| 1309 | |
| 1310 | m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ |
| 1311 | $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \ |
| 1312 | $(value_h) gdb_string.h |
| 1313 | |
| 1314 | m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \ |
| 1315 | valprint.h m2-lang.h |
| 1316 | |
| 1317 | m3-nat.o: m3-nat.c $(defs_h) $(inferior_h) $(value_h) language.h target.h \ |
| 1318 | $(wait_h) $(gdbcmd_h) $(gdbcore_h) |
| 1319 | |
| 1320 | m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \ |
| 1321 | $(gdbcore_h) gdb_string.h |
| 1322 | |
| 1323 | m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h |
| 1324 | |
| 1325 | m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \ |
| 1326 | $(language_h) $(gdbcore_h) $(floatformat_h) target.h |
| 1327 | |
| 1328 | m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1329 | |
| 1330 | m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1331 | |
| 1332 | mac-nat.o: mac-nat.c $(defs_h) gdb_string.h |
| 1333 | |
| 1334 | main.o: main.c top.h $(defs_h) gdb_string.h |
| 1335 | |
| 1336 | maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \ |
| 1337 | $(expression_h) objfiles.h symfile.h |
| 1338 | |
| 1339 | mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ |
| 1340 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ |
| 1341 | objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \ |
| 1342 | gdb_string.h |
| 1343 | |
| 1344 | mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h) |
| 1345 | |
| 1346 | os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ |
| 1347 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ |
| 1348 | objfiles.h stabsread.h symfile.h $(symtab_h) \ |
| 1349 | target.h gdb_string.h |
| 1350 | |
| 1351 | mem-break.o: mem-break.c $(defs_h) |
| 1352 | |
| 1353 | minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ |
| 1354 | $(symtab_h) gdb_string.h |
| 1355 | |
| 1356 | mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1357 | |
| 1358 | mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1359 | $(inferior_h) language.h objfiles.h symfile.h gdb_string.h |
| 1360 | |
| 1361 | mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ |
| 1362 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ |
| 1363 | objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \ |
| 1364 | gdb_string.h |
| 1365 | |
| 1366 | mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h |
| 1367 | |
| 1368 | monitor.o: monitor.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1369 | $(inferior_h) target.h serial.h terminal.h gdb_string.h |
| 1370 | |
| 1371 | news-xdep.o: news-xdep.c |
| 1372 | |
| 1373 | Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \ |
| 1374 | nindy-share/env.h |
| 1375 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c |
| 1376 | |
| 1377 | nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \ |
| 1378 | nindy-share/env.h |
| 1379 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c |
| 1380 | |
| 1381 | nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ |
| 1382 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h \ |
| 1383 | gdb_string.h |
| 1384 | |
| 1385 | ns32km3-nat.o: ns32km3-nat.c $(defs_h) $(inferior_h) |
| 1386 | |
| 1387 | ttyflush.o: nindy-share/ttyflush.c |
| 1388 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c |
| 1389 | |
| 1390 | nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(gdbcore_h) |
| 1391 | |
| 1392 | ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) |
| 1393 | |
| 1394 | objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ |
| 1395 | $(symtab_h) gdb_string.h |
| 1396 | |
| 1397 | osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1398 | objfiles.h gnu-regex.h symfile.h target.h language.h gdb_string.h |
| 1399 | |
| 1400 | somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ |
| 1401 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h |
| 1402 | |
| 1403 | somsolib.o: somsolib.c $(defs_h) |
| 1404 | |
| 1405 | hpux-thread.o: hpux-thread.c $(defs_h) gdbthread.h target.h inferior.h |
| 1406 | $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \ |
| 1407 | -I$(srcdir)/osf-share/HP800 -I/usr/include/dce $(srcdir)/hpux-thread.c |
| 1408 | |
| 1409 | hpread.o: hpread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ |
| 1410 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h |
| 1411 | |
| 1412 | parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \ |
| 1413 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ |
| 1414 | gdb_string.h |
| 1415 | |
| 1416 | ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) gdb_string.h $(frame_h) \ |
| 1417 | $(inferior_h) $(bfd_h) symfile.h target.h $(wait_h) $(gdbcmd_h) \ |
| 1418 | objfiles.h gdb-stabs.h serial.h ocd.h |
| 1419 | |
| 1420 | ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1421 | $(inferior_h) target.h serial.h terminal.h |
| 1422 | |
| 1423 | printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \ |
| 1424 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ |
| 1425 | symfile.h $(symtab_h) target.h gdb_string.h |
| 1426 | |
| 1427 | procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1428 | target.h gdb_string.h |
| 1429 | |
| 1430 | pyr-tdep.o: pyr-tdep.c $(defs_h) |
| 1431 | |
| 1432 | pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1433 | |
| 1434 | gnu-regex.o: gnu-regex.c gnu-regex.h $(defs_h) gdb_string.h |
| 1435 | |
| 1436 | remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1437 | $(inferior_h) target.h terminal.h gdb_string.h |
| 1438 | |
| 1439 | remote-array.o: remote-array.c $(wait_h) $(defs_h) $(gdbcore_h) target.h \ |
| 1440 | gdb_string.h $(command_h) serial.h monitor.h $(remote_utils_h) |
| 1441 | |
| 1442 | remote-rdi.o: remote-rdi.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1443 | $(inferior_h) gdb_string.h |
| 1444 | |
| 1445 | rdi-share/libangsd.a: force |
| 1446 | @dir=rdi-share; \ |
| 1447 | if [ -f ./$${dir}/Makefile ] ; then \ |
| 1448 | r=`pwd`; export r; \ |
| 1449 | srcroot=`cd $(srcdir); pwd`; export srcroot; \ |
| 1450 | (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ |
| 1451 | else \ |
| 1452 | true; \ |
| 1453 | fi |
| 1454 | |
| 1455 | remote-d10v.o: remote-d10v.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1456 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h |
| 1457 | |
| 1458 | remote-rdp.o: remote-rdp.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1459 | $(inferior_h) gdb_string.h |
| 1460 | |
| 1461 | remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1462 | $(inferior_h) target.h terminal.h $(remote_utils_h) gdb_string.h |
| 1463 | |
| 1464 | remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \ |
| 1465 | $(wait_h) serial.h gdb_string.h |
| 1466 | |
| 1467 | remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \ |
| 1468 | $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h \ |
| 1469 | gdb_string.h |
| 1470 | |
| 1471 | remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \ |
| 1472 | $(inferior_h) $(remote_utils_h) terminal.h gdb_string.h |
| 1473 | |
| 1474 | remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1475 | $(inferior_h) serial.h target.h terminal.h gdb_string.h |
| 1476 | |
| 1477 | remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1478 | $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h |
| 1479 | |
| 1480 | remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \ |
| 1481 | minimon.h target.h terminal.h gdb_string.h |
| 1482 | |
| 1483 | remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \ |
| 1484 | $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1485 | nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \ |
| 1486 | symfile.h |
| 1487 | |
| 1488 | remote-os9k.o: remote-os9k.c $(defs_h) $(gdbcore_h) $(wait_h) \ |
| 1489 | $(command_h) monitor.h $(remote_utils_h) $(symtab_h) symfile.h \ |
| 1490 | objfiles.h gdb-stabs.h gdb_string.h |
| 1491 | |
| 1492 | remote-sds.o: remote-sds.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1493 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h |
| 1494 | |
| 1495 | remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \ |
| 1496 | $(inferior_h) target.h terminal.h gdb_string.h \ |
| 1497 | $(INCLUDE_DIR)/callback.h |
| 1498 | |
| 1499 | remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \ |
| 1500 | target.h gdb_string.h |
| 1501 | |
| 1502 | remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1503 | $(inferior_h) target.h terminal.h $(udiheaders) gdb_string.h |
| 1504 | |
| 1505 | remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \ |
| 1506 | $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \ |
| 1507 | vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \ |
| 1508 | vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h) \ |
| 1509 | gdb_string.h |
| 1510 | |
| 1511 | remote-vx29k.o: remote-vx29k.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \ |
| 1512 | $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \ |
| 1513 | vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \ |
| 1514 | vx-share/xdr_rdb.h gdb_string.h |
| 1515 | |
| 1516 | ocd.o: ocd.c ocd.h $(gdbcore_h) gdb_string.h $(frame_h) $(inferior_h) \ |
| 1517 | $(bfd_h) symfile.h target.h $(wait_h) $(gdbcmd_h) objfiles.h \ |
| 1518 | gdb-stabs.h $(dcache_h) serial.h |
| 1519 | |
| 1520 | remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
| 1521 | $(inferior_h) $(remote_utils_h) gdb_string.h |
| 1522 | |
| 1523 | remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1524 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h |
| 1525 | |
| 1526 | remote-nrom.o: remote-nrom.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1527 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h |
| 1528 | |
| 1529 | rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1530 | $(inferior_h) target.h serial.h terminal.h |
| 1531 | |
| 1532 | rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h \ |
| 1533 | xcoffsolib.h |
| 1534 | |
| 1535 | rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1536 | target.h xcoffsolib.h |
| 1537 | |
| 1538 | scm-exp.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \ |
| 1539 | scm-lang.h scm-tags.h |
| 1540 | |
| 1541 | scm-lang.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \ |
| 1542 | scm-lang.h scm-tags.h gdb_string.h $(gdbcore_h) |
| 1543 | |
| 1544 | scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \ |
| 1545 | scm-lang.h valprint.h $(gdbcore_h) |
| 1546 | |
| 1547 | ser-go32.o: ser-go32.c $(defs_h) serial.h |
| 1548 | |
| 1549 | ser-mac.o: ser-mac.c $(defs_h) serial.h signals.h |
| 1550 | |
| 1551 | ser-ocd.o: ser-ocd.c $(defs_h) serial.h signals.h gdb_string.h |
| 1552 | |
| 1553 | ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h |
| 1554 | |
| 1555 | ser-unix.o: ser-unix.c $(defs_h) serial.h |
| 1556 | |
| 1557 | serial.o: serial.c $(defs_h) serial.h gdb_string.h |
| 1558 | |
| 1559 | sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \ |
| 1560 | $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \ |
| 1561 | $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h) |
| 1562 | |
| 1563 | sh3-rom.o: sh3-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1564 | $(inferior_h) target.h serial.h terminal.h |
| 1565 | |
| 1566 | mon960-rom.o: mon960-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ |
| 1567 | $(inferior_h) target.h serial.h terminal.h |
| 1568 | |
| 1569 | solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ |
| 1570 | objfiles.h gnu-regex.h symfile.h target.h gdb_string.h |
| 1571 | |
| 1572 | source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \ |
| 1573 | $(gdbcore_h) language.h objfiles.h gnu-regex.h symfile.h $(symtab_h) \ |
| 1574 | gdb_string.h |
| 1575 | |
| 1576 | sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(gdbcore_h) \ |
| 1577 | target.h |
| 1578 | |
| 1579 | sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ |
| 1580 | $(inferior_h) objfiles.h symfile.h target.h gdb_string.h |
| 1581 | |
| 1582 | sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h |
| 1583 | |
| 1584 | dsrec.o: dsrec.c $(defs_h) srec.h |
| 1585 | |
| 1586 | stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ |
| 1587 | $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \ |
| 1588 | $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h) \ |
| 1589 | gdb_string.h |
| 1590 | |
| 1591 | stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ |
| 1592 | language.h target.h gdb_string.h |
| 1593 | |
| 1594 | ax-general.o: ax-general.c $(ax_h) $(defs_h) |
| 1595 | ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) symfile.h $(gdbtypes_h) \ |
| 1596 | $(value_h) $(expression_h) $(command_h) $(ax_h) $(gdbcmd_h) ax-gdb.h |
| 1597 | |
| 1598 | sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1599 | |
| 1600 | sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) |
| 1601 | |
| 1602 | symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \ |
| 1603 | $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \ |
| 1604 | language.h objfiles.h symfile.h $(symtab_h) target.h \ |
| 1605 | gdb_string.h |
| 1606 | |
| 1607 | symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1608 | |
| 1609 | symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1610 | |
| 1611 | symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \ |
| 1612 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ |
| 1613 | $(symtab_h) gdb_string.h |
| 1614 | |
| 1615 | symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \ |
| 1616 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ |
| 1617 | gnu-regex.h symfile.h $(symtab_h) target.h $(value_h) \ |
| 1618 | gdb_string.h |
| 1619 | |
| 1620 | tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \ |
| 1621 | $(symtab_h) |
| 1622 | |
| 1623 | #start-sanitize-tic80 |
| 1624 | tic80-tdep.o: tic80-tdep.c $(defs_h) |
| 1625 | |
| 1626 | #end-sanitize-tic80 |
| 1627 | target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \ |
| 1628 | objfiles.h symfile.h target.h gdb_string.h |
| 1629 | |
| 1630 | thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h) |
| 1631 | |
| 1632 | top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \ |
| 1633 | $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \ |
| 1634 | $(remote_utils_h) gdb_string.h |
| 1635 | |
| 1636 | typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ |
| 1637 | $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ |
| 1638 | $(value_h) gdb_string.h |
| 1639 | |
| 1640 | ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1641 | |
| 1642 | ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1643 | |
| 1644 | umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
| 1645 | |
| 1646 | utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \ |
| 1647 | language.h signals.h target.h terminal.h $(readline_headers) \ |
| 1648 | gdb_string.h |
| 1649 | |
| 1650 | valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \ |
| 1651 | $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \ |
| 1652 | gdb_string.h |
| 1653 | |
| 1654 | valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ |
| 1655 | gdb_string.h |
| 1656 | |
| 1657 | valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ |
| 1658 | $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ |
| 1659 | $(value_h) gdb_string.h valprint.h |
| 1660 | |
| 1661 | values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \ |
| 1662 | $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h) \ |
| 1663 | gdb_string.h scm-lang.h |
| 1664 | |
| 1665 | vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h) |
| 1666 | |
| 1667 | w65-tdep.o : w65-tdep.c $(gdbcore_h) |
| 1668 | |
| 1669 | win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ |
| 1670 | gdb_string.h |
| 1671 | |
| 1672 | xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \ |
| 1673 | vx-share/vxWorks.h vx-share/xdr_ld.h |
| 1674 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c |
| 1675 | |
| 1676 | xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \ |
| 1677 | vx-share/vxWorks.h vx-share/xdr_ptrace.h |
| 1678 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c |
| 1679 | |
| 1680 | xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \ |
| 1681 | vx-share/vxWorks.h vx-share/xdr_rdb.h |
| 1682 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c |
| 1683 | |
| 1684 | xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ |
| 1685 | $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \ |
| 1686 | $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \ |
| 1687 | complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \ |
| 1688 | $(symtab_h) partial-stab.h gdb_string.h |
| 1689 | |
| 1690 | xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h |
| 1691 | |
| 1692 | z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \ |
| 1693 | $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(gdbcore_h) |
| 1694 | |
| 1695 | c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \ |
| 1696 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ |
| 1697 | $(bfd_h) objfiles.h symfile.h |
| 1698 | |
| 1699 | # start-sanitize-java |
| 1700 | jv-exp.tab.o: jv-exp.tab.c jv-lang.h $(defs_h) $(expression_h) \ |
| 1701 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ |
| 1702 | $(bfd_h) objfiles.h symfile.h |
| 1703 | |
| 1704 | # end-sanitize-java |
| 1705 | f-exp.tab.o: f-exp.tab.c f-lang.h $(defs_h) $(expression_h) \ |
| 1706 | language.h parser-defs.h $(value_h) $(bfd_h) objfiles.h symfile.h |
| 1707 | |
| 1708 | m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
| 1709 | language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \ |
| 1710 | $(bfd_h) objfiles.h symfile.h |
| 1711 | |
| 1712 | ### end of the gdb Makefile.in. |