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