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