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