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