* Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are
[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) \
191 $(BFD) $(READLINE) $(OPCODES) $(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 NLMCONV_FOR_TARGET = ` \
296 if [ -f $${rootme}/../binutils/nlmconv ] ; then \
297 echo $${rootme}/../binutils/nlmconv; \
298 else \
299 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
300 echo $(NLMCONV); \
301 else \
302 t='$(program_transform_name)'; echo nlmconv | sed -e '' $$t; \
303 fi; \
304 fi`
305
306 LD_FOR_TARGET = ` \
307 if [ -f $${rootme}/../ld/ld.new ] ; then \
308 echo $${rootme}/../ld/ld.new; \
309 else \
310 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
311 echo $(LD); \
312 else \
313 t='$(program_transform_name)'; echo ld | sed -e '' $$t; \
314 fi; \
315 fi`
316
317 # The use of $$(x_FOR_TARGET) reduces the command line length by not
318 # duplicating the lengthy definition.
319 TARGET_FLAGS_TO_PASS = \
320 "prefix=$(prefix)" \
321 "exec_prefix=$(exec_prefix)" \
322 "against=$(against)" \
323 "BISON=$(BISON)" \
324 'CC=$$(CC_FOR_TARGET)' \
325 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
326 "CFLAGS=$(CFLAGS)" \
327 "CHILLFLAGS=$(CHILLFLAGS)" \
328 'CHILL=$$(CHILL_FOR_TARGET)' \
329 "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
330 "CHILL_LIB=$(CHILL_LIB)" \
331 'CXX=$$(CXX_FOR_TARGET)' \
332 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
333 "CXXFLAGS=$(CXXFLAGS)" \
334 "INSTALL=$(INSTALL)" \
335 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
336 "INSTALL_DATA=$(INSTALL_DATA)" \
337 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
338 "MAKEINFO=$(MAKEINFO)" \
339 "NLMCONV_FOR_TARGET=$(NLMCONV_FOR_TARGET)" \
340 "RUNTEST=$(RUNTEST)" \
341 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
342
343 # All source files that go into linking GDB.
344 # Links made at configuration time should not be specified here, since
345 # SFILES is used in building the distribution archive.
346
347 SFILES = blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c \
348 c-typeprint.c c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c \
349 ch-valprint.c coffread.c command.c complaints.c core.c cp-valprint.c \
350 dbxread.c demangle.c dwarfread.c \
351 elfread.c environ.c eval.c expprint.c \
352 f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
353 gdbtypes.c infcmd.c inflow.c infrun.c language.c \
354 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
355 mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
356 printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
357 symtab.c target.c thread.c top.c \
358 typeprint.c utils.c valarith.c valops.c \
359 valprint.c values.c serial.c ser-unix.c mdebugread.c os9kread.c
360
361 # All source files that lint should look at
362 LINTFILES = $(SFILES) $(YYFILES) init.c
363
364 # "system" headers. Using these in dependencies is a rather personal
365 # choice. (-rich, summer 1993)
366 # (Why would we not want to depend on them? If one of these changes in a
367 # non-binary-compatible way, it is a real pain to remake the right stuff
368 # without these dependencies -kingdon, 13 Mar 1994)
369 getopt_h = $(INCLUDE_DIR)/getopt.h
370 floatformat_h = $(INCLUDE_DIR)/floatformat.h
371 bfd_h = $(BFD_DIR)/bfd.h
372 wait_h = $(INCLUDE_DIR)/wait.h
373 dis-asm_h = $(INCLUDE_DIR)/dis-asm.h
374
375 dcache_h = dcache.h
376 remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h remote-sim.h
377
378 readline_headers = \
379 $(READLINE_SRC)/chardefs.h \
380 $(READLINE_SRC)/history.h \
381 $(READLINE_SRC)/keymaps.h \
382 $(READLINE_SRC)/readline.h
383
384 udiheaders = \
385 $(srcdir)/29k-share/udi/udiproc.h \
386 $(srcdir)/29k-share/udi/udiphcfg.h \
387 $(srcdir)/29k-share/udi/udiphunix.h \
388 $(srcdir)/29k-share/udi/udiptcfg.h \
389 $(srcdir)/29k-share/udi/udipt29k.h \
390 $(srcdir)/29k-share/udi/udisoc.h
391
392 gdbcore_h = gdbcore.h $(bfd_h)
393
394 frame_h = frame.h
395 symtab_h = symtab.h
396 gdbtypes_h = gdbtypes.h
397 expression_h = expression.h
398 value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
399
400 breakpoint_h = breakpoint.h $(frame_h) $(value_h)
401
402 command_h = command.h
403 gdbcmd_h = gdbcmd.h $(command_h)
404
405 defs_h = defs.h xm.h tm.h nm.h config.status
406
407 inferior_h = inferior.h $(breakpoint_h)
408
409 # Header files that need to have srcdir added. Note that in the cases
410 # where we use a macro like $(gdbcmd_h), things are carefully arranged
411 # so that each .h file is listed exactly once (M-x tags-search works
412 # wrong if TAGS has files twice). Because this is tricky to get
413 # right, it is probably easiest just to list .h files here directly.
414
415 HFILES_NO_SRCDIR = buildsym.h call-cmds.h coff-solib.h defs.h dst.h environ.h \
416 $(gdbcmd_h) gdbcore.h \
417 gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
418 objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
419 symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
420 c-lang.h ch-lang.h f-lang.h m2-lang.h \
421 complaints.h valprint.h \
422 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
423 nindy-share/block_io.h nindy-share/coff.h \
424 nindy-share/env.h nindy-share/stop.h \
425 vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
426 vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
427 vx-share/xdr_ptrace.h vx-share/xdr_rdb.h thread.h \
428 dcache.h remote-utils.h remote-sim.h top.h
429
430 # Header files that already have srcdir in them, or which are in objdir.
431
432 HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h
433
434
435 # GDB "info" files, which should be included in their entirety
436 INFOFILES = gdb.info*
437
438 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
439
440 POSSLIBS = regex.c regex.h
441
442 # Subdirectories of gdb, which should be included in their entirety in
443 # gdb-xxx.tar.Z:
444 TARDIRS = doc gdbserver sparclite
445
446 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
447 # default their values the way we do for SER_HARDWIRE; in the future
448 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
449 # variables analogous to SER_HARDWIRE which get defaulted in this
450 # Makefile.in
451
452 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) $(REMOTE_O) \
453 $(ENABLE_DEPFILES)
454
455 SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
456 # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
457 # and it's more useful to see it in the .y file.
458 TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
459 $(POSSLIBS)
460 TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
461
462 COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
463 source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
464 symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
465 expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
466 mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
467 exec.o objfiles.o minsyms.o maint.o demangle.o \
468 dbxread.o coffread.o elfread.o \
469 dwarfread.o mipsread.o stabsread.o core.o \
470 c-lang.o ch-lang.o f-lang.o m2-lang.o \
471 complaints.o typeprint.o \
472 c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \
473 c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
474 nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o
475
476 OBS = $(COMMON_OBS) $(ANNOTATE_OBS) main.o
477
478 LIBGDB_OBS =
479
480 TSOBS = inflow.o
481
482 NTSOBS = standalone.o
483
484 NTSSTART = kdb-start.o
485
486 SUBDIRS = doc testsuite nlm
487
488 # For now, shortcut the "configure GDB for fewer languages" stuff.
489 YYFILES = c-exp.tab.c f-exp.tab.c m2-exp.tab.c ch-exp.tab.c
490 YYOBJ = c-exp.tab.o f-exp.tab.o m2-exp.tab.o ch-exp.tab.o
491
492 # Things which need to be built when making a distribution.
493
494 DISTSTUFF = $(YYFILES)
495
496 # Prevent Sun make from putting in the machine type. Setting
497 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
498 .c.o:
499 $(CC) -c $(INTERNAL_CFLAGS) $<
500
501 all: gdb libgdb-files $(LIBGDB_OBS)
502 @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
503
504 installcheck:
505
506 # The check target can not use subdir_do, because subdir_do does not
507 # use TARGET_FLAGS_TO_PASS.
508 check: force
509 @if [ -f testsuite/Makefile ]; then \
510 rootme=`pwd`; export rootme; \
511 rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
512 cd testsuite; \
513 $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
514 else true; fi
515
516 info dvi install-info clean-info: force
517 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
518
519 gdb.z:gdb.1
520 nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
521 pack gdb.t ; rm -f gdb.t
522 mv gdb.t.z gdb.z
523
524 # Traditionally "install" depends on "all". But it may be useful
525 # not to; for example, if the user has made some trivial change to a
526 # source file and doesn't care about rebuilding or just wants to save the
527 # time it takes for make to check that all is up to date.
528 # install-only is intended to address that need.
529 install: all install-only
530 install-only:
531 transformed_name=`t='$(program_transform_name)'; \
532 echo gdb | sed -e "s/brokensed/brokensed/" $$t` ; \
533 if test "x$$transformed_name" = x; then \
534 transformed_name=gdb ; \
535 else \
536 true ; \
537 fi ; \
538 $(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
539 $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
540 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
541
542 uninstall: force
543 rm -f $(bindir)/gdb $(man1dir)/gdb.1
544 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
545
546 # We do this by grepping through sources. If that turns out to be too slow,
547 # maybe we could just require every .o file to have an initialization routine
548 # of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
549 #
550 # Formatting conventions: The name of the _initialize_* routines must start
551 # in column zero, and must not be inside #if.
552 #
553 # Note that the set of files with init functions might change, or the names
554 # of the functions might change, so this files needs to depend on all the
555 # object files that will be linked into gdb.
556
557 init.c: $(OBS) $(TSOBS)
558 @echo Making init.c
559 @rm -f init.c-tmp
560 @echo '/* Do not modify this file. */' >init.c-tmp
561 @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
562 @echo 'void initialize_all_files () {' >>init.c-tmp
563 @for i in $(OBS) $(TSOBS); do \
564 filename=`echo $$i | sed \
565 -e '/^Onindy.o/d' \
566 -e '/^nindy.o/d' \
567 -e '/ttyflush.o/d' \
568 -e '/xdr_ld.o/d' \
569 -e '/xdr_ptrace.o/d' \
570 -e '/xdr_rdb.o/d' \
571 -e '/udr.o/d' \
572 -e '/udip2soc.o/d' \
573 -e '/udi2go32.o/d' \
574 -e '/version.o/d' \
575 -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
576 -e 's/\.o/.c/'` ; \
577 case $$filename in \
578 "") ;; \
579 *) sed <$(srcdir)/$$filename >>init.c-tmp -n \
580 -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/ {extern void \1 (); \1 ();}/p' ; ;; \
581 esac ; \
582 done
583 @echo '}' >>init.c-tmp
584 @mv init.c-tmp init.c
585
586 .PRECIOUS: init.c
587
588 # Removing the old gdb first works better if it is running, at least on SunOS.
589 gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
590 rm -f gdb
591 $(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \
592 init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
593
594 nlm: force
595 rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
596
597 # libproc is not listed here because all-libproc is a dependency of all-gui,
598 # not all-gdb, and thus might be built after us.
599 LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
600 # libproc needs to be before libiberty for alloca.
601 LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \
602 $(ADD_DEPS) $(CDEPS) init.o
603
604 libgdb-files: $(LIBGDBDEPS) Makefile.in
605 -rm -f libgdb-files
606 for i in $(LIBGDBFILES); do\
607 echo $$i >> libgdb-files;\
608 done
609
610 saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
611 #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
612 #load ./init.c $(SFILES)
613 #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y $(srcdir)/ch-exp.y
614 #unload vx-share/*.h
615 #unload nindy-share/[A-Z]*
616 #load c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
617 #load copying.c version.c
618 #load ../opcodes/libopcodes.a
619 #load ../libiberty/libiberty.a
620 #load ../bfd/libbfd.a
621 #load ../readline/libreadline.a
622 #load ../mmalloc/libmmalloc.a
623 #load -ltermcap
624 #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
625 echo "Load .c corresponding to:" $(DEPFILES)
626
627
628 # A Mach 3.0 program to force gdb back to command level
629
630 stop-gdb: stop-gdb.o
631 ${CC-LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
632 stop-gdb.o $(CLIBS) $(LOADLIBES)
633
634 # This is useful when debugging GDB, because some Unix's don't let you run GDB
635 # on itself without copying the executable. So "make gdb1" will make
636 # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
637 # Removing gdb1 before the copy is the right thing if gdb1 is open
638 # in another process.
639 gdb1: gdb
640 rm -f gdb1
641 cp gdb gdb1
642
643 config.status:
644 @echo "You must configure gdb. Look at the README file for details."
645 @false
646
647 ### fixme - this can't be right.
648 # This checks the configure.in file versus the config/ directory.
649 config-check: config-check-hosts config-check-targets
650 config-check-hosts:
651 grep gdb_host= $(srcdir)/configure.in | \
652 sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
653 (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
654 diff -u HOSTconf.o HOSTdir.o
655
656 ### fixme - nor can this.
657 config-check-targets:
658 grep gdb_target= $(srcdir)/configure.in | \
659 sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
660 (cd $(srcdir)/config; ls *.mt) >TARGdir.o
661 diff -u HOSTconf.o HOSTdir.o
662
663 # FIXME. These are not generated by "make depend" because they only are there
664 # for some machines.
665 # But these rules don't do what we want; we want to hack the foo.o: tm.h
666 # dependency to do the right thing.
667 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
668 tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
669 xm-news1000.h: xm-news.h
670 xm-i386-sv32.h: xm-i386.h
671 tm-i386gas.h: tm-i386.h
672 xm-sun4os4.h: xm-sparc.h
673 tm-sun4os4.h: tm-sparc.h
674 xm-vaxult.h: xm-vax.h
675 xm-vaxbsd.h: xm-vax.h
676
677 kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
678 ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
679 -lc $(CLIBS)
680
681 # Put the proper machine-specific files first, so M-. on a machine
682 # specific routine gets the one for the correct machine. (FIXME: those
683 # files go in twice; we should be removing them from the main list).
684
685 # TAGS depends on all the files that go into it so you can rebuild TAGS
686 # with `make TAGS' and not have to say `rm TAGS' first.
687
688 TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
689 @echo Making TAGS
690 @etags $(srcdir)/$(TM_FILE) \
691 $(srcdir)/$(XM_FILE) \
692 $(srcdir)/$(NAT_FILE) \
693 `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
694 echo $(srcdir)/$$i ; \
695 done ; for i in $(TAGFILES_WITH_SRCDIR); do \
696 echo $$i ; \
697 done) | sed -e 's/\.o$$/\.c/'` \
698 `find $(srcdir)/config -name '*.h' -print`
699
700 tags: TAGS
701
702 clean mostlyclean:
703 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
704 rm -f *.o $(ADD_FILES) *~ init.c-tmp
705 rm -f init.c version.c
706 rm -f gdb core make.log libgdb-files
707 rm -f gdb[0-9]
708
709 # This used to depend on c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
710 # I believe this is wrong; the makefile standards for distclean just
711 # describe removing files; the only sort of "re-create a distribution"
712 # functionality described is if the distributed files are unmodified.
713 distclean: clean
714 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
715 rm -f nm.h tm.h xm.h config.status
716 rm -f y.output yacc.acts yacc.tmp y.tab.h
717 rm -f Makefile
718
719 realclean: clean
720 @$(MAKE) $(FLAGS_TO_PASS) DO=realclean "DODIRS=$(SUBDIRS)" subdir_do
721 rm -f c-exp.tab.c f-exp.tab.c m2-exp.tab.c ch-exp.tab.c
722 rm -f TAGS $(INFOFILES)
723 rm -f nm.h tm.h xm.h config.status
724 rm -f y.output yacc.acts yacc.tmp
725 rm -f Makefile
726
727 diststuff: $(DISTSTUFF)
728 (cd doc; $(MAKE) $(MFLAGS) GDBvn.texi)
729 $(MAKE) $(MFLAGS) gdb.info
730 $(MAKE) $(MFLAGS) refcard.ps
731
732 subdir_do: force
733 @for i in $(DODIRS); do \
734 if [ -f ./$$i/Makefile ] ; then \
735 if (cd ./$$i; \
736 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
737 else exit 1 ; fi ; \
738 else true ; fi ; \
739 done
740
741 Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
742 $(SHELL) config.status
743
744 force:
745
746 # Documentation!
747 # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
748 refcard.dvi:
749 ( cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) )
750 mv doc/refcard.dvi .
751
752 # GDB QUICK REFERENCE (PostScript output, common PS fonts)
753 refcard.ps:
754 ( cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) )
755 mv doc/refcard.ps .
756
757 # GDB MANUAL: TeX dvi file
758 gdb.dvi:
759 ( cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) )
760 mv doc/gdb.dvi .
761
762 # GDB MANUAL: info file
763 gdb.info:
764 ( cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) )
765 mv doc/gdb.info* .
766
767 # Make copying.c from COPYING
768 copying.c: COPYING copying.awk
769 awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
770
771 version.c: Makefile
772 echo 'char *version = "$(VERSION)";' >version.c
773 echo 'char *host_name = "$(host_alias)";' >> version.c
774 echo 'char *target_name = "$(target_alias)";' >> version.c
775
776 # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
777 # in srcdir, then compiled in objdir to c-exp.tab.o.
778
779 # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
780 # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
781
782 # Remove bogus decls for malloc/realloc/free which conflict with everything
783 # else. Strictly speaking c-exp.tab.c should therefore depend on
784 # Makefile.in, but that was a pretty big annoyance.
785 c-exp.tab.o: c-exp.tab.c
786 c-exp.tab.c: c-exp.y
787 $(YACC) $(YFLAGS) $(srcdir)/c-exp.y
788 -sed -e '/extern.*malloc/d' \
789 -e '/extern.*realloc/d' \
790 -e '/extern.*free/d' \
791 -e '/include.*malloc.h/d' \
792 -e 's/malloc/xmalloc/g' \
793 -e 's/realloc/xrealloc/g' \
794 < y.tab.c > c-exp.new
795 -rm y.tab.c
796 mv c-exp.new ./c-exp.tab.c
797
798 f-exp.tab.o: f-exp.tab.c
799 f-exp.tab.c: f-exp.y c-exp.tab.c
800 $(YACC) $(YFLAGS) $(srcdir)/f-exp.y
801 -sed -e '/extern.*malloc/d' \
802 -e '/extern.*realloc/d' \
803 -e '/extern.*free/d' \
804 -e '/include.*malloc.h/d' \
805 -e 's/malloc/xmalloc/g' \
806 -e 's/realloc/xrealloc/g' \
807 < y.tab.c > f-exp.new
808 -rm y.tab.c
809 mv f-exp.new ./f-exp.tab.c
810
811 # ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
812 # in srcdir, then compiled in objdir to ch-exp.tab.o.
813 # Remove bogus decls for malloc/realloc/free which conflict with everything
814 # else.
815 ch-exp.tab.o: ch-exp.tab.c
816 # the dependency here on f-exp.tab.c is artificial. Without this
817 # dependency, a parallel make will attempt to build both at the same
818 # time and the second yacc will pollute the first y.tab.c file.
819 ch-exp.tab.c: ch-exp.y f-exp.tab.c
820 $(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
821 -sed -e '/extern.*malloc/d' \
822 -e '/extern.*realloc/d' \
823 -e '/extern.*free/d' \
824 -e '/include.*malloc.h/d' \
825 -e 's/malloc/xmalloc/g' \
826 -e 's/realloc/xrealloc/g' \
827 < y.tab.c > ch-exp.new
828 -rm y.tab.c
829 mv ch-exp.new ./ch-exp.tab.c
830
831 # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
832 # in srcdir, then compiled in objdir to m2-exp.tab.o.
833 # Remove bogus decls for malloc/realloc/free which conflict with everything
834 # else.
835 m2-exp.tab.o: m2-exp.tab.c
836 # the dependency here on ch-exp.tab.c is artificial. Without this
837 # dependency, a parallel make will attempt to build both at the same
838 # time and the second yacc will pollute the first y.tab.c file.
839 m2-exp.tab.c: m2-exp.y ch-exp.tab.c
840 $(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
841 -sed -e '/extern.*malloc/d' \
842 -e '/extern.*realloc/d' \
843 -e '/extern.*free/d' \
844 -e '/include.*malloc.h/d' \
845 -e 's/malloc/xmalloc/g' \
846 -e 's/realloc/xrealloc/g' \
847 < y.tab.c > m2-exp.new
848 -rm y.tab.c
849 mv m2-exp.new ./m2-exp.tab.c
850
851 # These files are updated atomically, so make never has to remove them
852 .PRECIOUS: m2-exp.tab.c ch-exp.tab.c f-exp.tab.c c-exp.tab.c
853
854 lint: $(LINTFILES)
855 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
856 `echo $(DEPFILES) | sed 's/\.o /\.c /g'
857
858 gdb.cxref: $(SFILES)
859 cxref -I. $(SFILES) >gdb.cxref
860
861 force_update:
862
863 # GNU Make has an annoying habit of putting *all* the Makefile variables
864 # into the environment, unless you include this target as a circumvention.
865 # Rumor is that this will be fixed (and this target can be removed)
866 # in GNU Make 4.0.
867 .NOEXPORT:
868
869 # GNU Make 3.63 has a different problem: it keeps tacking command line
870 # overrides onto the definition of $(MAKE). This variable setting
871 # will remove them.
872 MAKEOVERRIDES=
873
874 ## This is ugly, but I don't want GNU make to put these variables in
875 ## the environment. Older makes will see this as a set of targets
876 ## with no dependencies and no actions.
877 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
878
879 # These are things from config/*/*.m? fragments. There is no good reason
880 # why they are separate from the lists of files above.
881
882 HPREAD_SOURCE=
883 # start-sanitize-hpread
884 HPREAD_SOURCE=hpread.c
885 # end-sanitize-hpread
886
887 ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
888 29k-share/udi/udi2go32.c \
889 a29k-pinsn.c a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
890 altos-xdep.c arm-convert.s \
891 arm-pinsn.c arm-tdep.c arm-xdep.c coff-solib.c convex-pinsn.c \
892 convex-tdep.c \
893 convex-xdep.c core-sol2.c core-svr4.c coredep.c corelow.c dcache.c \
894 delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
895 go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
896 hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
897 i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
898 i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
899 i387-tdep.c \
900 i960-pinsn.c i960-tdep.c \
901 infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
902 lynx-nat.c m3-nat.c \
903 m68k-pinsn.c m68k-tdep.c \
904 m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
905 mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \
906 nindy-share/Onindy.c nindy-share/nindy.c \
907 nindy-share/ttyflush.c nindy-tdep.c \
908 ns32k-pinsn.c ns32km3-nat.c osfsolib.c \
909 somread.c $(HPREAD_SOURCE) procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
910 remote-adapt.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c \
911 remote-hms.c remote-mips.c \
912 remote-mm.c remote-mon.c remote-nindy.c remote-os9k.c remote-sim.c \
913 remote-st.c remote-utils.c dcache.c \
914 remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
915 rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
916 sparc-pinsn.c sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
917 symm-tdep.c symm-nat.c \
918 tahoe-pinsn.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
919 vax-pinsn.c \
920 vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
921 xcoffread.c xcoffsolib.c z8k-tdep.c
922
923 ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
924 config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
925 config/alpha/alpha-osf1.mh config/alpha/alpha-osf1.mt \
926 config/alpha/alpha-nw.mt \
927 config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
928 config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
929 config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
930 config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
931 config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
932 config/i386/i386bsd.mt config/i386/i386lynx.mh \
933 config/i386/i386lynx.mt config/i386/i386m3.mh config/i386/i386m3.mt \
934 config/i386/i386mach.mh config/i386/i386mk.mh config/i386/i386mk.mt \
935 config/i386/i386nw.mt config/i386/i386sco.mh \
936 config/i386/i386sco4.mh \
937 config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
938 config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
939 config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
940 config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
941 config/i386/sun386.mh \
942 config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
943 config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
944 config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
945 config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
946 config/m68k/apollo68b.mt \
947 config/m68k/apollo68v.mh \
948 config/m68k/cisco.mt config/m68k/delta68.mh \
949 config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
950 config/m68k/es1800.mt config/m68k/hp300bsd.mh \
951 config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
952 config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
953 config/m68k/m68klynx.mh config/m68k/m68klynx.mt \
954 config/m68k/monitor.mt \
955 config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
956 config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
957 config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
958 config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
959 config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
960 config/m88k/delta88.mt config/m88k/delta88v4.mh \
961 config/m88k/delta88v4.mt config/m88k/m88k.mh config/m88k/m88k.mt \
962 config/mips/bigmips.mt config/mips/bigmips64.mt \
963 config/mips/decstation.mh \
964 config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
965 config/mips/idt64.mt config/mips/idtl64.mt \
966 config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
967 config/mips/irix5.mh config/mips/irix5.mt \
968 config/mips/littlemips.mh config/mips/littlemips.mt \
969 config/mips/mipsel64.mt \
970 config/mips/mipsm3.mh config/mips/mipsm3.mt \
971 config/mips/mipsv4.mh config/mips/mipsv4.mt \
972 config/mips/news-mips.mh config/mips/riscos.mh \
973 config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
974 config/ns32k/merlin.mt config/ns32k/ns32km3.mh config/ns32k/ns32km3.mt \
975 config/ns32k/umax.mh config/ns32k/umax.mt \
976 config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
977 config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
978 config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
979 config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
980 config/sparc/sparclynx.mh config/sparc/sparclynx.mt \
981 config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
982 config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
983 config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
984 config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
985 config/vax/vaxult2.mh config/z8k/z8ksim.mt
986
987
988 udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
989 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
990
991 udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
992 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
993
994 udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
995 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
996
997 a29k-pinsn.o: a29k-pinsn.c $(bfd_h) $(dis-asm_h)
998 a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
999 a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1000
1001 alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1002
1003 alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1004 $(inferior_h) $(symtab_h) $(dis-asm.h)
1005
1006 altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1007
1008 annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h)
1009
1010 arm-pinsn.o: arm-pinsn.c $(OP_INCLUDE)/arm.h $(defs_h) $(symtab_h)
1011
1012 blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1013 objfiles.h symfile.h target.h
1014
1015 breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1016 $(inferior_h) language.h target.h thread.h
1017
1018 buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1019 objfiles.h symfile.h $(symtab_h)
1020
1021 c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1022 language.h parser-defs.h $(symtab_h)
1023
1024 c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
1025 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1026 typeprint.h $(value_h)
1027
1028 c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1029 language.h $(symtab_h) valprint.h $(value_h)
1030
1031 f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1032 language.h parser-defs.h $(symtab_h)
1033
1034 f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \
1035 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1036 typeprint.h $(value_h)
1037
1038 f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1039 language.h $(symtab_h) valprint.h $(value_h)
1040
1041 ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
1042 language.h parser-defs.h $(symtab_h)
1043
1044 ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
1045 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
1046 target.h $(value_h) typeprint.h
1047
1048 ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1049 language.h $(symtab_h) valprint.h $(value_h) c-lang.h
1050
1051 coff-solib.o: coff-solib.c $(defs_h)
1052
1053 coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
1054 complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
1055 symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h
1056
1057 command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1058 $(gdbtypes_h) $(symtab_h) $(value_h)
1059
1060 complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
1061
1062 convex-pinsn.o: convex-pinsn.c $(OP_INCLUDE)/convex.h $(defs_h) \
1063 $(symtab_h)
1064
1065 convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1066 $(gdbcore_h) $(inferior_h)
1067
1068 convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1069 $(inferior_h)
1070
1071 core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \
1072 $(inferior_h) target.h
1073
1074 core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \
1075 $(inferior_h) target.h
1076
1077 core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1078 $(inferior_h) target.h language.h
1079
1080 coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h)
1081
1082 corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1083 target.h thread.h
1084
1085 cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1086 $(gdbtypes_h) $(symtab_h) $(value_h)
1087
1088 dcache.o: dcache.c $(dcache_h)
1089
1090 dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
1091 complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
1092 $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
1093 symfile.h $(symtab_h) target.h
1094
1095 dcache.o: dcache.c $(dcache_h)
1096
1097 delta68-nat.o: delta68-nat.c $(defs_h)
1098
1099 demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
1100
1101 dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1102 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1103 $(symtab_h)
1104
1105 elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1106 gdb-stabs.h objfiles.h symfile.h $(symtab_h)
1107
1108 environ.o: environ.c $(defs_h) environ.h $(gdbcore_h)
1109
1110 eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1111 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1112
1113 exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1114 target.h language.h
1115
1116 expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1117 language.h parser-defs.h $(symtab_h) $(value_h)
1118
1119 findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1120
1121 fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
1122 $(inferior_h) target.h terminal.h thread.h
1123
1124 gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
1125 $(bfd_h) symfile.h objfiles.h target.h
1126 $(CC) -c $(INTERNAL_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(srcdir)/gdbtk.c \
1127 -DGDBTK_FILENAME=\"$(libdir)/gdbtk.tcl\"
1128
1129 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
1130 $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
1131 $(value_h)
1132
1133 go32-xdep.o: go32-xdep.c
1134
1135 gould-pinsn.o: gould-pinsn.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
1136 $(gdbcore_h) $(symtab_h)
1137
1138 gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1139 h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1140
1141 h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
1142 $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
1143 $(value_h)
1144
1145 hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1146 hppa-pinsn.o: hppa-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1147
1148 hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1149 $(inferior_h) objfiles.h symfile.h target.h
1150
1151 hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1152 hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1153 i386-pinsn.o: i386-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1154 i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1155 i386b-nat.o: i386b-nat.c $(defs_h)
1156 i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1157 i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h
1158 i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1159
1160 i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1161 $(inferior_h) language.h target.h
1162
1163 i386v4-nat.o: i386v4-nat.c $(defs_h)
1164
1165 i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1166 $(inferior_h) language.h
1167
1168 i960-pinsn.o: i960-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1169
1170 i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
1171 $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1172
1173 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
1174 $(inferior_h) target.h language.h
1175
1176 inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
1177 signals.h target.h terminal.h thread.h
1178
1179 infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1180
1181 infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1182 $(inferior_h) target.h thread.h
1183
1184 inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1185 target.h terminal.h $(command_h)
1186
1187 irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h)
1188 isi-xdep.o: isi-xdep.c
1189
1190 language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
1191 $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
1192 target.h $(value_h)
1193
1194 m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1195 language.h m2-lang.h parser-defs.h $(symtab_h)
1196
1197 m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1198 $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
1199 $(value_h)
1200
1201 m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
1202 valprint.h
1203
1204 m68k-pinsn.o: m68k-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1205 m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1206 m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
1207 m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1208 m88k-pinsn.o: m88k-pinsn.c $(defs_h) $(symtab_h)
1209 m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1210
1211 top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
1212 $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
1213 $(remote_utils_h)
1214
1215 main.o: main.c top.h $(defs_h)
1216
1217 maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
1218 $(expression_h)
1219
1220 mdebugread.o: mdebugread.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)
1223
1224 os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(def_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 mem-break.o: mem-break.c $(defs_h)
1229
1230 minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1231 $(symtab_h)
1232
1233 mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1234 mips-pinsn.o: mips-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1235
1236 mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1237 $(inferior_h) language.h objfiles.h symfile.h
1238
1239 mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
1240 $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
1241 objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
1242
1243 mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1244
1245 news-xdep.o: news-xdep.c
1246
1247 Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
1248 nindy-share/env.h
1249 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
1250
1251 nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
1252 nindy-share/env.h
1253 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
1254
1255 nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1256 gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h
1257
1258 ttyflush.o: nindy-share/ttyflush.c
1259 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
1260
1261 nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)
1262
1263 ns32k-pinsn.o: ns32k-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1264
1265 objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
1266 $(symtab_h)
1267
1268 osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1269 objfiles.h regex.h symfile.h target.h language.h
1270
1271 somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
1272 gdb-stabs.h objfiles.h symfile.h $(symtab_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
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-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
1304 $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
1305
1306 remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
1307 $(inferior_h) $(remote_utils_h) terminal.h
1308
1309 remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
1310 $(inferior_h) serial.h target.h terminal.h
1311
1312 remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
1313 $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
1314
1315 remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
1316 minimon.h target.h terminal.h
1317
1318 remote-mon.o: remote-mon.c $(wait_h) $(command_h) $(defs_h) \
1319 $(gdbcore_h) monitor.h serial.h target.h
1320
1321 remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \
1322 $(defs_h) $(gdbcore_h) $(inferior_h) \
1323 nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
1324 symfile.h
1325
1326 remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
1327 $(inferior_h) target.h terminal.h
1328
1329 remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
1330 target.h
1331
1332 remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1333 $(inferior_h) target.h terminal.h $(udiheaders)
1334
1335 remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
1336 $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
1337 vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
1338 vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h)
1339
1340 remote-z8k.o: remote-z8k.c $(wait_h) $(srcdir)/../sim/z8k/sim.h \
1341 $(defs_h) $(gdbcore_h) $(inferior_h) target.h terminal.h
1342
1343 remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
1344 $(inferior_h) $(remote_utils_h)
1345
1346 remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
1347 $(inferior_h) $(remote_utils_h) symfile.h terminal.h
1348
1349 rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1350
1351 rs6000-pinsn.o: rs6000-pinsn.c $(OP_INCLUDE)/rs6k.h $(defs_h)
1352
1353 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
1354 target.h xcoffsolib.h
1355
1356 ser-go32.o: ser-go32.c $(defs_h) serial.h
1357 ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h
1358 ser-unix.o: ser-unix.c $(defs_h) serial.h
1359 serial.o: serial.c $(defs_h) serial.h
1360
1361 sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
1362 $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
1363 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
1364
1365 solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
1366 objfiles.h regex.h symfile.h target.h
1367
1368 source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1369 $(gdbcore_h) language.h objfiles.h regex.h symfile.h $(symtab_h)
1370
1371 sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
1372 sparc-pinsn.o: sparc-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
1373
1374 sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
1375 $(inferior_h) objfiles.h symfile.h target.h
1376
1377 sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h
1378
1379 stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1380 $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
1381 $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h)
1382
1383 stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
1384 language.h target.h
1385
1386 sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1387 sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
1388
1389 symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
1390 $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
1391 language.h objfiles.h symfile.h $(symtab_h) target.h
1392
1393 symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1394 symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1395
1396 symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
1397 $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
1398 $(symtab_h)
1399
1400 symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
1401 $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
1402 regex.h symfile.h $(symtab_h) target.h $(value_h)
1403
1404 tahoe-pinsn.o: tahoe-pinsn.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
1405 $(symtab_h)
1406
1407 target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
1408 objfiles.h symfile.h target.h
1409
1410 thread.o: thread.c $(defs_h) thread.h $(gdbcmd_h)
1411
1412 typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1413 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1414 $(value_h)
1415
1416 ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
1417 ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1418 umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
1419
1420 utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
1421 language.h signals.h target.h terminal.h $(readline_headers)
1422
1423 valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
1424 $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
1425
1426 valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
1427
1428 valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
1429 $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
1430 $(value_h)
1431
1432 values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
1433 $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h)
1434
1435 vax-pinsn.o: vax-pinsn.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
1436
1437 xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
1438 vx-share/vxWorks.h vx-share/xdr_ld.h
1439 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
1440
1441 xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
1442 vx-share/vxWorks.h vx-share/xdr_ptrace.h
1443 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
1444
1445 xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
1446 vx-share/vxWorks.h vx-share/xdr_rdb.h
1447 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
1448
1449 xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
1450 $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
1451 $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
1452 complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
1453 $(symtab_h)
1454
1455 xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
1456
1457 z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
1458 $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
1459
1460 c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
1461 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1462 $(bfd_h) objfiles.h symfile.h
1463
1464 ch-exp.tab.o: ch-exp.tab.c ch-lang.h $(defs_h) $(expression_h) \
1465 $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
1466 $(bfd_h) objfiles.h symfile.h
1467
1468 m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
1469 language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
1470 $(bfd_h) objfiles.h symfile.h
1471
1472 ### end of the gdb Makefile.in.
This page took 0.060687 seconds and 4 git commands to generate.