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