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