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