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