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