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