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