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