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