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