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