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