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