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