]>
Commit | Line | Data |
---|---|---|
7a292a7a | 1 | # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999 |
c906108c SS |
2 | # Free Software Foundation, Inc. |
3 | ||
4 | # This file is part of GDB. | |
5 | ||
6 | # This program is free software; you can redistribute it and/or modify | |
7 | # it under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 2 of the License, or | |
9 | # (at your option) any later version. | |
10 | # | |
11 | # This program is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. | |
15 | # | |
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with this program; if not, write to the Free Software | |
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
19 | ||
20 | prefix = @prefix@ | |
21 | exec_prefix = @exec_prefix@ | |
22 | ||
23 | host_alias = @host_alias@ | |
24 | target_alias = @target_alias@ | |
25 | program_transform_name = @program_transform_name@ | |
26 | bindir = @bindir@ | |
27 | libdir = @libdir@ | |
28 | tooldir = $(libdir)/$(target_alias) | |
29 | ||
30 | datadir = @datadir@ | |
31 | mandir = @mandir@ | |
32 | man1dir = $(mandir)/man1 | |
33 | man2dir = $(mandir)/man2 | |
34 | man3dir = $(mandir)/man3 | |
35 | man4dir = $(mandir)/man4 | |
36 | man5dir = $(mandir)/man5 | |
37 | man6dir = $(mandir)/man6 | |
38 | man7dir = $(mandir)/man7 | |
39 | man8dir = $(mandir)/man8 | |
40 | man9dir = $(mandir)/man9 | |
41 | infodir = @infodir@ | |
42 | includedir = @includedir@ | |
43 | ||
44 | # This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT. | |
45 | top_builddir = . | |
46 | ||
47 | SHELL = @SHELL@ | |
48 | EXEEXT = @EXEEXT@ | |
49 | ||
7a292a7a SS |
50 | AWK = @AWK@ |
51 | ||
c906108c SS |
52 | INSTALL = @INSTALL@ |
53 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
54 | INSTALL_DATA = @INSTALL_DATA@ | |
55 | ||
56 | AR = @AR@ | |
57 | AR_FLAGS = qv | |
58 | RANLIB = @RANLIB@ | |
59 | DLLTOOL = @DLLTOOL@ | |
60 | WINDRES = @WINDRES@ | |
61 | ||
62 | # If the user configured GDB to include the TUI, the name of the tui | |
63 | # library goes here. | |
64 | TUI_LIBRARY = @TUI_LIBRARY@ | |
65 | ||
66 | # If the user configured GDB to include the TUI, the all-tui | |
67 | # target goes here. | |
68 | BUILD_TUI = @BUILD_TUI@ | |
69 | ||
70 | # Flags that describe where you can find the termcap library. | |
71 | # This can be overridden in the host Makefile fragment file. | |
72 | TERMCAP = @TERM_LIB@ | |
73 | ||
74 | # If you are compiling with GCC, make sure that either 1) You have the | |
75 | # fixed include files where GCC can reach them, or 2) You use the | |
76 | # -traditional flag. Otherwise the ioctl calls in inflow.c | |
77 | # will be incorrectly compiled. The "fixincludes" script in the gcc | |
78 | # distribution will fix your include files up. | |
79 | CC=@CC@ | |
80 | ||
81 | # Directory containing source files. | |
82 | srcdir = @srcdir@ | |
83 | VPATH = @srcdir@ | |
84 | ||
85 | YACC=@YACC@ | |
86 | ||
87 | YLWRAP = $(srcdir)/../ylwrap | |
88 | ||
89 | # where to find makeinfo, preferably one designed for texinfo-2 | |
90 | MAKEINFO=makeinfo | |
91 | ||
92 | # Set this up with gcc if you have gnu ld and the loader will print out | |
93 | # line numbers for undefined references. | |
94 | #CC_LD=gcc -static | |
95 | CC_LD=$(CC) | |
96 | ||
97 | # Where is our "include" directory? Typically $(srcdir)/../include. | |
98 | # This is essentially the header file directory for the library | |
99 | # routines in libiberty. | |
100 | INCLUDE_DIR = $(srcdir)/../include | |
101 | INCLUDE_CFLAGS = -I$(INCLUDE_DIR) | |
102 | ||
103 | # Where is the "-liberty" library? Typically in ../libiberty. | |
104 | LIBIBERTY = ../libiberty/libiberty.a | |
105 | ||
106 | # Configured by the --with-mmalloc option to configure. | |
107 | MMALLOC = @MMALLOC@ | |
108 | MMALLOC_CFLAGS = @MMALLOC_CFLAGS@ | |
109 | ||
110 | # Where is the BFD library? Typically in ../bfd. | |
111 | BFD_DIR = ../bfd | |
112 | BFD = $(BFD_DIR)/libbfd.a | |
113 | BFD_SRC = $(srcdir)/$(BFD_DIR) | |
114 | BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC) | |
115 | ||
116 | # Where is the READLINE library? Typically in ../readline. | |
117 | READLINE_DIR = ../readline | |
118 | READLINE = $(READLINE_DIR)/libreadline.a | |
119 | READLINE_SRC = $(srcdir)/$(READLINE_DIR) | |
120 | READLINE_CFLAGS = -I$(READLINE_SRC)/.. | |
121 | ||
122 | WARN_CFLAGS = @WARN_CFLAGS@ | |
123 | ||
124 | # Where is the INTL library? Typically in ../intl. | |
125 | INTL_DIR = ../intl | |
126 | INTL = @INTLLIBS@ | |
127 | INTL_DEPS = @INTLDEPS@ | |
128 | INTL_SRC = $(srcdir)/$(INTL_DIR) | |
129 | INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC) | |
130 | ||
131 | # Where is the TUI library? Typically in tui/. | |
132 | TUI_DIR=tui | |
133 | TUI_SRC = $(srcdir)/$(TUI_DIR) | |
134 | TUI_CFLAGS= -I$(TUI_SRC) | |
135 | ||
136 | # Opcodes currently live in one of two places. Either they are in the | |
137 | # opcode library, typically ../opcodes, or they are in a header file | |
138 | # in INCLUDE_DIR. | |
139 | # Where is the "-lopcodes" library, with (some of) the opcode tables and | |
140 | # disassemblers? | |
141 | OPCODES = ../opcodes/libopcodes.a | |
142 | # Where are the other opcode tables which only have header file | |
143 | # versions? | |
144 | OP_INCLUDE = $(INCLUDE_DIR)/opcode | |
145 | OPCODES_CFLAGS = -I$(OP_INCLUDE) | |
146 | ||
147 | # The simulator is usually nonexistent; targets that include one | |
148 | # should set this to list all the .o or .a files to be linked in. | |
149 | SIM = | |
150 | ||
cd0fc7c3 SS |
151 | WIN32LIBS = @WIN32LIBS@ |
152 | ||
c906108c SS |
153 | |
154 | ENABLE_CFLAGS= @ENABLE_CFLAGS@ | |
155 | ||
156 | # -I. for config files. | |
157 | # -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also. | |
158 | # -I$(srcdir)/config for more generic config files. | |
159 | ||
160 | # It is also possible that you will need to add -I/usr/include/sys if | |
161 | # your system doesn't have fcntl.h in /usr/include (which is where it | |
162 | # should be according to Posix). | |
163 | DEFS = @DEFS@ | |
164 | GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config $(DEFS) | |
165 | ||
166 | # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS | |
167 | # from the config directory. | |
168 | GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS) | |
169 | #PROFILE_CFLAGS = -pg | |
170 | ||
171 | # CFLAGS is specifically reserved for setting from the command line | |
172 | # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". | |
173 | CFLAGS = -g | |
174 | ||
175 | # Need to pass this to testsuite for "make check". Probably should be | |
176 | # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in | |
177 | # so "make check" has the same result no matter where it is run. | |
178 | CXXFLAGS = -g -O | |
179 | ||
180 | # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. | |
181 | INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ | |
182 | $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ | |
183 | $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \ | |
184 | $(INTL_CFLAGS) $(TUI_CFLAGS) $(ENABLE_CFLAGS) $(WARN_CFLAGS) | |
185 | ||
186 | # LDFLAGS is specifically reserved for setting from the command line | |
187 | # when running make. | |
188 | ||
189 | # Profiling options need to go here to work. | |
190 | # I think it's perfectly reasonable for a user to set -pg in CFLAGS | |
191 | # and have it work; that's why CFLAGS is here. | |
192 | INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(LDFLAGS) @CONFIG_LDFLAGS@ @HLDFLAGS@ | |
193 | HLDENV = @HLDENV@ | |
194 | ||
195 | # We are using our own version of REGEX now to be consistent across | |
196 | # machines. | |
197 | REGEX = gnu-regex.o | |
198 | REGEX1 = gnu-regex.o | |
199 | ||
200 | # If your system is missing alloca(), or, more likely, it's there but | |
201 | # it doesn't work, then refer to libiberty. | |
202 | ||
203 | # Libraries and corresponding dependencies for compiling gdb. | |
204 | # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs. | |
205 | # TERMCAP comes after readline, since readline depends on it. | |
206 | # MMALLOC comes after anything else that might want an allocation function. | |
207 | # LIBIBERTY appears twice on purpose. | |
208 | # If you have the Cygnus libraries installed, | |
209 | # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS=' | |
210 | INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \ | |
211 | $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ | |
212 | -lmmalloc -lintl -liberty | |
213 | CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \ | |
214 | $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ | |
215 | $(MMALLOC) $(LIBIBERTY) $(WIN32LIBS) | |
216 | CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \ | |
217 | $(OPCODES) $(MMALLOC) $(INTL_DEPS) $(LIBIBERTY) @CONFIG_DEPS@ | |
218 | ||
219 | ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) | |
220 | ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) | |
221 | ||
9e0b60a8 | 222 | VERSION = 19990621 |
c906108c SS |
223 | DIST=gdb |
224 | ||
225 | LINT=/usr/5bin/lint | |
226 | LINTFLAGS= $(BFD_CFLAGS) | |
227 | ||
228 | RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \ | |
229 | echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \ | |
230 | fi` | |
231 | ||
232 | RUNTESTFLAGS= | |
233 | ||
234 | # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX | |
235 | # interface to the serial port. Hopefully if get ported to OS/2, VMS, | |
236 | # etc., then there will be (as part of the C library or perhaps as | |
237 | # part of libiberty) a POSIX interface. But at least for now the | |
238 | # host-dependent makefile fragment might need to use something else | |
239 | # besides ser-unix.o | |
240 | SER_HARDWIRE = ser-unix.o | |
241 | ||
242 | # The `remote' debugging target is supported for most architectures, | |
243 | # but not all (e.g. 960) | |
244 | REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o | |
245 | ||
246 | # This is remote-sim.o if a simulator is to be linked in. | |
247 | SIM_OBS = | |
248 | ||
249 | ANNOTATE_OBS = annotate.o | |
250 | ||
251 | # Host and target-dependent makefile fragments come in here. | |
252 | @host_makefile_frag@ | |
253 | @target_makefile_frag@ | |
254 | # End of host and target-dependent makefile fragments | |
255 | ||
7a292a7a SS |
256 | # Possibly ignore the simulator. If the simulator is being ignored, |
257 | # these expand into SIM= and SIM_OBJ=, overriding the entries from | |
258 | # target_makefile_frag | |
259 | # | |
260 | @IGNORE_SIM@ | |
261 | @IGNORE_SIM_OBS@ | |
262 | ||
c906108c SS |
263 | FLAGS_TO_PASS = \ |
264 | "prefix=$(prefix)" \ | |
265 | "exec_prefix=$(exec_prefix)" \ | |
266 | "against=$(against)" \ | |
267 | "AR=$(AR)" \ | |
268 | "AR_FLAGS=$(AR_FLAGS)" \ | |
269 | "CC=$(CC)" \ | |
270 | "CFLAGS=$(CFLAGS)" \ | |
271 | "CHILLFLAGS=$(CHILLFLAGS)" \ | |
272 | "CHILL=$(CHILL)" \ | |
273 | "CHILL_LIB=$(CHILL_LIB)" \ | |
274 | "CXX=$(CXX)" \ | |
275 | "CXXFLAGS=$(CXXFLAGS)" \ | |
276 | "DLLTOOL=$(DLLTOOL)" \ | |
277 | "RANLIB=$(RANLIB)" \ | |
278 | "MAKEINFO=$(MAKEINFO)" \ | |
279 | "INSTALL=$(INSTALL)" \ | |
280 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
281 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
282 | "RUNTEST=$(RUNTEST)" \ | |
283 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" | |
284 | ||
285 | # Flags that we pass when building the testsuite. | |
286 | ||
287 | # empty for native, $(target_alias)/ for cross | |
288 | target_subdir = @target_subdir@ | |
289 | ||
290 | CC_FOR_TARGET = ` \ | |
291 | if [ -f $${rootme}/../gcc/xgcc ] ; then \ | |
292 | if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \ | |
293 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \ | |
294 | else \ | |
295 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ | |
296 | fi; \ | |
297 | else \ | |
298 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ | |
299 | echo $(CC); \ | |
300 | else \ | |
301 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ | |
302 | fi; \ | |
303 | fi` | |
304 | ||
305 | CXX = gcc | |
306 | CXX_FOR_TARGET = ` \ | |
307 | if [ -f $${rootme}/../gcc/xgcc ] ; then \ | |
308 | if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \ | |
309 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \ | |
310 | else \ | |
311 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ | |
312 | fi; \ | |
313 | else \ | |
314 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ | |
315 | echo $(CXX); \ | |
316 | else \ | |
317 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ | |
318 | fi; \ | |
319 | fi` | |
320 | ||
321 | CHILLFLAGS = $(CFLAGS) | |
322 | CHILL = gcc | |
323 | CHILL_FOR_TARGET = ` \ | |
324 | if [ -f $${rootme}/../gcc/Makefile ] ; then \ | |
325 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../gcc/ch/runtime/; \ | |
326 | else \ | |
327 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ | |
328 | echo $(CC); \ | |
329 | else \ | |
330 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ | |
331 | fi; \ | |
332 | fi` | |
333 | CHILL_LIB = ` \ | |
334 | if [ -f $${rootme}/../gcc/ch/runtime/libchill.a ] ; then \ | |
335 | echo $${rootme}/../gcc/ch/runtime/chillrt0.o \ | |
336 | $${rootme}/../gcc/ch/runtime/libchill.a; \ | |
337 | else \ | |
338 | echo -lchill; \ | |
339 | fi` | |
340 | ||
341 | # The use of $$(x_FOR_TARGET) reduces the command line length by not | |
342 | # duplicating the lengthy definition. | |
343 | TARGET_FLAGS_TO_PASS = \ | |
344 | "prefix=$(prefix)" \ | |
345 | "exec_prefix=$(exec_prefix)" \ | |
346 | "against=$(against)" \ | |
347 | 'CC=$$(CC_FOR_TARGET)' \ | |
348 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ | |
349 | "CFLAGS=$(CFLAGS)" \ | |
350 | "CHILLFLAGS=$(CHILLFLAGS)" \ | |
351 | 'CHILL=$$(CHILL_FOR_TARGET)' \ | |
352 | "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \ | |
353 | "CHILL_LIB=$(CHILL_LIB)" \ | |
354 | 'CXX=$$(CXX_FOR_TARGET)' \ | |
355 | "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ | |
356 | "CXXFLAGS=$(CXXFLAGS)" \ | |
357 | "INSTALL=$(INSTALL)" \ | |
358 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
359 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
360 | "MAKEINFO=$(MAKEINFO)" \ | |
361 | "RUNTEST=$(RUNTEST)" \ | |
362 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" | |
363 | ||
364 | # All source files that go into linking GDB. | |
365 | # Links made at configuration time should not be specified here, since | |
366 | # SFILES is used in building the distribution archive. | |
367 | ||
368 | SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \ | |
369 | buildsym.c c-exp.y c-lang.c c-typeprint.c c-valprint.c \ | |
370 | ch-exp.c ch-lang.c ch-typeprint.c ch-valprint.c coffread.c \ | |
371 | command.c complaints.c corefile.c cp-valprint.c dbxread.c \ | |
372 | demangle.c dwarfread.c dwarf2read.c elfread.c environ.c eval.c \ | |
cd0fc7c3 | 373 | event-loop.c event-top.c \ |
c906108c SS |
374 | expprint.c f-exp.y f-lang.c f-typeprint.c f-valprint.c \ |
375 | findvar.c gdbarch.c gdbtypes.c infcmd.c inflow.c infrun.c language.c \ | |
376 | jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \ | |
377 | m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \ | |
378 | mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \ | |
379 | printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c \ | |
380 | scm-valprint.c source.c stabsread.c stack.c symfile.c \ | |
381 | symmisc.c symtab.c target.c thread.c top.c tracepoint.c \ | |
382 | typeprint.c utils.c valarith.c valops.c valprint.c values.c \ | |
383 | serial.c ser-unix.c mdebugread.c os9kread.c \ | |
384 | tui/tui.c tui/tui.h tui/tuiCommand.c tui/tuiCommand.h \ | |
385 | tui/tuiData.c tui/tuiData.h tui/tuiDataWin.c tui/tuiDataWin.h \ | |
386 | tui/tuiDisassem.c tui/tuiDisassem.h tui/tuiGeneralWin.c \ | |
387 | tui/tuiGeneralWin.h tui/tuiIO.c tui/tuiIO.h tui/tuiLayout.c \ | |
388 | tui/tuiLayout.h tui/tuiRegs.c tui/tuiRegs.h tui/tuiSource.c \ | |
389 | tui/tuiSource.h tui/tuiSourceWin.c tui/tuiSourceWin.h \ | |
390 | tui/tuiStack.c tui/tuiStack.h tui/tuiWin.c tui/tuiWin.h | |
391 | ||
392 | LINTFILES = $(SFILES) $(YYFILES) @CONFIG_SRCS@ init.c | |
393 | ||
394 | # "system" headers. Using these in dependencies is a rather personal | |
395 | # choice. (-rich, summer 1993) | |
396 | # (Why would we not want to depend on them? If one of these changes in a | |
397 | # non-binary-compatible way, it is a real pain to remake the right stuff | |
398 | # without these dependencies -kingdon, 13 Mar 1994) | |
399 | getopt_h = $(INCLUDE_DIR)/getopt.h | |
400 | floatformat_h = $(INCLUDE_DIR)/floatformat.h | |
401 | bfd_h = $(BFD_DIR)/bfd.h | |
402 | wait_h = $(INCLUDE_DIR)/wait.h | |
403 | dis-asm_h = $(INCLUDE_DIR)/dis-asm.h | |
404 | remote-sim_h = $(INCLUDE_DIR)/remote-sim.h | |
405 | ||
406 | dcache_h = dcache.h | |
407 | remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h $(remote-sim_h) | |
408 | ||
409 | ||
410 | readline_headers = \ | |
411 | $(READLINE_SRC)/chardefs.h \ | |
412 | $(READLINE_SRC)/history.h \ | |
413 | $(READLINE_SRC)/keymaps.h \ | |
414 | $(READLINE_SRC)/readline.h | |
415 | ||
416 | udiheaders = \ | |
417 | $(srcdir)/29k-share/udi/udiproc.h \ | |
418 | $(srcdir)/29k-share/udi/udiphcfg.h \ | |
419 | $(srcdir)/29k-share/udi/udiphunix.h \ | |
420 | $(srcdir)/29k-share/udi/udiptcfg.h \ | |
421 | $(srcdir)/29k-share/udi/udipt29k.h \ | |
422 | $(srcdir)/29k-share/udi/udisoc.h | |
423 | ||
424 | gdbcore_h = gdbcore.h $(bfd_h) | |
425 | ||
426 | frame_h = frame.h | |
427 | symtab_h = symtab.h bcache.h | |
428 | gdbtypes_h = gdbtypes.h | |
429 | expression_h = expression.h | |
430 | value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h) | |
431 | ||
432 | breakpoint_h = breakpoint.h $(frame_h) $(value_h) | |
433 | ||
434 | command_h = command.h | |
435 | gdbcmd_h = gdbcmd.h $(command_h) | |
436 | ||
437 | defs_h = defs.h xm.h tm.h nm.h config.status config.h gdbarch.h | |
438 | ||
9e0b60a8 | 439 | top_h = top.h |
c906108c SS |
440 | inferior_h = inferior.h $(breakpoint_h) |
441 | tracepoint_h = tracepoint.h | |
442 | ax_h = ax.h | |
cd0fc7c3 | 443 | event_loop_h = event-loop.h |
c906108c SS |
444 | |
445 | # Header files that need to have srcdir added. Note that in the cases | |
446 | # where we use a macro like $(gdbcmd_h), things are carefully arranged | |
447 | # so that each .h file is listed exactly once (M-x tags-search works | |
448 | # wrong if TAGS has files twice). Because this is tricky to get | |
449 | # right, it is probably easiest just to list .h files here directly. | |
450 | ||
451 | HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \ | |
452 | dst.h environ.h $(gdbcmd_h) gdbcore.h \ | |
453 | gdb-stabs.h hpread.h $(inferior_h) language.h minimon.h monitor.h \ | |
454 | objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \ | |
455 | symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \ | |
456 | c-lang.h ch-lang.h f-lang.h \ | |
457 | jv-lang.h \ | |
458 | m2-lang.h \ | |
459 | complaints.h valprint.h \ | |
460 | 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \ | |
461 | nindy-share/block_io.h nindy-share/coff.h \ | |
462 | nindy-share/env.h nindy-share/stop.h \ | |
463 | vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \ | |
464 | vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \ | |
465 | vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \ | |
466 | dcache.h remote-utils.h top.h somsolib.h | |
467 | ||
468 | # Header files that already have srcdir in them, or which are in objdir. | |
469 | ||
470 | HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h | |
471 | ||
472 | ||
473 | # GDB "info" files, which should be included in their entirety | |
474 | INFOFILES = gdb.info* | |
475 | ||
476 | REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar | |
477 | ||
478 | POSSLIBS = gnu-regex.c gnu-regex.h | |
479 | ||
480 | # {X,T,NAT}DEPFILES are something of a pain in that it's hard to | |
481 | # default their values the way we do for SER_HARDWIRE; in the future | |
482 | # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other | |
483 | # variables analogous to SER_HARDWIRE which get defaulted in this | |
484 | # Makefile.in | |
485 | ||
486 | DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \ | |
487 | $(REMOTE_OBS) $(SIM_OBS) @CONFIG_OBS@ | |
488 | ||
489 | SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) @CONFIG_SRCS@ | |
490 | # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES, | |
491 | # and it's more useful to see it in the .y file. | |
492 | TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \ | |
493 | $(POSSLIBS) | |
494 | TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR) | |
495 | ||
496 | COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \ | |
497 | source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \ | |
498 | symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \ | |
cd0fc7c3 SS |
499 | expprint.o environ.o \ |
500 | event-loop.o event-top.o \ | |
501 | gdbarch.o gdbtypes.o copying.o $(DEPFILES) \ | |
c906108c SS |
502 | mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \ |
503 | exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \ | |
504 | dbxread.o coffread.o elfread.o \ | |
505 | dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \ | |
506 | c-lang.o ch-exp.o ch-lang.o f-lang.o \ | |
507 | jv-lang.o jv-valprint.o jv-typeprint.o \ | |
508 | m2-lang.o \ | |
509 | scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o \ | |
510 | c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \ | |
511 | c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \ | |
512 | nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o | |
513 | ||
514 | OBS = $(COMMON_OBS) $(ANNOTATE_OBS) main.o | |
515 | ||
516 | LIBGDB_OBS = | |
517 | ||
518 | TSOBS = inflow.o | |
519 | ||
520 | NTSOBS = standalone.o | |
521 | ||
522 | NTSSTART = kdb-start.o | |
523 | ||
524 | SUBDIRS = doc \ | |
525 | testsuite \ | |
526 | nlm | |
527 | ||
528 | # For now, shortcut the "configure GDB for fewer languages" stuff. | |
529 | YYFILES = c-exp.tab.c \ | |
530 | jv-exp.tab.c \ | |
531 | f-exp.tab.c m2-exp.tab.c | |
532 | YYOBJ = c-exp.tab.o \ | |
533 | jv-exp.tab.o \ | |
534 | f-exp.tab.o m2-exp.tab.o | |
535 | ||
536 | # Things which need to be built when making a distribution. | |
537 | ||
538 | DISTSTUFF = $(YYFILES) | |
539 | ||
540 | # Prevent Sun make from putting in the machine type. Setting | |
541 | # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1. | |
542 | .c.o: | |
543 | $(CC) -c $(INTERNAL_CFLAGS) $< | |
544 | ||
545 | all: gdb$(EXEEXT) | |
546 | @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do | |
547 | ||
548 | installcheck: | |
549 | ||
550 | # The check target can not use subdir_do, because subdir_do does not | |
551 | # use TARGET_FLAGS_TO_PASS. | |
552 | check: force | |
553 | @if [ -f testsuite/Makefile ]; then \ | |
554 | rootme=`pwd`; export rootme; \ | |
555 | rootsrc=`cd $(srcdir); pwd`; export rootsrc; \ | |
556 | cd testsuite; \ | |
557 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \ | |
558 | else true; fi | |
559 | ||
560 | info dvi install-info clean-info: force | |
561 | @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do | |
562 | ||
563 | gdb.z:gdb.1 | |
564 | nroff -man $(srcdir)/gdb.1 | col -b > gdb.t | |
565 | pack gdb.t ; rm -f gdb.t | |
566 | mv gdb.t.z gdb.z | |
567 | ||
568 | # Traditionally "install" depends on "all". But it may be useful | |
569 | # not to; for example, if the user has made some trivial change to a | |
570 | # source file and doesn't care about rebuilding or just wants to save the | |
571 | # time it takes for make to check that all is up to date. | |
572 | # install-only is intended to address that need. | |
573 | install: all install-only | |
574 | install-only: | |
575 | transformed_name=`t='$(program_transform_name)'; \ | |
576 | echo gdb | sed -e $$t` ; \ | |
577 | if test "x$$transformed_name" = x; then \ | |
578 | transformed_name=gdb ; \ | |
579 | else \ | |
580 | true ; \ | |
581 | fi ; \ | |
582 | $(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \ | |
583 | $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1 | |
584 | @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do | |
585 | ||
586 | uninstall: force | |
587 | transformed_name=`t='$(program_transform_name)'; \ | |
588 | echo gdb | sed -e $$t` ; \ | |
589 | if test "x$$transformed_name" = x; then \ | |
590 | transformed_name=gdb ; \ | |
591 | else \ | |
592 | true ; \ | |
593 | fi ; \ | |
594 | rm -f $(bindir)/$$transformed_name$(EXEEXT) $(man1dir)/$$transformed_name.1 | |
595 | @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do | |
596 | ||
597 | # We do this by grepping through sources. If that turns out to be too slow, | |
598 | # maybe we could just require every .o file to have an initialization routine | |
599 | # of a given name (remote-udi.o -> _initialize_remote_udi, etc.). | |
600 | # | |
601 | # Formatting conventions: The name of the _initialize_* routines must start | |
602 | # in column zero, and must not be inside #if. | |
603 | # | |
604 | # Note that the set of files with init functions might change, or the names | |
605 | # of the functions might change, so this files needs to depend on all the | |
606 | # object files that will be linked into gdb. | |
607 | ||
608 | init.c: $(OBS) $(TSOBS) | |
609 | @echo Making init.c | |
610 | @rm -f init.c-tmp | |
611 | @echo '/* Do not modify this file. */' >init.c-tmp | |
612 | @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp | |
613 | @echo '#include "ansidecl.h"' >>init.c-tmp | |
614 | @echo 'extern void initialize_all_files PARAMS ((void));' >>init.c-tmp | |
615 | @echo 'void initialize_all_files PARAMS ((void)) {' >>init.c-tmp | |
616 | @-echo $(OBS) $(TSOBS) | \ | |
617 | tr ' ' '\012' | \ | |
618 | sed -e '/^Onindy.o/d' \ | |
619 | -e '/^nindy.o/d' \ | |
620 | -e '/ttyflush.o/d' \ | |
621 | -e '/xdr_ld.o/d' \ | |
622 | -e '/xdr_ptrace.o/d' \ | |
623 | -e '/xdr_rdb.o/d' \ | |
624 | -e '/udr.o/d' \ | |
625 | -e '/udip2soc.o/d' \ | |
626 | -e '/udi2go32.o/d' \ | |
627 | -e '/version.o/d' \ | |
628 | -e '/^[a-z0-9A-Z_]*_[SU].o/d' \ | |
629 | -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \ | |
630 | -e 's/\.o/.c/' \ | |
631 | -e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \ | |
632 | while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \ | |
633 | sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp | |
634 | @echo '}' >>init.c-tmp | |
635 | @mv init.c-tmp init.c | |
636 | ||
637 | .PRECIOUS: init.c | |
638 | ||
639 | # Removing the old gdb first works better if it is running, at least on SunOS. | |
640 | gdb$(EXEEXT): $(OBS) $(BUILD_TUI) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o | |
641 | rm -f gdb$(EXEEXT) | |
642 | $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) \ | |
643 | init.o $(OBS) $(TSOBS) $(TUI_LIBRARY) $(ADD_FILES) $(CLIBS) $(LOADLIBES) | |
644 | ||
645 | nlm: force | |
646 | rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do | |
647 | ||
648 | libgdb: libgdb-files $(LIBGDB_OBS) | |
649 | ||
650 | # libproc is not listed here because all-libproc is a dependency of all-gui, | |
651 | # not all-gdb, and thus might be built after us. | |
652 | LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o | |
653 | # libproc needs to be before libiberty for alloca. | |
654 | LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \ | |
655 | $(ADD_DEPS) $(CDEPS) init.o | |
656 | ||
657 | libgdb-files: $(LIBGDBDEPS) Makefile.in | |
658 | -rm -f libgdb-files | |
659 | for i in $(LIBGDBFILES); do\ | |
660 | echo $$i >> libgdb-files;\ | |
661 | done | |
662 | ||
663 | saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c | |
664 | #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS | |
665 | #load ./init.c $(SFILES) | |
666 | #unload $(srcdir)/c-exp.y | |
667 | #unload $(srcdir)/jv-exp.y | |
668 | #unload $(srcdir)/m2-exp.y | |
669 | #unload vx-share/*.h | |
670 | #unload nindy-share/[A-Z]* | |
671 | #load c-exp.tab.c | |
672 | #load jv-exp.tab.c | |
673 | #load m2-exp.tab.c | |
674 | #load copying.c version.c | |
675 | #load ../opcodes/libopcodes.a | |
676 | #load ../libiberty/libiberty.a | |
677 | #load ../bfd/libbfd.a | |
678 | #load ../readline/libreadline.a | |
679 | #load ../mmalloc/libmmalloc.a | |
680 | #load ../intl/libintl.a | |
681 | #load -ltermcap | |
682 | #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'` | |
683 | echo "Load .c corresponding to:" $(DEPFILES) | |
684 | ||
685 | ||
686 | # A Mach 3.0 program to force gdb back to command level | |
687 | ||
688 | stop-gdb: stop-gdb.o | |
689 | ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \ | |
690 | stop-gdb.o $(CLIBS) $(LOADLIBES) | |
691 | ||
692 | # This is useful when debugging GDB, because some Unix's don't let you run GDB | |
693 | # on itself without copying the executable. So "make gdb1" will make | |
694 | # gdb and put a copy in gdb1, and you can run it with "gdb gdb1". | |
695 | # Removing gdb1 before the copy is the right thing if gdb1 is open | |
696 | # in another process. | |
697 | gdb1$(EXEEXT): gdb$(EXEEXT) | |
698 | rm -f gdb1$(EXEEXT) | |
699 | cp gdb$(EXEEXT) gdb1$(EXEEXT) | |
700 | ||
701 | # FIXME. These are not generated by "make depend" because they only are there | |
702 | # for some machines. | |
703 | # But these rules don't do what we want; we want to hack the foo.o: tm.h | |
704 | # dependency to do the right thing. | |
705 | tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h | |
706 | tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h | |
707 | xm-news1000.h: xm-news.h | |
708 | xm-i386-sv32.h: xm-i386.h | |
709 | tm-i386gas.h: tm-i386.h | |
710 | xm-sun4os4.h: xm-sparc.h | |
711 | tm-sun4os4.h: tm-sparc.h | |
712 | xm-vaxult.h: xm-vax.h | |
713 | xm-vaxbsd.h: xm-vax.h | |
714 | ||
715 | kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS) | |
716 | ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \ | |
717 | -lc $(CLIBS) | |
718 | ||
719 | # Have the TUI library depend on a phony target, so we'll always | |
720 | # recurse and make sure it's up to date. If it is, then the file will | |
721 | # be unchanged, and we won't rebuild it. | |
722 | # .PHONY: check-tui | |
723 | all-tui: | |
724 | @(cd tui; ${MAKE} ${FLAGS_TO_PASS} all) | |
725 | ||
726 | # Put the proper machine-specific files first, so M-. on a machine | |
727 | # specific routine gets the one for the correct machine. (FIXME: those | |
728 | # files go in twice; we should be removing them from the main list). | |
729 | ||
730 | # TAGS depends on all the files that go into it so you can rebuild TAGS | |
731 | # with `make TAGS' and not have to say `rm TAGS' first. | |
732 | ||
733 | TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR) | |
734 | @echo Making TAGS | |
735 | @etags $(srcdir)/$(TM_FILE) \ | |
736 | $(srcdir)/$(XM_FILE) \ | |
737 | $(srcdir)/$(NAT_FILE) \ | |
738 | `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \ | |
739 | echo $(srcdir)/$$i ; \ | |
740 | done ; for i in $(TAGFILES_WITH_SRCDIR); do \ | |
741 | echo $$i ; \ | |
742 | done) | sed -e 's/\.o$$/\.c/'` \ | |
743 | `find $(srcdir)/config -name '*.h' -print` | |
744 | ||
745 | tags: TAGS | |
746 | ||
747 | clean mostlyclean: | |
748 | @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do | |
749 | rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp | |
750 | rm -f init.c version.c | |
751 | rm -f gdb$(EXEEXT) core make.log libgdb-files | |
752 | rm -f gdb[0-9]$(EXEEXT) | |
753 | ||
754 | # This used to depend on c-exp.tab.c m2-exp.tab.c TAGS | |
755 | # I believe this is wrong; the makefile standards for distclean just | |
756 | # describe removing files; the only sort of "re-create a distribution" | |
757 | # functionality described is if the distributed files are unmodified. | |
758 | distclean: clean | |
759 | @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do | |
760 | rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit | |
761 | rm -f y.output yacc.acts yacc.tmp y.tab.h | |
762 | rm -f config.log config.cache | |
763 | rm -f Makefile | |
764 | ||
765 | maintainer-clean: local-maintainer-clean do-maintainer-clean distclean | |
766 | realclean: maintainer-clean | |
767 | ||
768 | local-maintainer-clean: | |
769 | @echo "This command is intended for maintainers to use;" | |
770 | @echo "it deletes files that may require special tools to rebuild." | |
771 | rm -f c-exp.tab.c \ | |
772 | jv-exp.tab \ | |
773 | f-exp.tab.c m2-exp.tab.c | |
774 | rm -f TAGS $(INFOFILES) | |
775 | rm -f $(YYFILES) | |
776 | rm -f nm.h tm.h xm.h config.status | |
777 | ||
778 | do-maintainer-clean: | |
779 | @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" \ | |
780 | subdir_do | |
781 | ||
782 | diststuff: $(DISTSTUFF) | |
783 | cd doc; $(MAKE) $(MFLAGS) all-doc | |
784 | ||
785 | subdir_do: force | |
786 | @for i in $(DODIRS); do \ | |
787 | if [ -f ./$$i/Makefile ] ; then \ | |
788 | if (cd ./$$i; \ | |
789 | $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ | |
790 | else exit 1 ; fi ; \ | |
791 | else true ; fi ; \ | |
792 | done | |
793 | ||
794 | Makefile: Makefile.in config.status @frags@ | |
795 | $(SHELL) config.status | |
796 | ||
797 | config.h: stamp-h ; @true | |
798 | stamp-h: config.in config.status | |
799 | CONFIG_HEADERS=config.h:config.in $(SHELL) config.status | |
800 | ||
801 | config.status: configure | |
802 | $(SHELL) config.status --recheck | |
803 | ||
804 | force: | |
805 | ||
806 | # Documentation! | |
807 | # GDB QUICK REFERENCE (TeX dvi file, CM fonts) | |
808 | doc/refcard.dvi: | |
809 | cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) | |
810 | ||
811 | # GDB QUICK REFERENCE (PostScript output, common PS fonts) | |
812 | doc/refcard.ps: | |
813 | cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) | |
814 | ||
815 | # GDB MANUAL: TeX dvi file | |
816 | doc/gdb.dvi: | |
817 | cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) | |
818 | ||
819 | # GDB MANUAL: info file | |
820 | doc/gdb.info: | |
821 | cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) | |
822 | ||
823 | # Make copying.c from COPYING | |
824 | copying.c: COPYING copying.awk | |
825 | awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c | |
826 | ||
827 | version.c: Makefile | |
828 | echo 'char *version = "$(VERSION)";' >version.c | |
829 | echo 'char *host_name = "$(host_alias)";' >> version.c | |
830 | echo 'char *target_name = "$(target_alias)";' >> version.c | |
831 | ||
832 | # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist | |
833 | # in srcdir, then compiled in objdir to c-exp.tab.o. | |
834 | ||
835 | # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes | |
836 | # would sometimes re-write it into $(srcdir)/c-exp.tab.c. | |
837 | ||
838 | # Remove bogus decls for malloc/realloc/free which conflict with everything | |
839 | # else. Strictly speaking c-exp.tab.c should therefore depend on | |
840 | # Makefile.in, but that was a pretty big annoyance. | |
841 | c-exp.tab.o: c-exp.tab.c | |
842 | c-exp.tab.c: c-exp.y | |
843 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/c-exp.y y.tab.c c-exp.tmp -- $(YFLAGS) | |
844 | -sed -e '/extern.*malloc/d' \ | |
845 | -e '/extern.*realloc/d' \ | |
846 | -e '/extern.*free/d' \ | |
847 | -e '/include.*malloc.h/d' \ | |
848 | -e 's/malloc/xmalloc/g' \ | |
849 | -e 's/realloc/xrealloc/g' \ | |
850 | -e '/^#line.*y.tab.c/d' \ | |
851 | < c-exp.tmp > c-exp.new | |
852 | -rm c-exp.tmp | |
853 | mv c-exp.new ./c-exp.tab.c | |
854 | ||
855 | jv-exp.tab.o: jv-exp.tab.c | |
856 | jv-exp.tab.c: jv-exp.y | |
857 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/jv-exp.y y.tab.c jv-exp.tmp -- $(YFLAGS) | |
858 | -sed -e '/extern.*malloc/d' \ | |
859 | -e '/extern.*realloc/d' \ | |
860 | -e '/extern.*free/d' \ | |
861 | -e '/include.*malloc.h/d' \ | |
862 | -e 's/malloc/xmalloc/g' \ | |
863 | -e 's/realloc/xrealloc/g' \ | |
864 | -e '/^#line.*y.tab.c/d' \ | |
865 | < jv-exp.tmp > jv-exp.new | |
866 | -rm jv-exp.tmp | |
867 | mv jv-exp.new ./jv-exp.tab.c | |
868 | ||
869 | f-exp.tab.o: f-exp.tab.c | |
870 | f-exp.tab.c: f-exp.y c-exp.tab.c | |
871 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/f-exp.y y.tab.c f-exp.tmp -- $(YFLAGS) | |
872 | -sed -e '/extern.*malloc/d' \ | |
873 | -e '/extern.*realloc/d' \ | |
874 | -e '/extern.*free/d' \ | |
875 | -e '/include.*malloc.h/d' \ | |
876 | -e 's/malloc/xmalloc/g' \ | |
877 | -e 's/realloc/xrealloc/g' \ | |
878 | -e '/^#line.*y.tab.c/d' \ | |
879 | < f-exp.tmp > f-exp.new | |
880 | -rm f-exp.tmp | |
881 | mv f-exp.new ./f-exp.tab.c | |
882 | ||
883 | # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist | |
884 | # in srcdir, then compiled in objdir to m2-exp.tab.o. | |
885 | # Remove bogus decls for malloc/realloc/free which conflict with everything | |
886 | # else. | |
887 | m2-exp.tab.o: m2-exp.tab.c | |
888 | m2-exp.tab.c: m2-exp.y | |
889 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/m2-exp.y y.tab.c m2-exp.tmp -- $(YFLAGS) | |
890 | -sed -e '/extern.*malloc/d' \ | |
891 | -e '/extern.*realloc/d' \ | |
892 | -e '/extern.*free/d' \ | |
893 | -e '/include.*malloc.h/d' \ | |
894 | -e 's/malloc/xmalloc/g' \ | |
895 | -e 's/realloc/xrealloc/g' \ | |
896 | -e '/^#line.*y.tab.c/d' \ | |
897 | < m2-exp.tmp > m2-exp.new | |
898 | -rm m2-exp.tmp | |
899 | mv m2-exp.new ./m2-exp.tab.c | |
900 | ||
901 | # These files are updated atomically, so make never has to remove them | |
902 | .PRECIOUS: m2-exp.tab.c f-exp.tab.c c-exp.tab.c | |
903 | .PRECIOUS: jv-exp.tab.c | |
904 | ||
905 | lint: $(LINTFILES) | |
906 | $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \ | |
907 | `echo $(DEPFILES) | sed 's/\.o /\.c /g'` | |
908 | ||
909 | gdb.cxref: $(SFILES) | |
910 | cxref -I. $(SFILES) >gdb.cxref | |
911 | ||
912 | force_update: | |
913 | ||
914 | # GNU Make has an annoying habit of putting *all* the Makefile variables | |
915 | # into the environment, unless you include this target as a circumvention. | |
916 | # Rumor is that this will be fixed (and this target can be removed) | |
917 | # in GNU Make 4.0. | |
918 | .NOEXPORT: | |
919 | ||
920 | # GNU Make 3.63 has a different problem: it keeps tacking command line | |
921 | # overrides onto the definition of $(MAKE). This variable setting | |
922 | # will remove them. | |
923 | MAKEOVERRIDES= | |
924 | ||
925 | ## This is ugly, but I don't want GNU make to put these variables in | |
926 | ## the environment. Older makes will see this as a set of targets | |
927 | ## with no dependencies and no actions. | |
928 | unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET : | |
929 | ||
930 | ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \ | |
931 | 29k-share/udi/udi2go32.c \ | |
932 | a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \ | |
933 | altos-xdep.c arm-convert.s \ | |
934 | arm-tdep.c arm-xdep.c coff-solib.c \ | |
935 | convex-tdep.c convex-xdep.c \ | |
936 | core-sol2.c core-regset.c core-aout.c corelow.c \ | |
937 | dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \ | |
7a292a7a | 938 | gould-tdep.c gould-xdep.c h8300-tdep.c h8500-tdep.c \ |
c906108c SS |
939 | hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c \ |
940 | hp-psymtab-read.c hp-symtab-read.c \ | |
941 | i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \ | |
942 | i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \ | |
943 | i387-tdep.c \ | |
944 | i960-tdep.c \ | |
945 | infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \ | |
946 | lynx-nat.c m3-nat.c \ | |
947 | m68k-tdep.c \ | |
9e086581 JM |
948 | m88k-nat.c m88k-tdep.c mac-nat.c \ |
949 | mips-nat.c \ | |
c906108c SS |
950 | mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \ |
951 | nindy-share/Onindy.c nindy-share/nindy.c \ | |
952 | nindy-share/ttyflush.c nindy-tdep.c \ | |
953 | ns32k-tdep.c ns32km3-nat.c osfsolib.c \ | |
954 | somread.c somsolib.c $(HPREAD_SOURCE) \ | |
955 | procfs.c pyr-tdep.c pyr-xdep.c \ | |
956 | remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \ | |
957 | remote-es.c remote-hms.c remote-mips.c \ | |
958 | remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \ | |
959 | remote-st.c remote-utils.c dcache.c \ | |
960 | remote-udi.c remote-vx.c remote-vx29k.c \ | |
961 | rs6000-nat.c rs6000-tdep.c \ | |
962 | ser-go32.c ser-ocd.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \ | |
963 | sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \ | |
964 | symm-tdep.c symm-nat.c \ | |
965 | tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \ | |
966 | vax-tdep.c \ | |
967 | vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \ | |
968 | win32-nat.c \ | |
969 | xcoffread.c xcoffsolib.c z8k-tdep.c | |
970 | ||
971 | udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders) | |
972 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c | |
973 | ||
974 | udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders) | |
975 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c | |
976 | ||
977 | udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) | |
978 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c | |
979 | ||
980 | a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) | |
981 | ||
982 | a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
983 | ||
984 | alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h | |
985 | ||
986 | alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
987 | $(inferior_h) $(symtab_h) $(dis-asm.h) gdb_string.h | |
988 | ||
989 | altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
990 | ||
991 | annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h) | |
992 | ||
993 | arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ | |
994 | $(gdbcore_h) | |
995 | ||
996 | bcache.o: bcache.c bcache.h $(defs_h) | |
997 | ||
998 | blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
999 | objfiles.h symfile.h target.h | |
1000 | ||
1001 | breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1002 | $(inferior_h) language.h target.h gdbthread.h gdb_string.h | |
1003 | ||
1004 | buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1005 | objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1006 | ||
1007 | c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1008 | language.h parser-defs.h $(symtab_h) | |
1009 | ||
1010 | c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \ | |
1011 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1012 | target.h typeprint.h $(value_h) gdb_string.h | |
1013 | ||
1014 | c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1015 | language.h $(symtab_h) valprint.h $(value_h) | |
1016 | ||
1017 | f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1018 | language.h parser-defs.h $(symtab_h) gdb_string.h | |
1019 | ||
1020 | f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \ | |
1021 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1022 | target.h typeprint.h $(value_h) gdb_string.h | |
1023 | ||
1024 | f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1025 | language.h $(symtab_h) valprint.h $(value_h) gdb_string.h | |
1026 | ||
1027 | ch-exp.o: ch-exp.c ch-lang.h $(defs_h) language.h parser-defs.h $(bfd_h) symfile.h objfiles.h $(value_h) | |
1028 | ||
1029 | ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1030 | language.h parser-defs.h $(symtab_h) | |
1031 | ||
1032 | ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \ | |
1033 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1034 | target.h $(value_h) typeprint.h gdb_string.h | |
1035 | ||
1036 | ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1037 | language.h $(symtab_h) valprint.h $(value_h) c-lang.h | |
1038 | ||
1039 | coff-solib.o: coff-solib.c $(defs_h) | |
1040 | ||
1041 | coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \ | |
1042 | complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \ | |
1043 | symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h \ | |
1044 | gdb_string.h | |
1045 | ||
1046 | command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1047 | $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h $(wait_h) | |
1048 | ||
1049 | complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h) | |
1050 | ||
1051 | convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1052 | $(gdbcore_h) $(inferior_h) | |
1053 | ||
1054 | convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1055 | $(inferior_h) | |
1056 | ||
1057 | copying.o: copying.c $(defs_h) $(gdbcmd_h) | |
1058 | ||
1059 | core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h) | |
1060 | ||
1061 | core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \ | |
1062 | $(inferior_h) target.h gdb_string.h | |
1063 | ||
1064 | core-regset.o: core-regset.c $(command_h) $(defs_h) $(gdbcore_h) \ | |
1065 | $(inferior_h) target.h gdb_string.h | |
1066 | ||
1067 | corefile.o: corefile.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1068 | $(inferior_h) target.h language.h gdb_string.h | |
1069 | ||
1070 | corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1071 | target.h gdbthread.h gdb_string.h | |
1072 | ||
1073 | cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1074 | $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h | |
1075 | ||
1076 | dcache.o: dcache.c $(dcache_h) $(defs_h) $(gdbcmd_h) gdb_string.h $(gdbcore_h) | |
1077 | ||
1078 | dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \ | |
1079 | complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \ | |
1080 | $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \ | |
1081 | symfile.h $(symtab_h) target.h gdb_string.h | |
1082 | ||
1083 | delta68-nat.o: delta68-nat.c $(defs_h) | |
1084 | ||
1085 | demangle.o: demangle.c $(defs_h) $(gdbcmd_h) gdb_string.h | |
1086 | ||
1087 | dink32-rom.o: dink32-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1088 | $(inferior_h) target.h serial.h terminal.h | |
1089 | ||
1090 | dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) gdb_string.h | |
1091 | ||
1092 | dstread.o: dstread.c gdb_string.h | |
1093 | ||
1094 | dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1095 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ | |
1096 | $(symtab_h) gdb_string.h | |
1097 | ||
1098 | dwarf2read.o: dwarf2read.c $(bfd_h) buildsym.h $(defs_h) \ | |
1099 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ | |
1100 | $(symtab_h) gdb_string.h | |
1101 | ||
1102 | elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1103 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h \ | |
1104 | $(BFD_SRC)/elf-bfd.h $(INCLUDE_DIR)/elf/mips.h | |
1105 | ||
1106 | environ.o: environ.c $(defs_h) environ.h $(gdbcore_h) gdb_string.h | |
1107 | ||
1108 | eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \ | |
1109 | $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \ | |
1110 | gdb_string.h | |
1111 | ||
9e0b60a8 | 1112 | event-loop.o: event-loop.c $(defs_h) $(top_h) $(event_loop_h) |
cd0fc7c3 SS |
1113 | |
1114 | event-top.o: event-top.c top.h $(readline_headers) \ | |
9e0b60a8 | 1115 | $(defs_h) $(inferior_h) $(event_loop_h) terminal.h |
cd0fc7c3 | 1116 | |
c906108c SS |
1117 | exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ |
1118 | target.h language.h gdb_string.h | |
1119 | ||
1120 | expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1121 | language.h parser-defs.h $(symtab_h) $(value_h) | |
1122 | ||
1123 | findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
1124 | gdb_string.h | |
1125 | ||
1126 | fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1127 | $(inferior_h) target.h terminal.h gdbthread.h gdb_string.h | |
1128 | ||
1129 | tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \ | |
1130 | $(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \ | |
1131 | language.h gdb_string.h $(readline_headers) | |
1132 | ||
1133 | gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h) | |
1134 | ||
1135 | gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \ | |
1136 | $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \ | |
1137 | $(value_h) gdb_string.h | |
1138 | ||
1139 | gnu-nat.o: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h \ | |
1140 | exc_request_U.h msg_U.h gnu-nat.h | |
1141 | ||
c906108c SS |
1142 | # OBSOLETE gould-tdep.o: gould-tdep.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \ |
1143 | # OBSOLETE $(gdbcore_h) $(symtab_h) | |
1144 | ||
1145 | # OBSOLETE gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1146 | ||
1147 | h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h) | |
1148 | ||
1149 | h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \ | |
1150 | $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \ | |
1151 | $(value_h) | |
1152 | ||
1153 | hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1154 | ||
1155 | hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1156 | $(inferior_h) objfiles.h symfile.h target.h | |
1157 | ||
1158 | hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h | |
1159 | ||
1160 | hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h | |
1161 | ||
1162 | i386gnu-nat.o: gnu-nat.h | |
1163 | ||
1164 | i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
1165 | gdb_string.h | |
1166 | ||
1167 | i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \ | |
1168 | language.h $(gdbcore_h) $(floatformat_h) target.h | |
1169 | ||
1170 | i386b-nat.o: i386b-nat.c $(defs_h) | |
1171 | ||
1172 | i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h | |
1173 | ||
1174 | i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h $(gdbcore_h) | |
1175 | ||
1176 | i386m3-nat.o: i386m3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) target.h | |
1177 | ||
1178 | i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1179 | ||
1180 | i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ | |
1181 | $(inferior_h) language.h target.h | |
1182 | ||
1183 | i386v4-nat.o: i386v4-nat.c $(defs_h) | |
1184 | ||
1185 | i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ | |
1186 | $(inferior_h) language.h | |
1187 | ||
1188 | i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \ | |
1189 | $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h) | |
1190 | ||
1191 | infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \ | |
1192 | $(inferior_h) target.h language.h gdb_string.h | |
1193 | ||
1194 | inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \ | |
1195 | signals.h target.h terminal.h gdbthread.h gdb_string.h | |
1196 | ||
1197 | infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
1198 | gdb_string.h $(wait_h) $(command_h) | |
1199 | ||
1200 | infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1201 | $(inferior_h) target.h gdbthread.h gdb_string.h | |
1202 | ||
1203 | inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1204 | target.h terminal.h $(command_h) | |
1205 | ||
1206 | irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) | |
1207 | irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) target.h \ | |
1208 | $(symtab_h) symfile.h objfiles.h $(command_h) $(frame_h) gnu-regex.h \ | |
1209 | language.h gdb_string.h | |
1210 | ||
1211 | isi-xdep.o: isi-xdep.c | |
1212 | ||
1213 | jv-lang.o: jv-lang.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ | |
1214 | $(expression_h) parser-defs.h language.h symfile.h objfiles.h \ | |
1215 | gdb_string.h $(value_h) c-lang.h jv-lang.h $(gdbcore_h) | |
1216 | ||
1217 | jv-typeprint.o: jv-typeprint.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ | |
1218 | $(value_h) $(INCLUDE_DIR)/demangle.h jv-lang.h gdb_string.h \ | |
7a292a7a | 1219 | typeprint.h c-lang.h |
c906108c SS |
1220 | |
1221 | jv-valprint.o: jv-valprint.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ | |
1222 | $(expression_h) $(value_h) $(INCLUDE_DIR)/demangle.h valprint.h \ | |
7a292a7a | 1223 | language.h jv-lang.h c-lang.h gdbcore.h annotate.h |
c906108c SS |
1224 | |
1225 | language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \ | |
1226 | $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \ | |
1227 | target.h $(value_h) gdb_string.h | |
1228 | ||
1229 | lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcore_h) \ | |
1230 | target.h | |
1231 | ||
1232 | m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1233 | language.h m2-lang.h parser-defs.h $(symtab_h) | |
1234 | ||
1235 | m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1236 | $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \ | |
1237 | $(value_h) gdb_string.h | |
1238 | ||
1239 | m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \ | |
1240 | valprint.h m2-lang.h | |
1241 | ||
1242 | m3-nat.o: m3-nat.c $(defs_h) $(inferior_h) $(value_h) language.h target.h \ | |
1243 | $(wait_h) $(gdbcmd_h) $(gdbcore_h) | |
1244 | ||
1245 | m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \ | |
1246 | $(gdbcore_h) gdb_string.h | |
1247 | ||
1248 | m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h | |
1249 | ||
1250 | m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \ | |
1251 | $(language_h) $(gdbcore_h) $(floatformat_h) target.h | |
1252 | ||
1253 | m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1254 | ||
1255 | m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1256 | ||
1257 | mac-nat.o: mac-nat.c $(defs_h) gdb_string.h | |
1258 | ||
392a587b | 1259 | main.o: main.c top.h $(defs_h) gdb_string.h $(event_loop_h) |
c906108c SS |
1260 | |
1261 | maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \ | |
1262 | $(expression_h) objfiles.h symfile.h | |
1263 | ||
1264 | mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ | |
1265 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ | |
1266 | objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \ | |
1267 | gdb_string.h | |
1268 | ||
1269 | mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h) | |
1270 | ||
1271 | os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ | |
1272 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ | |
1273 | objfiles.h stabsread.h symfile.h $(symtab_h) \ | |
1274 | target.h gdb_string.h | |
1275 | ||
1276 | mem-break.o: mem-break.c $(defs_h) | |
1277 | ||
1278 | minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ | |
1279 | $(symtab_h) gdb_string.h | |
1280 | ||
1281 | mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1282 | ||
1283 | mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1284 | $(inferior_h) language.h objfiles.h symfile.h gdb_string.h | |
1285 | ||
1286 | mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ | |
1287 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ | |
1288 | objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \ | |
1289 | gdb_string.h | |
1290 | ||
1291 | mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h | |
1292 | ||
1293 | monitor.o: monitor.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1294 | $(inferior_h) target.h serial.h terminal.h gdb_string.h | |
1295 | ||
1296 | news-xdep.o: news-xdep.c | |
1297 | ||
1298 | Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \ | |
1299 | nindy-share/env.h | |
1300 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c | |
1301 | ||
1302 | nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \ | |
1303 | nindy-share/env.h | |
1304 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c | |
1305 | ||
1306 | nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1307 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h \ | |
1308 | gdb_string.h | |
1309 | ||
1310 | ns32km3-nat.o: ns32km3-nat.c $(defs_h) $(inferior_h) | |
1311 | ||
1312 | ttyflush.o: nindy-share/ttyflush.c | |
1313 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c | |
1314 | ||
1315 | nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(gdbcore_h) | |
1316 | ||
1317 | ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) | |
1318 | ||
1319 | objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ | |
7a292a7a | 1320 | $(symtab_h) gdb_string.h $(breakpoint_h) |
c906108c SS |
1321 | |
1322 | osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1323 | objfiles.h gnu-regex.h symfile.h target.h language.h gdb_string.h | |
1324 | ||
1325 | somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1326 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1327 | ||
1328 | somsolib.o: somsolib.c $(defs_h) | |
1329 | ||
1330 | hpux-thread.o: hpux-thread.c $(defs_h) gdbthread.h target.h inferior.h | |
1331 | $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \ | |
1332 | -I$(srcdir)/osf-share/HP800 -I/usr/include/dce $(srcdir)/hpux-thread.c | |
1333 | ||
1334 | # FIXME!!! | |
1335 | hpread.o: hpread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1336 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1337 | ||
1338 | hp-psymtab-read.o: hp-psymtab-read.c hpread.h $(bfd_h) buildsym.h complaints.h \ | |
1339 | $(defs_h) gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1340 | ||
1341 | hp-symtab-read.o: hp-symtab-read.c hpread.h $(bfd_h) buildsym.h complaints.h \ | |
1342 | $(defs_h) gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1343 | # END FIXME!!! | |
1344 | ||
1345 | parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \ | |
1346 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ | |
1347 | gdb_string.h | |
1348 | ||
1349 | ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) gdb_string.h $(frame_h) \ | |
1350 | $(inferior_h) $(bfd_h) symfile.h target.h $(wait_h) $(gdbcmd_h) \ | |
1351 | objfiles.h gdb-stabs.h serial.h ocd.h | |
1352 | ||
1353 | ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1354 | $(inferior_h) target.h serial.h terminal.h | |
1355 | ||
1356 | printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \ | |
1357 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ | |
1358 | symfile.h $(symtab_h) target.h gdb_string.h | |
1359 | ||
1360 | procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1361 | target.h gdb_string.h | |
1362 | ||
1363 | pyr-tdep.o: pyr-tdep.c $(defs_h) | |
1364 | ||
1365 | pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1366 | ||
1367 | gnu-regex.o: gnu-regex.c gnu-regex.h $(defs_h) gdb_string.h | |
1368 | ||
1369 | remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1370 | $(inferior_h) target.h terminal.h gdb_string.h | |
1371 | ||
1372 | remote-array.o: remote-array.c $(wait_h) $(defs_h) $(gdbcore_h) target.h \ | |
1373 | gdb_string.h $(command_h) serial.h monitor.h $(remote_utils_h) | |
1374 | ||
1375 | remote-rdi.o: remote-rdi.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1376 | $(inferior_h) gdb_string.h | |
1377 | ||
1378 | rdi-share/libangsd.a: force | |
1379 | @dir=rdi-share; \ | |
1380 | if [ -f ./$${dir}/Makefile ] ; then \ | |
1381 | r=`pwd`; export r; \ | |
1382 | srcroot=`cd $(srcdir); pwd`; export srcroot; \ | |
1383 | (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ | |
1384 | else \ | |
1385 | true; \ | |
1386 | fi | |
1387 | ||
1388 | remote-d10v.o: remote-d10v.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1389 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h | |
1390 | ||
1391 | remote-rdp.o: remote-rdp.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1392 | $(inferior_h) gdb_string.h | |
1393 | ||
1394 | remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1395 | $(inferior_h) target.h terminal.h $(remote_utils_h) gdb_string.h | |
1396 | ||
1397 | remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \ | |
1398 | $(wait_h) serial.h gdb_string.h | |
1399 | ||
1400 | remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \ | |
1401 | $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h \ | |
1402 | gdb_string.h | |
1403 | ||
1404 | remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \ | |
1405 | $(inferior_h) $(remote_utils_h) terminal.h gdb_string.h | |
1406 | ||
1407 | remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1408 | $(inferior_h) serial.h target.h terminal.h gdb_string.h | |
1409 | ||
1410 | remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1411 | $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h | |
1412 | ||
1413 | remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \ | |
1414 | minimon.h target.h terminal.h gdb_string.h | |
1415 | ||
1416 | remote-nindy.o: remote-nindy.c $(floatformat_h) $(wait_h) $(command_h) \ | |
1417 | $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1418 | nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \ | |
1419 | symfile.h | |
1420 | ||
1421 | remote-os9k.o: remote-os9k.c $(defs_h) $(gdbcore_h) $(wait_h) \ | |
1422 | $(command_h) monitor.h $(remote_utils_h) $(symtab_h) symfile.h \ | |
1423 | objfiles.h gdb-stabs.h gdb_string.h | |
1424 | ||
1425 | remote-sds.o: remote-sds.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1426 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h | |
1427 | ||
1428 | remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \ | |
1429 | $(inferior_h) target.h terminal.h gdb_string.h \ | |
1430 | $(INCLUDE_DIR)/callback.h | |
1431 | ||
1432 | remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \ | |
1433 | target.h gdb_string.h | |
1434 | ||
1435 | remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1436 | $(inferior_h) target.h terminal.h $(udiheaders) gdb_string.h | |
1437 | ||
1438 | remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \ | |
1439 | $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \ | |
1440 | vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \ | |
1441 | vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h) \ | |
1442 | gdb_string.h | |
1443 | ||
1444 | remote-vx29k.o: remote-vx29k.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \ | |
1445 | $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \ | |
1446 | vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \ | |
1447 | vx-share/xdr_rdb.h gdb_string.h | |
1448 | ||
1449 | ocd.o: ocd.c ocd.h $(gdbcore_h) gdb_string.h $(frame_h) $(inferior_h) \ | |
1450 | $(bfd_h) symfile.h target.h $(wait_h) $(gdbcmd_h) objfiles.h \ | |
1451 | gdb-stabs.h $(dcache_h) serial.h | |
1452 | ||
1453 | remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1454 | $(inferior_h) $(remote_utils_h) gdb_string.h | |
1455 | ||
1456 | remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1457 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h | |
1458 | ||
1459 | remote-nrom.o: remote-nrom.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1460 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h | |
1461 | ||
1462 | rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1463 | $(inferior_h) target.h serial.h terminal.h | |
1464 | ||
1465 | rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h \ | |
1466 | xcoffsolib.h | |
1467 | ||
1468 | rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1469 | target.h xcoffsolib.h | |
1470 | ||
1471 | scm-exp.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \ | |
1472 | scm-lang.h scm-tags.h | |
1473 | ||
1474 | scm-lang.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \ | |
1475 | scm-lang.h scm-tags.h gdb_string.h $(gdbcore_h) | |
1476 | ||
1477 | scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \ | |
1478 | scm-lang.h valprint.h $(gdbcore_h) | |
1479 | ||
1480 | ser-go32.o: ser-go32.c $(defs_h) serial.h | |
1481 | ||
1482 | ser-mac.o: ser-mac.c $(defs_h) serial.h signals.h | |
1483 | ||
1484 | ser-ocd.o: ser-ocd.c $(defs_h) serial.h signals.h gdb_string.h | |
1485 | ||
1486 | ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h | |
1487 | ||
1488 | ser-unix.o: ser-unix.c $(defs_h) serial.h | |
1489 | ||
1490 | serial.o: serial.c $(defs_h) serial.h gdb_string.h | |
1491 | ||
1492 | sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \ | |
1493 | $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \ | |
1494 | $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h) | |
1495 | ||
1496 | sh3-rom.o: sh3-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1497 | $(inferior_h) target.h serial.h terminal.h | |
1498 | ||
1499 | mon960-rom.o: mon960-rom.c monitor.h $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \ | |
1500 | $(inferior_h) target.h serial.h terminal.h | |
1501 | ||
1502 | solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1503 | objfiles.h gnu-regex.h symfile.h target.h gdb_string.h | |
1504 | ||
1505 | source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \ | |
1506 | $(gdbcore_h) language.h objfiles.h gnu-regex.h symfile.h $(symtab_h) \ | |
1507 | gdb_string.h | |
1508 | ||
1509 | sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(gdbcore_h) \ | |
1510 | target.h | |
1511 | ||
1512 | sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ | |
1513 | $(inferior_h) objfiles.h symfile.h target.h gdb_string.h | |
1514 | ||
1515 | sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h | |
1516 | ||
1517 | dsrec.o: dsrec.c $(defs_h) srec.h | |
1518 | ||
1519 | stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ | |
1520 | $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \ | |
1521 | $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h) \ | |
1522 | gdb_string.h | |
1523 | ||
1524 | stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ | |
1525 | language.h target.h gdb_string.h | |
1526 | ||
7a292a7a | 1527 | ax-general.o: ax-general.c $(ax_h) $(defs_h) $(value_h) |
c906108c SS |
1528 | ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) symfile.h $(gdbtypes_h) \ |
1529 | $(value_h) $(expression_h) $(command_h) $(ax_h) $(gdbcmd_h) ax-gdb.h | |
1530 | ||
1531 | sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1532 | ||
1533 | sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) | |
1534 | ||
1535 | symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \ | |
1536 | $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \ | |
1537 | language.h objfiles.h symfile.h $(symtab_h) target.h \ | |
1538 | gdb_string.h | |
1539 | ||
1540 | symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1541 | ||
1542 | symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1543 | ||
1544 | symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \ | |
1545 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ | |
1546 | $(symtab_h) gdb_string.h | |
1547 | ||
1548 | symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \ | |
1549 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ | |
1550 | gnu-regex.h symfile.h $(symtab_h) target.h $(value_h) \ | |
1551 | gdb_string.h | |
1552 | ||
1553 | tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \ | |
1554 | $(symtab_h) | |
1555 | ||
7a292a7a SS |
1556 | tic80-tdep.o: tic80-tdep.c $(defs_h) |
1557 | ||
c906108c SS |
1558 | target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \ |
1559 | objfiles.h symfile.h target.h gdb_string.h | |
1560 | ||
cd0fc7c3 | 1561 | thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h) target.h |
c906108c SS |
1562 | |
1563 | top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \ | |
1564 | $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \ | |
cd0fc7c3 | 1565 | $(remote_utils_h) gdb_string.h $(event_loop_h) |
c906108c SS |
1566 | |
1567 | typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1568 | $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ | |
1569 | $(value_h) gdb_string.h | |
1570 | ||
1571 | ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1572 | ||
1573 | ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1574 | ||
1575 | umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1576 | ||
1577 | utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1578 | language.h signals.h target.h terminal.h $(readline_headers) \ | |
1579 | gdb_string.h | |
1580 | ||
1581 | valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \ | |
1582 | $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \ | |
1583 | gdb_string.h | |
1584 | ||
1585 | valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
1586 | gdb_string.h | |
1587 | ||
1588 | valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1589 | $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ | |
1590 | $(value_h) gdb_string.h valprint.h | |
1591 | ||
1592 | values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \ | |
1593 | $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h) \ | |
1594 | gdb_string.h scm-lang.h | |
1595 | ||
1596 | vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h) | |
1597 | ||
1598 | w65-tdep.o : w65-tdep.c $(gdbcore_h) | |
1599 | ||
1600 | win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ | |
1601 | gdb_string.h | |
1602 | ||
1603 | xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \ | |
1604 | vx-share/vxWorks.h vx-share/xdr_ld.h | |
1605 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c | |
1606 | ||
1607 | xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \ | |
1608 | vx-share/vxWorks.h vx-share/xdr_ptrace.h | |
1609 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c | |
1610 | ||
1611 | xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \ | |
1612 | vx-share/vxWorks.h vx-share/xdr_rdb.h | |
1613 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c | |
1614 | ||
1615 | xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ | |
1616 | $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \ | |
1617 | $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \ | |
1618 | complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \ | |
1619 | $(symtab_h) partial-stab.h gdb_string.h | |
1620 | ||
1621 | xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h | |
1622 | ||
1623 | z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \ | |
1624 | $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(gdbcore_h) | |
1625 | ||
1626 | c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \ | |
1627 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ | |
1628 | $(bfd_h) objfiles.h symfile.h | |
1629 | ||
1630 | jv-exp.tab.o: jv-exp.tab.c jv-lang.h $(defs_h) $(expression_h) \ | |
1631 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ | |
1632 | $(bfd_h) objfiles.h symfile.h | |
1633 | ||
1634 | f-exp.tab.o: f-exp.tab.c f-lang.h $(defs_h) $(expression_h) \ | |
1635 | language.h parser-defs.h $(value_h) $(bfd_h) objfiles.h symfile.h | |
1636 | ||
1637 | m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1638 | language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \ | |
1639 | $(bfd_h) objfiles.h symfile.h | |
1640 | ||
ac9a91a7 | 1641 | |
c906108c | 1642 | ### end of the gdb Makefile.in. |