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