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