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