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