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