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