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