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