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