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