Commit | Line | Data |
---|---|---|
6688f7e9 AC |
1 | # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, |
2 | # 1998, 1999, 2000 Free Software Foundation, Inc. | |
c906108c SS |
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@ | |
085dd6e6 | 42 | htmldir = $(prefix)/html |
c906108c SS |
43 | includedir = @includedir@ |
44 | ||
45 | # This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT. | |
46 | top_builddir = . | |
47 | ||
48 | SHELL = @SHELL@ | |
49 | EXEEXT = @EXEEXT@ | |
50 | ||
7a292a7a | 51 | AWK = @AWK@ |
b3a90332 | 52 | LN_S = @LN_S@ |
7a292a7a | 53 | |
c906108c SS |
54 | INSTALL = @INSTALL@ |
55 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
56 | INSTALL_DATA = @INSTALL_DATA@ | |
57 | ||
58 | AR = @AR@ | |
59 | AR_FLAGS = qv | |
60 | RANLIB = @RANLIB@ | |
61 | DLLTOOL = @DLLTOOL@ | |
62 | WINDRES = @WINDRES@ | |
b9f21955 | 63 | MIG = @MIG@ |
c906108c | 64 | |
c906108c SS |
65 | # Flags that describe where you can find the termcap library. |
66 | # This can be overridden in the host Makefile fragment file. | |
67 | TERMCAP = @TERM_LIB@ | |
68 | ||
69 | # If you are compiling with GCC, make sure that either 1) You have the | |
70 | # fixed include files where GCC can reach them, or 2) You use the | |
71 | # -traditional flag. Otherwise the ioctl calls in inflow.c | |
72 | # will be incorrectly compiled. The "fixincludes" script in the gcc | |
73 | # distribution will fix your include files up. | |
74 | CC=@CC@ | |
75 | ||
76 | # Directory containing source files. | |
77 | srcdir = @srcdir@ | |
78 | VPATH = @srcdir@ | |
79 | ||
80 | YACC=@YACC@ | |
81 | ||
82 | YLWRAP = $(srcdir)/../ylwrap | |
83 | ||
84 | # where to find makeinfo, preferably one designed for texinfo-2 | |
85 | MAKEINFO=makeinfo | |
86 | ||
085dd6e6 JM |
87 | MAKEHTML = texi2html |
88 | ||
89 | MAKEHTMLFLAGS = -glossary -menu -split_chapter | |
90 | ||
c906108c SS |
91 | # Set this up with gcc if you have gnu ld and the loader will print out |
92 | # line numbers for undefined references. | |
93 | #CC_LD=gcc -static | |
94 | CC_LD=$(CC) | |
95 | ||
96 | # Where is our "include" directory? Typically $(srcdir)/../include. | |
97 | # This is essentially the header file directory for the library | |
98 | # routines in libiberty. | |
99 | INCLUDE_DIR = $(srcdir)/../include | |
100 | INCLUDE_CFLAGS = -I$(INCLUDE_DIR) | |
101 | ||
102 | # Where is the "-liberty" library? Typically in ../libiberty. | |
103 | LIBIBERTY = ../libiberty/libiberty.a | |
104 | ||
105 | # Configured by the --with-mmalloc option to configure. | |
106 | MMALLOC = @MMALLOC@ | |
107 | MMALLOC_CFLAGS = @MMALLOC_CFLAGS@ | |
108 | ||
b4df4f68 FN |
109 | # Configured by the --with-uiout option to configure. |
110 | UIOUT_CFLAGS = @UIOUT_CFLAGS@ | |
111 | ||
88987551 L |
112 | # We are using our own version of REGEX now to be consistent across |
113 | # machines. | |
114 | REGEX = @REGEX@ | |
88987551 | 115 | |
c906108c SS |
116 | # Where is the BFD library? Typically in ../bfd. |
117 | BFD_DIR = ../bfd | |
118 | BFD = $(BFD_DIR)/libbfd.a | |
119 | BFD_SRC = $(srcdir)/$(BFD_DIR) | |
120 | BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC) | |
121 | ||
122 | # Where is the READLINE library? Typically in ../readline. | |
123 | READLINE_DIR = ../readline | |
124 | READLINE = $(READLINE_DIR)/libreadline.a | |
125 | READLINE_SRC = $(srcdir)/$(READLINE_DIR) | |
126 | READLINE_CFLAGS = -I$(READLINE_SRC)/.. | |
127 | ||
128 | WARN_CFLAGS = @WARN_CFLAGS@ | |
104c1213 | 129 | WERROR_CFLAGS = @WERROR_CFLAGS@ |
d4f3574e SS |
130 | GDB_WARN_CFLAGS = $(WARN_CFLAGS) |
131 | GDB_WERROR_CFLAGS = $(WERROR_CFLAGS) | |
c906108c SS |
132 | |
133 | # Where is the INTL library? Typically in ../intl. | |
134 | INTL_DIR = ../intl | |
135 | INTL = @INTLLIBS@ | |
136 | INTL_DEPS = @INTLDEPS@ | |
137 | INTL_SRC = $(srcdir)/$(INTL_DIR) | |
138 | INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC) | |
139 | ||
d318976c FN |
140 | # |
141 | # CLI sub directory definitons | |
142 | # | |
143 | SUBDIR_CLI_OBS = \ | |
144 | cli-decode.o cli-script.o cli-cmds.o cli-setshow.o | |
145 | SUBDIR_CLI_SRCS = \ | |
4226a5a5 | 146 | cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c |
d318976c FN |
147 | SUBDIR_CLI_DEPS = |
148 | SUBDIR_CLI_INITS = | |
149 | SUBDIR_CLI_LDFLAGS= | |
150 | SUBDIR_CLI_CFLAGS= | |
151 | SUBDIR_CLI_ALL= | |
152 | SUBDIR_CLI_CLEAN= | |
153 | SUBDIR_CLI_INSTALL= | |
154 | SUBDIR_CLI_UNINSTALL= | |
155 | ||
fb40c209 AC |
156 | # |
157 | # MI sub directory definitons | |
158 | # | |
159 | SUBDIR_MI_OBS = \ | |
160 | mi-out.o mi-console.o \ | |
161 | mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o \ | |
162 | mi-cmd-disas.o \ | |
163 | mi-main.o mi-parse.o mi-getopt.o | |
164 | SUBDIR_MI_SRCS = \ | |
165 | mi/mi-out.c mi/mi-console.c \ | |
166 | mi/mi-cmds.c \ | |
167 | mi/mi-cmd-var.c mi/mi-cmd-break.c mi/mi-cmd-stack.c \ | |
168 | mi/mi-cmd-disas.c \ | |
169 | mi/mi-main.c mi/mi-parse.c mi/mi-getopt.c | |
170 | SUBDIR_MI_DEPS = | |
171 | SUBDIR_MI_INITS = \ | |
4226a5a5 | 172 | mi/mi-cmds.c mi/mi-parse.c mi/mi-main.c mi/mi-out.c |
fb40c209 AC |
173 | SUBDIR_MI_LDFLAGS= |
174 | SUBDIR_MI_CFLAGS= \ | |
b4df4f68 | 175 | -DMI_OUT=1 |
b3a90332 AC |
176 | SUBDIR_MI_ALL= |
177 | SUBDIR_MI_CLEAN= | |
e56ac5c3 AC |
178 | SUBDIR_MI_INSTALL= |
179 | SUBDIR_MI_UNINSTALL= | |
fb40c209 | 180 | |
ed952ac5 AC |
181 | # |
182 | # TUI sub directory definitions | |
183 | # | |
184 | SUBDIR_TUI_OBS = \ | |
185 | tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o \ | |
186 | tuiGeneralWin.o tuiLayout.o tuiWin.o tuiCommand.o \ | |
187 | tuiDisassem.o tuiSourceWin.o tuiRegs.o tuiDataWin.o | |
188 | SUBDIR_TUI_SRCS = \ | |
189 | tui/tui.c tui/tuiData.c tui/tuiSource.c \ | |
190 | tui/tuiStack.c tui/tuiIO.c \ | |
191 | tui/tuiGeneralWin.c tui/tuiLayout.c \ | |
192 | tui/tuiWin.c tui/tuiCommand.c \ | |
193 | tui/tuiDisassem.c tui/tuiSourceWin.c \ | |
194 | tui/tuiRegs.c tui/tuiDataWin.c | |
195 | SUBDIR_TUI_DEPS = | |
196 | SUBDIR_TUI_INITS = \ | |
197 | $(SUBDIR_TUI_SRCS) | |
198 | SUBDIR_TUI_LDFLAGS= | |
199 | SUBDIR_TUI_CFLAGS= \ | |
200 | -DTUI=1 -I${srcdir}/tui | |
201 | SUBDIR_TUI_ALL= | |
202 | SUBDIR_TUI_CLEAN= | |
203 | SUBDIR_TUI_INSTALL= | |
204 | SUBDIR_TUI_UNINSTALL= | |
205 | ||
206 | ||
207 | ||
c906108c SS |
208 | # Opcodes currently live in one of two places. Either they are in the |
209 | # opcode library, typically ../opcodes, or they are in a header file | |
210 | # in INCLUDE_DIR. | |
211 | # Where is the "-lopcodes" library, with (some of) the opcode tables and | |
212 | # disassemblers? | |
213 | OPCODES = ../opcodes/libopcodes.a | |
214 | # Where are the other opcode tables which only have header file | |
215 | # versions? | |
216 | OP_INCLUDE = $(INCLUDE_DIR)/opcode | |
217 | OPCODES_CFLAGS = -I$(OP_INCLUDE) | |
218 | ||
219 | # The simulator is usually nonexistent; targets that include one | |
220 | # should set this to list all the .o or .a files to be linked in. | |
221 | SIM = | |
222 | ||
cd0fc7c3 SS |
223 | WIN32LIBS = @WIN32LIBS@ |
224 | ||
3fc11d3e JM |
225 | # Where is the TCL library? Typically in ../tcl. |
226 | LIB_INSTALL_DIR = $(libdir) | |
227 | # This variable is needed when doing dynamic linking. | |
228 | LIB_RUNTIME_DIR = $(libdir) | |
229 | TCL = @TCL_LD_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@ | |
230 | TCL_CFLAGS = @TCLHDIR@ | |
231 | TCL_DEPS = | |
232 | GDBTKLIBS = @GDBTKLIBS@ | |
233 | # Extra flags that the GDBTK files need: | |
234 | GDBTK_CFLAGS = @GDBTK_CFLAGS@ | |
235 | ||
236 | # Where is the TK library? Typically in ../tk. | |
237 | TK = @TK_BUILD_LIB_SPEC@ | |
238 | TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@ | |
239 | TK_DEPS = | |
240 | ||
241 | # Where is Itcl? Typically in ../itcl/itcl. | |
242 | ITCL_CFLAGS = @ITCLHDIR@ | |
243 | ITCL = @ITCLLIB@ | |
244 | ITCL_DEPS = @ITCL_DEPS@ | |
245 | ||
246 | # Where is Itk? Typically in ../itcl/itk. | |
247 | ITK_CFLAGS = @ITKHDIR@ | |
248 | ITK = @ITKLIB@ | |
249 | ITK_DEPS = @ITK_DEPS@ | |
250 | ||
251 | # Where is Tix? Typically in ../tix. | |
252 | TIX_CFLAGS = @TIXHDIR@ | |
253 | TIX = @TIXLIB@ | |
254 | TIX_DEPS = @TIX_DEPS@ | |
255 | ||
256 | X11_CFLAGS = @TK_XINCLUDES@ | |
257 | X11_LDFLAGS = | |
258 | X11_LIBS = | |
259 | ||
260 | WIN32LDAPP = @WIN32LDAPP@ | |
261 | ||
3fc11d3e JM |
262 | LIBGUI = @LIBGUI@ |
263 | GUI_CFLAGS_X = @GUI_CFLAGS_X@ | |
264 | IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X) | |
4226a5a5 FN |
265 | |
266 | SUBDIR_GDBTK_OBS = \ | |
267 | gdbtk.o gdbtk-cmds.o gdbtk-hooks.o gdbtk-varobj.o gdbtk-wrapper.o | |
268 | SUBDIR_GDBTK_SRCS = \ | |
269 | gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-cmds.c \ | |
270 | gdbtk/generic/gdbtk-hooks.c gdbtk/generic/gdbtk-varobj.c \ | |
271 | gdbtk/generic/gdbtk-wrapper.c | |
272 | SUBDIR_GDBTK_DEPS = \ | |
273 | $(LIBGUI) $(ITCL_DEPS) $(ITK_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS) | |
274 | SUBDIR_GDBTK_INITS = gdbtk/generic/gdbtk.c | |
275 | SUBDIR_GDBTK_LDFLAGS= | |
276 | SUBDIR_GDBTK_CFLAGS= -DGDBTK | |
b3a90332 AC |
277 | SUBDIR_GDBTK_ALL= all-gdbtk |
278 | SUBDIR_GDBTK_CLEAN= clean-gdbtk | |
e56ac5c3 AC |
279 | SUBDIR_GDBTK_INSTALL= install-gdbtk |
280 | SUBDIR_GDBTK_UNINSTALL= | |
c906108c | 281 | |
fb40c209 | 282 | CONFIG_OBS= @CONFIG_OBS@ |
66b965bb | 283 | CONFIG_LIB_OBS= @CONFIG_LIB_OBS@ |
fb40c209 AC |
284 | CONFIG_SRCS= @CONFIG_SRCS@ |
285 | CONFIG_DEPS= @CONFIG_DEPS@ | |
286 | CONFIG_INITS= @CONFIG_INITS@ | |
287 | CONFIG_LDFLAGS = @CONFIG_LDFLAGS@ | |
c906108c | 288 | ENABLE_CFLAGS= @ENABLE_CFLAGS@ |
b3a90332 AC |
289 | CONFIG_ALL= @CONFIG_ALL@ |
290 | CONFIG_CLEAN= @CONFIG_CLEAN@ | |
291 | CONFIG_CLEAN= @CONFIG_CLEAN@ | |
e56ac5c3 AC |
292 | CONFIG_INSTALL = @CONFIG_INSTALL@ |
293 | CONFIG_UNINSTALL = @CONFIG_UNINSTALL@ | |
c906108c SS |
294 | |
295 | # -I. for config files. | |
296 | # -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also. | |
297 | # -I$(srcdir)/config for more generic config files. | |
298 | ||
299 | # It is also possible that you will need to add -I/usr/include/sys if | |
300 | # your system doesn't have fcntl.h in /usr/include (which is where it | |
301 | # should be according to Posix). | |
302 | DEFS = @DEFS@ | |
303 | GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config $(DEFS) | |
304 | ||
305 | # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS | |
306 | # from the config directory. | |
307 | GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS) | |
308 | #PROFILE_CFLAGS = -pg | |
309 | ||
310 | # CFLAGS is specifically reserved for setting from the command line | |
311 | # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". | |
1decb323 | 312 | CFLAGS = @CFLAGS@ |
c906108c SS |
313 | |
314 | # Need to pass this to testsuite for "make check". Probably should be | |
315 | # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in | |
316 | # so "make check" has the same result no matter where it is run. | |
317 | CXXFLAGS = -g -O | |
318 | ||
319 | # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. | |
104c1213 JM |
320 | INTERNAL_WARN_CFLAGS = \ |
321 | $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ | |
c906108c SS |
322 | $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ |
323 | $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \ | |
b4df4f68 | 324 | $(INTL_CFLAGS) $(ENABLE_CFLAGS) $(UIOUT_CFLAGS) \ |
e48f66e4 | 325 | $(GDB_WARN_CFLAGS) |
d4f3574e | 326 | INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS) |
c906108c SS |
327 | |
328 | # LDFLAGS is specifically reserved for setting from the command line | |
329 | # when running make. | |
330 | ||
331 | # Profiling options need to go here to work. | |
332 | # I think it's perfectly reasonable for a user to set -pg in CFLAGS | |
333 | # and have it work; that's why CFLAGS is here. | |
7a78ae4e | 334 | INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_LDFLAGS) @HLDFLAGS@ |
c906108c SS |
335 | HLDENV = @HLDENV@ |
336 | ||
c906108c SS |
337 | # If your system is missing alloca(), or, more likely, it's there but |
338 | # it doesn't work, then refer to libiberty. | |
339 | ||
340 | # Libraries and corresponding dependencies for compiling gdb. | |
341 | # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs. | |
342 | # TERMCAP comes after readline, since readline depends on it. | |
343 | # MMALLOC comes after anything else that might want an allocation function. | |
344 | # LIBIBERTY appears twice on purpose. | |
345 | # If you have the Cygnus libraries installed, | |
346 | # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS=' | |
347 | INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \ | |
348 | $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ | |
349 | -lmmalloc -lintl -liberty | |
350 | CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \ | |
351 | $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ | |
352 | $(MMALLOC) $(LIBIBERTY) $(WIN32LIBS) | |
353 | CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \ | |
fb40c209 | 354 | $(OPCODES) $(MMALLOC) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) |
c906108c SS |
355 | |
356 | ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) | |
88987551 | 357 | ADD_DEPS = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) |
c906108c | 358 | |
b08dff7b | 359 | VERSION = 5.0 |
c906108c SS |
360 | DIST=gdb |
361 | ||
362 | LINT=/usr/5bin/lint | |
363 | LINTFLAGS= $(BFD_CFLAGS) | |
364 | ||
365 | RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \ | |
366 | echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \ | |
367 | fi` | |
368 | ||
369 | RUNTESTFLAGS= | |
370 | ||
371 | # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX | |
372 | # interface to the serial port. Hopefully if get ported to OS/2, VMS, | |
373 | # etc., then there will be (as part of the C library or perhaps as | |
374 | # part of libiberty) a POSIX interface. But at least for now the | |
375 | # host-dependent makefile fragment might need to use something else | |
376 | # besides ser-unix.o | |
6688f7e9 | 377 | SER_HARDWIRE = @SER_HARDWIRE@ |
c906108c SS |
378 | |
379 | # The `remote' debugging target is supported for most architectures, | |
380 | # but not all (e.g. 960) | |
381 | REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o | |
382 | ||
383 | # This is remote-sim.o if a simulator is to be linked in. | |
384 | SIM_OBS = | |
385 | ||
386 | ANNOTATE_OBS = annotate.o | |
387 | ||
388 | # Host and target-dependent makefile fragments come in here. | |
389 | @host_makefile_frag@ | |
390 | @target_makefile_frag@ | |
391 | # End of host and target-dependent makefile fragments | |
392 | ||
7a292a7a SS |
393 | # Possibly ignore the simulator. If the simulator is being ignored, |
394 | # these expand into SIM= and SIM_OBJ=, overriding the entries from | |
395 | # target_makefile_frag | |
396 | # | |
397 | @IGNORE_SIM@ | |
398 | @IGNORE_SIM_OBS@ | |
399 | ||
c906108c SS |
400 | FLAGS_TO_PASS = \ |
401 | "prefix=$(prefix)" \ | |
402 | "exec_prefix=$(exec_prefix)" \ | |
6688f7e9 | 403 | "infodir=$(infodir)" \ |
c906108c SS |
404 | "against=$(against)" \ |
405 | "AR=$(AR)" \ | |
406 | "AR_FLAGS=$(AR_FLAGS)" \ | |
407 | "CC=$(CC)" \ | |
408 | "CFLAGS=$(CFLAGS)" \ | |
409 | "CHILLFLAGS=$(CHILLFLAGS)" \ | |
410 | "CHILL=$(CHILL)" \ | |
411 | "CHILL_LIB=$(CHILL_LIB)" \ | |
412 | "CXX=$(CXX)" \ | |
413 | "CXXFLAGS=$(CXXFLAGS)" \ | |
414 | "DLLTOOL=$(DLLTOOL)" \ | |
415 | "RANLIB=$(RANLIB)" \ | |
416 | "MAKEINFO=$(MAKEINFO)" \ | |
085dd6e6 JM |
417 | "MAKEHTML=$(MAKEHTML)" \ |
418 | "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \ | |
c906108c SS |
419 | "INSTALL=$(INSTALL)" \ |
420 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
421 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
422 | "RUNTEST=$(RUNTEST)" \ | |
423 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" | |
424 | ||
425 | # Flags that we pass when building the testsuite. | |
426 | ||
427 | # empty for native, $(target_alias)/ for cross | |
428 | target_subdir = @target_subdir@ | |
429 | ||
430 | CC_FOR_TARGET = ` \ | |
431 | if [ -f $${rootme}/../gcc/xgcc ] ; then \ | |
432 | if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \ | |
433 | 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/; \ | |
434 | else \ | |
435 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ | |
436 | fi; \ | |
437 | else \ | |
438 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ | |
439 | echo $(CC); \ | |
440 | else \ | |
441 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ | |
442 | fi; \ | |
443 | fi` | |
444 | ||
445 | CXX = gcc | |
446 | CXX_FOR_TARGET = ` \ | |
447 | if [ -f $${rootme}/../gcc/xgcc ] ; then \ | |
448 | if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \ | |
449 | 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/; \ | |
450 | else \ | |
451 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ | |
452 | fi; \ | |
453 | else \ | |
454 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ | |
455 | echo $(CXX); \ | |
456 | else \ | |
457 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ | |
458 | fi; \ | |
459 | fi` | |
460 | ||
461 | CHILLFLAGS = $(CFLAGS) | |
462 | CHILL = gcc | |
463 | CHILL_FOR_TARGET = ` \ | |
464 | if [ -f $${rootme}/../gcc/Makefile ] ; then \ | |
465 | echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../gcc/ch/runtime/; \ | |
466 | else \ | |
467 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ | |
468 | echo $(CC); \ | |
469 | else \ | |
470 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ | |
471 | fi; \ | |
472 | fi` | |
473 | CHILL_LIB = ` \ | |
474 | if [ -f $${rootme}/../gcc/ch/runtime/libchill.a ] ; then \ | |
475 | echo $${rootme}/../gcc/ch/runtime/chillrt0.o \ | |
476 | $${rootme}/../gcc/ch/runtime/libchill.a; \ | |
477 | else \ | |
478 | echo -lchill; \ | |
479 | fi` | |
480 | ||
481 | # The use of $$(x_FOR_TARGET) reduces the command line length by not | |
482 | # duplicating the lengthy definition. | |
483 | TARGET_FLAGS_TO_PASS = \ | |
484 | "prefix=$(prefix)" \ | |
485 | "exec_prefix=$(exec_prefix)" \ | |
486 | "against=$(against)" \ | |
487 | 'CC=$$(CC_FOR_TARGET)' \ | |
488 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ | |
489 | "CFLAGS=$(CFLAGS)" \ | |
490 | "CHILLFLAGS=$(CHILLFLAGS)" \ | |
491 | 'CHILL=$$(CHILL_FOR_TARGET)' \ | |
492 | "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \ | |
493 | "CHILL_LIB=$(CHILL_LIB)" \ | |
494 | 'CXX=$$(CXX_FOR_TARGET)' \ | |
495 | "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ | |
496 | "CXXFLAGS=$(CXXFLAGS)" \ | |
497 | "INSTALL=$(INSTALL)" \ | |
498 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
499 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
500 | "MAKEINFO=$(MAKEINFO)" \ | |
085dd6e6 | 501 | "MAKEHTML=$(MAKEHTML)" \ |
c906108c SS |
502 | "RUNTEST=$(RUNTEST)" \ |
503 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" | |
504 | ||
505 | # All source files that go into linking GDB. | |
506 | # Links made at configuration time should not be specified here, since | |
507 | # SFILES is used in building the distribution archive. | |
508 | ||
509 | SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \ | |
510 | buildsym.c c-exp.y c-lang.c c-typeprint.c c-valprint.c \ | |
511 | ch-exp.c ch-lang.c ch-typeprint.c ch-valprint.c coffread.c \ | |
d318976c | 512 | complaints.c completer.c corefile.c cp-valprint.c dbxread.c \ |
c906108c | 513 | demangle.c dwarfread.c dwarf2read.c elfread.c environ.c eval.c \ |
cd0fc7c3 | 514 | event-loop.c event-top.c \ |
c906108c | 515 | expprint.c f-exp.y f-lang.c f-typeprint.c f-valprint.c \ |
32178cab | 516 | findvar.c regcache.c gdbarch.c arch-utils.c gdbtypes.c \ |
2acceee2 | 517 | inf-loop.c infcmd.c inflow.c infrun.c language.c \ |
96baa820 | 518 | kod.c kod-cisco.c \ |
8b93c638 JM |
519 | ui-out.c cli-out.c \ |
520 | varobj.c wrapper.c \ | |
c906108c SS |
521 | jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \ |
522 | m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \ | |
df115219 PM |
523 | mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c \ |
524 | p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c \ | |
c906108c SS |
525 | printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c \ |
526 | scm-valprint.c source.c stabsread.c stack.c symfile.c \ | |
50641945 | 527 | symmisc.c symtab.c linespec.c target.c thread.c top.c tracepoint.c \ |
c906108c SS |
528 | typeprint.c utils.c valarith.c valops.c valprint.c values.c \ |
529 | serial.c ser-unix.c mdebugread.c os9kread.c \ | |
530 | tui/tui.c tui/tui.h tui/tuiCommand.c tui/tuiCommand.h \ | |
531 | tui/tuiData.c tui/tuiData.h tui/tuiDataWin.c tui/tuiDataWin.h \ | |
532 | tui/tuiDisassem.c tui/tuiDisassem.h tui/tuiGeneralWin.c \ | |
533 | tui/tuiGeneralWin.h tui/tuiIO.c tui/tuiIO.h tui/tuiLayout.c \ | |
534 | tui/tuiLayout.h tui/tuiRegs.c tui/tuiRegs.h tui/tuiSource.c \ | |
535 | tui/tuiSource.h tui/tuiSourceWin.c tui/tuiSourceWin.h \ | |
da59e081 JM |
536 | tui/tuiStack.c tui/tuiStack.h tui/tuiWin.c tui/tuiWin.h \ |
537 | tui/tui-file.h tui/tui-file.c \ | |
d9fcf2fb | 538 | ui-file.h ui-file.c |
c906108c | 539 | |
fb40c209 | 540 | LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c |
c906108c SS |
541 | |
542 | # "system" headers. Using these in dependencies is a rather personal | |
543 | # choice. (-rich, summer 1993) | |
544 | # (Why would we not want to depend on them? If one of these changes in a | |
545 | # non-binary-compatible way, it is a real pain to remake the right stuff | |
546 | # without these dependencies -kingdon, 13 Mar 1994) | |
547 | getopt_h = $(INCLUDE_DIR)/getopt.h | |
548 | floatformat_h = $(INCLUDE_DIR)/floatformat.h | |
549 | bfd_h = $(BFD_DIR)/bfd.h | |
c906108c SS |
550 | dis-asm_h = $(INCLUDE_DIR)/dis-asm.h |
551 | remote-sim_h = $(INCLUDE_DIR)/remote-sim.h | |
552 | ||
553 | dcache_h = dcache.h | |
554 | remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h $(remote-sim_h) | |
555 | ||
556 | ||
557 | readline_headers = \ | |
558 | $(READLINE_SRC)/chardefs.h \ | |
559 | $(READLINE_SRC)/history.h \ | |
560 | $(READLINE_SRC)/keymaps.h \ | |
561 | $(READLINE_SRC)/readline.h | |
562 | ||
563 | udiheaders = \ | |
564 | $(srcdir)/29k-share/udi/udiproc.h \ | |
565 | $(srcdir)/29k-share/udi/udiphcfg.h \ | |
566 | $(srcdir)/29k-share/udi/udiphunix.h \ | |
567 | $(srcdir)/29k-share/udi/udiptcfg.h \ | |
568 | $(srcdir)/29k-share/udi/udipt29k.h \ | |
569 | $(srcdir)/29k-share/udi/udisoc.h | |
570 | ||
571 | gdbcore_h = gdbcore.h $(bfd_h) | |
572 | ||
573 | frame_h = frame.h | |
574 | symtab_h = symtab.h bcache.h | |
575 | gdbtypes_h = gdbtypes.h | |
576 | expression_h = expression.h | |
577 | value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h) | |
578 | ||
579 | breakpoint_h = breakpoint.h $(frame_h) $(value_h) | |
580 | ||
581 | command_h = command.h | |
582 | gdbcmd_h = gdbcmd.h $(command_h) | |
6426a772 | 583 | call_cmds_h = call-cmds.h |
d318976c | 584 | |
5a2402b8 AC |
585 | xm_h = @xm_h@ |
586 | tm_h = @tm_h@ | |
587 | nm_h = @nm_h@ | |
588 | defs_h = defs.h $(xm_h) $(tm_h) $(nm_h) config.status config.h gdbarch.h ui-file.h | |
c906108c | 589 | |
9e0b60a8 | 590 | top_h = top.h |
c906108c SS |
591 | inferior_h = inferior.h $(breakpoint_h) |
592 | tracepoint_h = tracepoint.h | |
593 | ax_h = ax.h | |
c2c6d25f JM |
594 | event_loop_h = event-loop.h |
595 | event_top_h = event-top.h | |
2acceee2 | 596 | inf_loop_h = inf-loop.h |
c2c6d25f JM |
597 | remote_h = remote.h |
598 | version_h = version.h | |
8b93c638 JM |
599 | ui_out_h = ui-out.h |
600 | cli_out_h = cli-out.h | |
1ad03bde | 601 | arch_utils_h = arch-utils.h |
c906108c | 602 | |
d318976c FN |
603 | cli_decode_h = $(srcdir)/cli/cli-decode.h |
604 | cli_cmds_h = $(srcdir)/cli/cli-cmds.h | |
605 | cli_script_h = $(srcdir)/cli/cli-script.h | |
606 | cli_setshow_h = $(srcdir)/cli/cli-setshow.h | |
607 | ||
c906108c SS |
608 | # Header files that need to have srcdir added. Note that in the cases |
609 | # where we use a macro like $(gdbcmd_h), things are carefully arranged | |
610 | # so that each .h file is listed exactly once (M-x tags-search works | |
611 | # wrong if TAGS has files twice). Because this is tricky to get | |
612 | # right, it is probably easiest just to list .h files here directly. | |
613 | ||
614 | HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \ | |
615 | dst.h environ.h $(gdbcmd_h) gdbcore.h \ | |
616 | gdb-stabs.h hpread.h $(inferior_h) language.h minimon.h monitor.h \ | |
617 | objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \ | |
618 | symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \ | |
619 | c-lang.h ch-lang.h f-lang.h \ | |
620 | jv-lang.h \ | |
df115219 | 621 | m2-lang.h p-lang.h \ |
c906108c SS |
622 | complaints.h valprint.h \ |
623 | 29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \ | |
624 | nindy-share/block_io.h nindy-share/coff.h \ | |
625 | nindy-share/env.h nindy-share/stop.h \ | |
626 | vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \ | |
627 | vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \ | |
628 | vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \ | |
629 | dcache.h remote-utils.h top.h somsolib.h | |
630 | ||
631 | # Header files that already have srcdir in them, or which are in objdir. | |
632 | ||
633 | HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h | |
634 | ||
635 | ||
636 | # GDB "info" files, which should be included in their entirety | |
637 | INFOFILES = gdb.info* | |
638 | ||
639 | REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar | |
640 | ||
641 | POSSLIBS = gnu-regex.c gnu-regex.h | |
642 | ||
643 | # {X,T,NAT}DEPFILES are something of a pain in that it's hard to | |
644 | # default their values the way we do for SER_HARDWIRE; in the future | |
645 | # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other | |
646 | # variables analogous to SER_HARDWIRE which get defaulted in this | |
647 | # Makefile.in | |
648 | ||
649 | DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \ | |
66b965bb | 650 | $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_LIB_OBS) |
c906108c | 651 | |
fb40c209 | 652 | SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS) |
c906108c SS |
653 | # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES, |
654 | # and it's more useful to see it in the .y file. | |
655 | TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \ | |
656 | $(POSSLIBS) | |
657 | TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR) | |
658 | ||
32178cab | 659 | COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o regcache.o \ |
c906108c | 660 | source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \ |
d318976c | 661 | symtab.o symfile.o symmisc.o linespec.o infcmd.o infrun.o \ |
32178cab | 662 | expprint.o environ.o stack.o thread.o \ |
c5f0f3d0 | 663 | event-loop.o event-top.o inf-loop.o completer.o \ |
1ad03bde | 664 | gdbarch.o arch-utils.o gdbtypes.o copying.o $(DEPFILES) \ |
c906108c | 665 | mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \ |
96baa820 | 666 | kod.o kod-cisco.o \ |
104c1213 | 667 | gdb-events.o \ |
c906108c SS |
668 | exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \ |
669 | dbxread.o coffread.o elfread.o \ | |
670 | dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \ | |
671 | c-lang.o ch-exp.o ch-lang.o f-lang.o \ | |
8b93c638 JM |
672 | ui-out.o cli-out.o \ |
673 | varobj.o wrapper.o \ | |
c906108c | 674 | jv-lang.o jv-valprint.o jv-typeprint.o \ |
454313e5 | 675 | m2-lang.o p-lang.o p-typeprint.o p-valprint.o \ |
c906108c SS |
676 | scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o \ |
677 | c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \ | |
678 | c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \ | |
da59e081 | 679 | nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \ |
d9fcf2fb | 680 | ui-file.o tui-file.o |
c906108c | 681 | |
104c1213 | 682 | OBS = $(COMMON_OBS) $(ANNOTATE_OBS) |
c906108c SS |
683 | |
684 | TSOBS = inflow.o | |
685 | ||
686 | NTSOBS = standalone.o | |
687 | ||
688 | NTSSTART = kdb-start.o | |
689 | ||
7be570e7 | 690 | SUBDIRS = @SUBDIRS@ |
c906108c SS |
691 | |
692 | # For now, shortcut the "configure GDB for fewer languages" stuff. | |
693 | YYFILES = c-exp.tab.c \ | |
694 | jv-exp.tab.c \ | |
df115219 | 695 | f-exp.tab.c m2-exp.tab.c p-exp.tab.c |
c906108c SS |
696 | YYOBJ = c-exp.tab.o \ |
697 | jv-exp.tab.o \ | |
df115219 | 698 | f-exp.tab.o m2-exp.tab.o p-exp.tab.o |
c906108c SS |
699 | |
700 | # Things which need to be built when making a distribution. | |
701 | ||
702 | DISTSTUFF = $(YYFILES) | |
703 | ||
704 | # Prevent Sun make from putting in the machine type. Setting | |
705 | # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1. | |
706 | .c.o: | |
707 | $(CC) -c $(INTERNAL_CFLAGS) $< | |
708 | ||
b3a90332 | 709 | all: gdb$(EXEEXT) $(CONFIG_ALL) |
c906108c SS |
710 | @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do |
711 | ||
712 | installcheck: | |
713 | ||
714 | # The check target can not use subdir_do, because subdir_do does not | |
715 | # use TARGET_FLAGS_TO_PASS. | |
716 | check: force | |
717 | @if [ -f testsuite/Makefile ]; then \ | |
718 | rootme=`pwd`; export rootme; \ | |
719 | rootsrc=`cd $(srcdir); pwd`; export rootsrc; \ | |
720 | cd testsuite; \ | |
721 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \ | |
722 | else true; fi | |
723 | ||
085dd6e6 | 724 | info dvi install-info clean-info html install-html: force |
c906108c SS |
725 | @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
726 | ||
727 | gdb.z:gdb.1 | |
728 | nroff -man $(srcdir)/gdb.1 | col -b > gdb.t | |
729 | pack gdb.t ; rm -f gdb.t | |
730 | mv gdb.t.z gdb.z | |
731 | ||
732 | # Traditionally "install" depends on "all". But it may be useful | |
733 | # not to; for example, if the user has made some trivial change to a | |
734 | # source file and doesn't care about rebuilding or just wants to save the | |
735 | # time it takes for make to check that all is up to date. | |
736 | # install-only is intended to address that need. | |
737 | install: all install-only | |
e56ac5c3 | 738 | install-only: $(CONFIG_INSTALL) |
c906108c SS |
739 | transformed_name=`t='$(program_transform_name)'; \ |
740 | echo gdb | sed -e $$t` ; \ | |
741 | if test "x$$transformed_name" = x; then \ | |
742 | transformed_name=gdb ; \ | |
743 | else \ | |
744 | true ; \ | |
745 | fi ; \ | |
ee29d710 | 746 | $(srcdir)/../mkinstalldirs $(bindir) ; \ |
c906108c | 747 | $(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \ |
ee29d710 | 748 | $(srcdir)/../mkinstalldirs $(man1dir) ; \ |
c906108c SS |
749 | $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1 |
750 | @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do | |
751 | ||
e56ac5c3 | 752 | uninstall: force $(CONFIG_UNINSTALL) |
c906108c SS |
753 | transformed_name=`t='$(program_transform_name)'; \ |
754 | echo gdb | sed -e $$t` ; \ | |
755 | if test "x$$transformed_name" = x; then \ | |
756 | transformed_name=gdb ; \ | |
757 | else \ | |
758 | true ; \ | |
759 | fi ; \ | |
760 | rm -f $(bindir)/$$transformed_name$(EXEEXT) $(man1dir)/$$transformed_name.1 | |
3fc11d3e | 761 | rm -rf $(datadir)/gdbtcl |
c906108c SS |
762 | @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do |
763 | ||
764 | # We do this by grepping through sources. If that turns out to be too slow, | |
765 | # maybe we could just require every .o file to have an initialization routine | |
766 | # of a given name (remote-udi.o -> _initialize_remote_udi, etc.). | |
767 | # | |
768 | # Formatting conventions: The name of the _initialize_* routines must start | |
769 | # in column zero, and must not be inside #if. | |
770 | # | |
771 | # Note that the set of files with init functions might change, or the names | |
772 | # of the functions might change, so this files needs to depend on all the | |
773 | # object files that will be linked into gdb. | |
f2c4d933 EZ |
774 | # |
775 | # FIXME: There are 2 problems with this approach. First, if the INIT_FILES | |
776 | # list includes a file twice (because of some mistake somewhere else) | |
777 | # the _initialize_* function will be included twice in init.c. Second, | |
778 | # init.c may force unnecessary files to be linked in. Like for instance | |
779 | # tui-file.c. | |
780 | # | |
c906108c | 781 | |
b46cd165 | 782 | INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS) |
c2d11a7d | 783 | init.c: $(INIT_FILES) |
c906108c | 784 | @echo Making init.c |
6426a772 | 785 | @rm -f init.c-tmp init.l-tmp |
c2d11a7d | 786 | @-echo $(INIT_FILES) | \ |
c906108c SS |
787 | tr ' ' '\012' | \ |
788 | sed -e '/^Onindy.o/d' \ | |
6426a772 | 789 | -e '/^init.o/d' \ |
c906108c SS |
790 | -e '/^nindy.o/d' \ |
791 | -e '/ttyflush.o/d' \ | |
792 | -e '/xdr_ld.o/d' \ | |
793 | -e '/xdr_ptrace.o/d' \ | |
794 | -e '/xdr_rdb.o/d' \ | |
795 | -e '/udr.o/d' \ | |
796 | -e '/udip2soc.o/d' \ | |
797 | -e '/udi2go32.o/d' \ | |
798 | -e '/version.o/d' \ | |
799 | -e '/^[a-z0-9A-Z_]*_[SU].o/d' \ | |
800 | -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \ | |
801 | -e 's/\.o/.c/' \ | |
802 | -e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \ | |
803 | while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \ | |
6426a772 JM |
804 | sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' > init.l-tmp |
805 | @echo '/* Do not modify this file. */' >>init.c-tmp | |
806 | @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp | |
807 | @echo '#include "defs.h"' >>init.c-tmp | |
808 | @echo '#include "call-cmds.h"' >>init.c-tmp | |
809 | @sed -e 's/\(.*\)/extern initialize_file_ftype \1;/' <init.l-tmp >>init.c-tmp | |
810 | @echo 'void' >>init.c-tmp | |
811 | @echo 'initialize_all_files (void)' >>init.c-tmp | |
812 | @echo '{' >>init.c-tmp | |
813 | @sed -e 's/\(.*\)/ \1 ();/' <init.l-tmp >>init.c-tmp | |
c906108c | 814 | @echo '}' >>init.c-tmp |
6426a772 | 815 | @rm init.l-tmp |
c906108c SS |
816 | @mv init.c-tmp init.c |
817 | ||
818 | .PRECIOUS: init.c | |
819 | ||
6426a772 JM |
820 | init.o: init.c $(defs_h) $(call_cmds_h) |
821 | ||
c906108c | 822 | # Removing the old gdb first works better if it is running, at least on SunOS. |
b46cd165 | 823 | gdb$(EXEEXT): main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS) |
c906108c | 824 | rm -f gdb$(EXEEXT) |
b46cd165 FN |
825 | $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) \ |
826 | main.o libgdb.a $(CONFIG_OBS) $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS)\ | |
827 | $(LOADLIBES) | |
c906108c SS |
828 | |
829 | nlm: force | |
830 | rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do | |
831 | ||
104c1213 JM |
832 | # Create a library of the gdb object files and build GDB by linking |
833 | # against that. | |
834 | # | |
835 | # init.o is very important. It pulls in the rest of GDB. | |
836 | LIBGDB_OBS= $(OBS) $(TSOBS) $(ADD_FILES) init.o | |
837 | libgdb.a: $(LIBGDB_OBS) | |
838 | -rm -f libgdb.a | |
839 | $(AR) q libgdb.a $(LIBGDB_OBS) | |
840 | $(RANLIB) libgdb.a | |
c906108c SS |
841 | |
842 | saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c | |
843 | #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS | |
844 | #load ./init.c $(SFILES) | |
845 | #unload $(srcdir)/c-exp.y | |
846 | #unload $(srcdir)/jv-exp.y | |
847 | #unload $(srcdir)/m2-exp.y | |
df115219 | 848 | #unload $(srcdir)/p-exp.y |
c906108c SS |
849 | #unload vx-share/*.h |
850 | #unload nindy-share/[A-Z]* | |
851 | #load c-exp.tab.c | |
852 | #load jv-exp.tab.c | |
853 | #load m2-exp.tab.c | |
df115219 | 854 | #load p-exp.tab.c |
c906108c SS |
855 | #load copying.c version.c |
856 | #load ../opcodes/libopcodes.a | |
857 | #load ../libiberty/libiberty.a | |
858 | #load ../bfd/libbfd.a | |
859 | #load ../readline/libreadline.a | |
860 | #load ../mmalloc/libmmalloc.a | |
861 | #load ../intl/libintl.a | |
862 | #load -ltermcap | |
863 | #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'` | |
864 | echo "Load .c corresponding to:" $(DEPFILES) | |
865 | ||
866 | ||
867 | # A Mach 3.0 program to force gdb back to command level | |
868 | ||
869 | stop-gdb: stop-gdb.o | |
870 | ${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \ | |
871 | stop-gdb.o $(CLIBS) $(LOADLIBES) | |
872 | ||
873 | # This is useful when debugging GDB, because some Unix's don't let you run GDB | |
874 | # on itself without copying the executable. So "make gdb1" will make | |
875 | # gdb and put a copy in gdb1, and you can run it with "gdb gdb1". | |
876 | # Removing gdb1 before the copy is the right thing if gdb1 is open | |
877 | # in another process. | |
878 | gdb1$(EXEEXT): gdb$(EXEEXT) | |
879 | rm -f gdb1$(EXEEXT) | |
880 | cp gdb$(EXEEXT) gdb1$(EXEEXT) | |
881 | ||
882 | # FIXME. These are not generated by "make depend" because they only are there | |
883 | # for some machines. | |
884 | # But these rules don't do what we want; we want to hack the foo.o: tm.h | |
885 | # dependency to do the right thing. | |
886 | tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h | |
887 | tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h | |
888 | xm-news1000.h: xm-news.h | |
889 | xm-i386-sv32.h: xm-i386.h | |
890 | tm-i386gas.h: tm-i386.h | |
891 | xm-sun4os4.h: xm-sparc.h | |
892 | tm-sun4os4.h: tm-sparc.h | |
893 | xm-vaxult.h: xm-vax.h | |
894 | xm-vaxbsd.h: xm-vax.h | |
895 | ||
b46cd165 FN |
896 | kdb: $(NTSSTART) $(OBS) $(CONFIG_OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS) |
897 | ld -o kdb $(NTSSTART) $(OBS) $(CONFIG_OBS) $(NTSOBS) init.o \ | |
898 | $(ADD_FILES) -lc $(CLIBS) | |
c906108c | 899 | |
c906108c SS |
900 | # Put the proper machine-specific files first, so M-. on a machine |
901 | # specific routine gets the one for the correct machine. (FIXME: those | |
902 | # files go in twice; we should be removing them from the main list). | |
903 | ||
904 | # TAGS depends on all the files that go into it so you can rebuild TAGS | |
905 | # with `make TAGS' and not have to say `rm TAGS' first. | |
906 | ||
907 | TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR) | |
908 | @echo Making TAGS | |
909 | @etags $(srcdir)/$(TM_FILE) \ | |
910 | $(srcdir)/$(XM_FILE) \ | |
911 | $(srcdir)/$(NAT_FILE) \ | |
912 | `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \ | |
913 | echo $(srcdir)/$$i ; \ | |
914 | done ; for i in $(TAGFILES_WITH_SRCDIR); do \ | |
915 | echo $$i ; \ | |
916 | done) | sed -e 's/\.o$$/\.c/'` \ | |
917 | `find $(srcdir)/config -name '*.h' -print` | |
918 | ||
919 | tags: TAGS | |
920 | ||
b3a90332 | 921 | clean mostlyclean: $(CONFIG_CLEAN) |
c906108c | 922 | @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do |
6426a772 | 923 | rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp |
c906108c | 924 | rm -f init.c version.c |
104c1213 | 925 | rm -f gdb$(EXEEXT) core make.log |
c906108c SS |
926 | rm -f gdb[0-9]$(EXEEXT) |
927 | ||
928 | # This used to depend on c-exp.tab.c m2-exp.tab.c TAGS | |
929 | # I believe this is wrong; the makefile standards for distclean just | |
930 | # describe removing files; the only sort of "re-create a distribution" | |
931 | # functionality described is if the distributed files are unmodified. | |
932 | distclean: clean | |
933 | @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do | |
934 | rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit | |
935 | rm -f y.output yacc.acts yacc.tmp y.tab.h | |
936 | rm -f config.log config.cache | |
937 | rm -f Makefile | |
938 | ||
939 | maintainer-clean: local-maintainer-clean do-maintainer-clean distclean | |
940 | realclean: maintainer-clean | |
941 | ||
942 | local-maintainer-clean: | |
943 | @echo "This command is intended for maintainers to use;" | |
944 | @echo "it deletes files that may require special tools to rebuild." | |
945 | rm -f c-exp.tab.c \ | |
946 | jv-exp.tab \ | |
df115219 | 947 | f-exp.tab.c m2-exp.tab.c p-exp.tab.c |
c906108c SS |
948 | rm -f TAGS $(INFOFILES) |
949 | rm -f $(YYFILES) | |
950 | rm -f nm.h tm.h xm.h config.status | |
951 | ||
952 | do-maintainer-clean: | |
953 | @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" \ | |
954 | subdir_do | |
955 | ||
956 | diststuff: $(DISTSTUFF) | |
1a645206 | 957 | cd doc; $(MAKE) $(MFLAGS) diststuff |
c906108c SS |
958 | |
959 | subdir_do: force | |
960 | @for i in $(DODIRS); do \ | |
961 | if [ -f ./$$i/Makefile ] ; then \ | |
962 | if (cd ./$$i; \ | |
963 | $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ | |
964 | else exit 1 ; fi ; \ | |
965 | else true ; fi ; \ | |
966 | done | |
967 | ||
968 | Makefile: Makefile.in config.status @frags@ | |
969 | $(SHELL) config.status | |
970 | ||
971 | config.h: stamp-h ; @true | |
972 | stamp-h: config.in config.status | |
973 | CONFIG_HEADERS=config.h:config.in $(SHELL) config.status | |
974 | ||
975 | config.status: configure | |
976 | $(SHELL) config.status --recheck | |
977 | ||
978 | force: | |
979 | ||
980 | # Documentation! | |
981 | # GDB QUICK REFERENCE (TeX dvi file, CM fonts) | |
982 | doc/refcard.dvi: | |
983 | cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) | |
984 | ||
985 | # GDB QUICK REFERENCE (PostScript output, common PS fonts) | |
986 | doc/refcard.ps: | |
987 | cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) | |
988 | ||
989 | # GDB MANUAL: TeX dvi file | |
990 | doc/gdb.dvi: | |
991 | cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) | |
992 | ||
993 | # GDB MANUAL: info file | |
994 | doc/gdb.info: | |
995 | cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) | |
996 | ||
997 | # Make copying.c from COPYING | |
413ccac7 AC |
998 | $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \ |
999 | $(srcdir)/COPYING $(srcdir)/copying.awk | |
1000 | awk -f $(srcdir)/copying.awk \ | |
1001 | < $(srcdir)/COPYING > $(srcdir)/copying.tmp | |
1002 | mv $(srcdir)/copying.tmp $(srcdir)/copying.c | |
c906108c SS |
1003 | |
1004 | version.c: Makefile | |
d4f3574e SS |
1005 | rm -f version.c |
1006 | echo '#include "version.h"' >> version.c | |
1007 | echo 'const char version[] = "$(VERSION)";' >> version.c | |
1008 | echo 'const char host_name[] = "$(host_alias)";' >> version.c | |
1009 | echo 'const char target_name[] = "$(target_alias)";' >> version.c | |
1010 | version.o: version.c $(version_h) | |
c906108c SS |
1011 | |
1012 | # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist | |
1013 | # in srcdir, then compiled in objdir to c-exp.tab.o. | |
1014 | ||
1015 | # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes | |
1016 | # would sometimes re-write it into $(srcdir)/c-exp.tab.c. | |
1017 | ||
1018 | # Remove bogus decls for malloc/realloc/free which conflict with everything | |
1019 | # else. Strictly speaking c-exp.tab.c should therefore depend on | |
1020 | # Makefile.in, but that was a pretty big annoyance. | |
1021 | c-exp.tab.o: c-exp.tab.c | |
1022 | c-exp.tab.c: c-exp.y | |
1023 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/c-exp.y y.tab.c c-exp.tmp -- $(YFLAGS) | |
1024 | -sed -e '/extern.*malloc/d' \ | |
1025 | -e '/extern.*realloc/d' \ | |
1026 | -e '/extern.*free/d' \ | |
1027 | -e '/include.*malloc.h/d' \ | |
1028 | -e 's/malloc/xmalloc/g' \ | |
1029 | -e 's/realloc/xrealloc/g' \ | |
1030 | -e '/^#line.*y.tab.c/d' \ | |
1031 | < c-exp.tmp > c-exp.new | |
1032 | -rm c-exp.tmp | |
1033 | mv c-exp.new ./c-exp.tab.c | |
1034 | ||
1035 | jv-exp.tab.o: jv-exp.tab.c | |
1036 | jv-exp.tab.c: jv-exp.y | |
1037 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/jv-exp.y y.tab.c jv-exp.tmp -- $(YFLAGS) | |
1038 | -sed -e '/extern.*malloc/d' \ | |
1039 | -e '/extern.*realloc/d' \ | |
1040 | -e '/extern.*free/d' \ | |
1041 | -e '/include.*malloc.h/d' \ | |
1042 | -e 's/malloc/xmalloc/g' \ | |
1043 | -e 's/realloc/xrealloc/g' \ | |
1044 | -e '/^#line.*y.tab.c/d' \ | |
1045 | < jv-exp.tmp > jv-exp.new | |
1046 | -rm jv-exp.tmp | |
1047 | mv jv-exp.new ./jv-exp.tab.c | |
1048 | ||
1049 | f-exp.tab.o: f-exp.tab.c | |
1050 | f-exp.tab.c: f-exp.y c-exp.tab.c | |
1051 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/f-exp.y y.tab.c f-exp.tmp -- $(YFLAGS) | |
1052 | -sed -e '/extern.*malloc/d' \ | |
1053 | -e '/extern.*realloc/d' \ | |
1054 | -e '/extern.*free/d' \ | |
1055 | -e '/include.*malloc.h/d' \ | |
1056 | -e 's/malloc/xmalloc/g' \ | |
1057 | -e 's/realloc/xrealloc/g' \ | |
1058 | -e '/^#line.*y.tab.c/d' \ | |
1059 | < f-exp.tmp > f-exp.new | |
1060 | -rm f-exp.tmp | |
1061 | mv f-exp.new ./f-exp.tab.c | |
1062 | ||
1063 | # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist | |
1064 | # in srcdir, then compiled in objdir to m2-exp.tab.o. | |
1065 | # Remove bogus decls for malloc/realloc/free which conflict with everything | |
1066 | # else. | |
1067 | m2-exp.tab.o: m2-exp.tab.c | |
1068 | m2-exp.tab.c: m2-exp.y | |
1069 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/m2-exp.y y.tab.c m2-exp.tmp -- $(YFLAGS) | |
1070 | -sed -e '/extern.*malloc/d' \ | |
1071 | -e '/extern.*realloc/d' \ | |
1072 | -e '/extern.*free/d' \ | |
1073 | -e '/include.*malloc.h/d' \ | |
1074 | -e 's/malloc/xmalloc/g' \ | |
1075 | -e 's/realloc/xrealloc/g' \ | |
1076 | -e '/^#line.*y.tab.c/d' \ | |
1077 | < m2-exp.tmp > m2-exp.new | |
1078 | -rm m2-exp.tmp | |
1079 | mv m2-exp.new ./m2-exp.tab.c | |
1080 | ||
df115219 PM |
1081 | # p-exp.tab.c is generated in objdir from p-exp.y if it doesn't exist |
1082 | # in srcdir, then compiled in objdir to p-exp.tab.o. | |
1083 | # Remove bogus decls for malloc/realloc/free which conflict with everything | |
1084 | # else. | |
1085 | p-exp.tab.o: p-exp.tab.c | |
1086 | p-exp.tab.c: p-exp.y | |
1087 | $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/p-exp.y y.tab.c p-exp.tmp -- $(YFLAGS) | |
1088 | -sed -e '/extern.*malloc/d' \ | |
1089 | -e '/extern.*realloc/d' \ | |
1090 | -e '/extern.*free/d' \ | |
1091 | -e '/include.*malloc.h/d' \ | |
1092 | -e 's/malloc/xmalloc/g' \ | |
1093 | -e 's/realloc/xrealloc/g' \ | |
1094 | -e '/^#line.*y.tab.c/d' \ | |
1095 | < p-exp.tmp > p-exp.new | |
1096 | -rm p-exp.tmp | |
1097 | mv p-exp.new ./p-exp.tab.c | |
1098 | ||
c906108c SS |
1099 | # These files are updated atomically, so make never has to remove them |
1100 | .PRECIOUS: m2-exp.tab.c f-exp.tab.c c-exp.tab.c | |
df115219 | 1101 | .PRECIOUS: jv-exp.tab.c p-exp.tab.c |
c906108c SS |
1102 | |
1103 | lint: $(LINTFILES) | |
1104 | $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \ | |
1105 | `echo $(DEPFILES) | sed 's/\.o /\.c /g'` | |
1106 | ||
1107 | gdb.cxref: $(SFILES) | |
1108 | cxref -I. $(SFILES) >gdb.cxref | |
1109 | ||
1110 | force_update: | |
1111 | ||
1112 | # GNU Make has an annoying habit of putting *all* the Makefile variables | |
1113 | # into the environment, unless you include this target as a circumvention. | |
1114 | # Rumor is that this will be fixed (and this target can be removed) | |
1115 | # in GNU Make 4.0. | |
1116 | .NOEXPORT: | |
1117 | ||
1118 | # GNU Make 3.63 has a different problem: it keeps tacking command line | |
1119 | # overrides onto the definition of $(MAKE). This variable setting | |
1120 | # will remove them. | |
1121 | MAKEOVERRIDES= | |
1122 | ||
1123 | ## This is ugly, but I don't want GNU make to put these variables in | |
1124 | ## the environment. Older makes will see this as a set of targets | |
1125 | ## with no dependencies and no actions. | |
1126 | unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET : | |
1127 | ||
1128 | ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \ | |
1129 | 29k-share/udi/udi2go32.c \ | |
1130 | a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \ | |
1131 | altos-xdep.c arm-convert.s \ | |
03e0fb3a SB |
1132 | arm-linux-nat.c arm-linux-tdep.c arm-tdep.c arm-xdep.c \ |
1133 | coff-solib.c convex-tdep.c convex-xdep.c \ | |
c906108c SS |
1134 | core-sol2.c core-regset.c core-aout.c corelow.c \ |
1135 | dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \ | |
5330533d | 1136 | go32-nat.c h8300-tdep.c h8500-tdep.c \ |
c906108c SS |
1137 | hp300ux-nat.c hppa-tdep.c hppab-nat.c hppah-nat.c \ |
1138 | hp-psymtab-read.c hp-symtab-read.c \ | |
d4f3574e | 1139 | i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c i386-linux-nat.c \ |
c906108c SS |
1140 | i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \ |
1141 | i387-tdep.c \ | |
e7ee86a9 | 1142 | i386-linux-tdep.c \ |
c906108c | 1143 | i960-tdep.c \ |
8064c6ae | 1144 | ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c \ |
c906108c SS |
1145 | infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \ |
1146 | lynx-nat.c m3-nat.c \ | |
1147 | m68k-tdep.c \ | |
9e086581 | 1148 | m88k-nat.c m88k-tdep.c mac-nat.c \ |
96baa820 | 1149 | mcore-tdep.c \ |
9e086581 | 1150 | mips-nat.c \ |
c906108c SS |
1151 | mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \ |
1152 | nindy-share/Onindy.c nindy-share/nindy.c \ | |
1153 | nindy-share/ttyflush.c nindy-tdep.c \ | |
1154 | ns32k-tdep.c ns32km3-nat.c osfsolib.c \ | |
1155 | somread.c somsolib.c $(HPREAD_SOURCE) \ | |
2559291b | 1156 | ppc-linux-nat.c ppc-linux-tdep.c \ |
c906108c SS |
1157 | procfs.c pyr-tdep.c pyr-xdep.c \ |
1158 | remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \ | |
1159 | remote-es.c remote-hms.c remote-mips.c \ | |
1160 | remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \ | |
1161 | remote-st.c remote-utils.c dcache.c \ | |
1162 | remote-udi.c remote-vx.c remote-vx29k.c \ | |
1163 | rs6000-nat.c rs6000-tdep.c \ | |
43e526b9 JM |
1164 | ser-go32.c ser-pipe.c ser-ocd.c ser-tcp.c \ |
1165 | sh-tdep.c solib.c sparc-nat.c \ | |
c906108c SS |
1166 | sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \ |
1167 | symm-tdep.c symm-nat.c \ | |
1168 | tahoe-tdep.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \ | |
1169 | vax-tdep.c \ | |
1170 | vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \ | |
1171 | win32-nat.c \ | |
1172 | xcoffread.c xcoffsolib.c z8k-tdep.c | |
1173 | ||
1174 | udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders) | |
1175 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c | |
1176 | ||
1177 | udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders) | |
1178 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c | |
1179 | ||
1180 | udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) | |
1181 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c | |
1182 | ||
1183 | a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) | |
1184 | ||
1185 | a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1186 | ||
1187 | alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h | |
1188 | ||
1189 | alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
c5f0f3d0 | 1190 | $(inferior_h) $(symtab_h) $(dis-asm.h) gdb_string.h linespec.h |
c906108c | 1191 | |
085dd6e6 | 1192 | # OBSOLETE altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
c906108c SS |
1193 | |
1194 | annotate.o: annotate.c $(defs_h) annotate.h $(value_h) target.h $(gdbtypes_h) | |
1195 | ||
ed9a39eb JM |
1196 | arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \ |
1197 | gdb_string.h | |
1198 | ||
03e0fb3a SB |
1199 | arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) target.h $(value_h) \ |
1200 | $(gdbtypes_h) $(floatformat_h) | |
1201 | ||
c906108c SS |
1202 | arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ |
1203 | $(gdbcore_h) | |
1204 | ||
1205 | bcache.o: bcache.c bcache.h $(defs_h) | |
1206 | ||
1207 | blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1208 | objfiles.h symfile.h target.h | |
1209 | ||
1210 | breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
104c1213 | 1211 | $(inferior_h) language.h target.h gdbthread.h gdb_string.h \ |
c5f0f3d0 | 1212 | gdb-events.h linespec.h |
c906108c SS |
1213 | |
1214 | buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1215 | objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1216 | ||
1217 | c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1218 | language.h parser-defs.h $(symtab_h) | |
1219 | ||
1220 | c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \ | |
1221 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1222 | target.h typeprint.h $(value_h) gdb_string.h | |
1223 | ||
1224 | c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1225 | language.h $(symtab_h) valprint.h $(value_h) | |
1226 | ||
1227 | f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1228 | language.h parser-defs.h $(symtab_h) gdb_string.h | |
1229 | ||
1230 | f-typeprint.o: f-typeprint.c f-lang.h $(defs_h) $(expression_h) \ | |
1231 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1232 | target.h typeprint.h $(value_h) gdb_string.h | |
1233 | ||
1234 | f-valprint.o: f-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1235 | language.h $(symtab_h) valprint.h $(value_h) gdb_string.h | |
1236 | ||
1237 | ch-exp.o: ch-exp.c ch-lang.h $(defs_h) language.h parser-defs.h $(bfd_h) symfile.h objfiles.h $(value_h) | |
1238 | ||
1239 | ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1240 | language.h parser-defs.h $(symtab_h) | |
1241 | ||
1242 | ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \ | |
1243 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1244 | target.h $(value_h) typeprint.h gdb_string.h | |
1245 | ||
1246 | ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1247 | language.h $(symtab_h) valprint.h $(value_h) c-lang.h | |
1248 | ||
1249 | coff-solib.o: coff-solib.c $(defs_h) | |
1250 | ||
1251 | coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \ | |
1252 | complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \ | |
1253 | symfile.h $(symtab_h) gdb-stabs.h stabsread.h target.h \ | |
1254 | gdb_string.h | |
1255 | ||
d318976c FN |
1256 | # OBSOLETE command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \ |
1257 | # OBSOLETE $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h gdb_wait.h | |
c906108c SS |
1258 | |
1259 | complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h) | |
1260 | ||
03f2053f | 1261 | # OBSOLETE convex-tdep.o: convex-tdep.c gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
085dd6e6 | 1262 | # OBSOLETE $(gdbcore_h) $(inferior_h) |
c906108c | 1263 | |
085dd6e6 JM |
1264 | # OBSOLETE convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
1265 | # OBSOLETE $(inferior_h) | |
c906108c | 1266 | |
413ccac7 AC |
1267 | # Provide explicit rule/dependency - works for more makes. |
1268 | copying.o: $(srcdir)/copying.c $(defs_h) $(gdbcmd_h) | |
1269 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/copying.c | |
c906108c SS |
1270 | |
1271 | core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(inferior_h) | |
1272 | ||
1273 | core-sol2.o: core-sol2.c $(command_h) $(defs_h) $(gdbcore_h) \ | |
1274 | $(inferior_h) target.h gdb_string.h | |
1275 | ||
1276 | core-regset.o: core-regset.c $(command_h) $(defs_h) $(gdbcore_h) \ | |
1277 | $(inferior_h) target.h gdb_string.h | |
1278 | ||
1279 | corefile.o: corefile.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
c5f0f3d0 | 1280 | $(inferior_h) target.h language.h gdb_string.h completer.h |
c906108c SS |
1281 | |
1282 | corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1283 | target.h gdbthread.h gdb_string.h | |
1284 | ||
1285 | cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1286 | $(gdbtypes_h) $(symtab_h) $(value_h) gdb_string.h | |
1287 | ||
1288 | dcache.o: dcache.c $(dcache_h) $(defs_h) $(gdbcmd_h) gdb_string.h $(gdbcore_h) | |
1289 | ||
1290 | dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \ | |
1291 | complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \ | |
1292 | $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \ | |
1293 | symfile.h $(symtab_h) target.h gdb_string.h | |
1294 | ||
1295 | delta68-nat.o: delta68-nat.c $(defs_h) | |
1296 | ||
1297 | demangle.o: demangle.c $(defs_h) $(gdbcmd_h) gdb_string.h | |
1298 | ||
03f2053f | 1299 | dink32-rom.o: dink32-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
d4f3574e | 1300 | $(inferior_h) target.h serial.h terminal.h symfile.h |
c906108c SS |
1301 | |
1302 | dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) gdb_string.h | |
1303 | ||
1304 | dstread.o: dstread.c gdb_string.h | |
1305 | ||
1306 | dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1307 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ | |
1308 | $(symtab_h) gdb_string.h | |
1309 | ||
64367e0a | 1310 | dwarf2read.o: dwarf2read.c $(bfd_h) buildsym.h $(defs_h) \ |
c906108c SS |
1311 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ |
1312 | $(symtab_h) gdb_string.h | |
1313 | ||
1314 | elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1315 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h \ | |
1316 | $(BFD_SRC)/elf-bfd.h $(INCLUDE_DIR)/elf/mips.h | |
1317 | ||
1318 | environ.o: environ.c $(defs_h) environ.h $(gdbcore_h) gdb_string.h | |
1319 | ||
1320 | eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \ | |
1321 | $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \ | |
1322 | gdb_string.h | |
1323 | ||
c2c6d25f | 1324 | event-loop.o: event-loop.c $(defs_h) $(top_h) $(event_loop_h) $(event_top_h) |
cd0fc7c3 SS |
1325 | |
1326 | event-top.o: event-top.c top.h $(readline_headers) \ | |
6426a772 | 1327 | $(defs_h) $(inferior_h) $(event_loop_h) $(event_top_h) terminal.h \ |
e514a9d6 | 1328 | $(gdbcmd_h) target.h |
cd0fc7c3 | 1329 | |
2acceee2 JM |
1330 | inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(inf_loop_h) $(event_loop_h) \ |
1331 | $(event_top_h) | |
1332 | ||
c906108c | 1333 | exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ |
c5f0f3d0 | 1334 | target.h language.h gdb_string.h completer.h |
c906108c SS |
1335 | |
1336 | expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1337 | language.h parser-defs.h $(symtab_h) $(value_h) | |
1338 | ||
1339 | findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
1340 | gdb_string.h | |
1341 | ||
32178cab MS |
1342 | regcache.o: regcache.c $(defs_h) $(inferior_h) target.h |
1343 | ||
03f2053f | 1344 | fork-child.o: fork-child.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1345 | $(inferior_h) target.h terminal.h gdbthread.h gdb_string.h |
1346 | ||
2e022a79 AC |
1347 | # FIXME: cagney/2000-03-27: Post 5.0 this link code can be removed. |
1348 | # It should now be possible to run GDBtk from the build directory | |
1349 | # without the link in place. | |
b3a90332 | 1350 | all-gdbtk: |
2e022a79 AC |
1351 | @if test ! -d gdbtcl/images ; then \ |
1352 | if test "$(LN_S)" = "ln -s" ; then \ | |
1353 | echo linking ${srcdir}/gdbtk/library to gdbtcl ; \ | |
1354 | rm -f gdbtcl ; \ | |
1355 | test ! -r gdbtcl || exit 1 ; \ | |
1356 | $(LN_S) ${srcdir}/gdbtk/library gdbtcl ; \ | |
1357 | else \ | |
1358 | echo "Warning:" ; \ | |
1359 | echo "Unable to link ${srcdir}/gdbtk/library to gdbtcl." ; \ | |
1360 | echo "You will need to do a \`make install' before you are" ; \ | |
1361 | echo "able to run the GUI." ; \ | |
1362 | fi ; \ | |
1363 | else true ; fi | |
b3a90332 AC |
1364 | |
1365 | clean-gdbtk: | |
1366 | rm -f gdbtcl | |
1367 | ||
e56ac5c3 AC |
1368 | install-gdbtk: |
1369 | $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl ; \ | |
1370 | $(SHELL) $(srcdir)/../mkinstalldirs \ | |
1371 | $(datadir)/gdbtcl/images \ | |
1372 | $(datadir)/gdbtcl/images2 ; \ | |
1373 | $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl/help \ | |
1374 | $(datadir)/gdbtcl/help/images \ | |
1375 | $(datadir)/gdbtcl/help/trace ; \ | |
1376 | cd $(srcdir)/gdbtk/library ; \ | |
1377 | for i in *.tcl *.ith *.itb images/*.gif images2/*.gif images/icons.txt images2/icons.txt tclIndex help/*.html help/trace/*.html help/trace/index.toc help/images/*.gif; \ | |
1378 | do \ | |
1379 | $(INSTALL_DATA) $$i $(datadir)/gdbtcl/$$i ; \ | |
1380 | done ; | |
1381 | ||
3fc11d3e JM |
1382 | gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico |
1383 | $(WINDRES) --include $(srcdir)/gdbtk $(srcdir)/gdbtk/gdb.rc gdbres.o | |
1384 | ||
1385 | gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \ | |
1386 | $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \ | |
1387 | $(symtab_h) $(inferior_h) $(command_h) \ | |
1388 | $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h) \ | |
1389 | $(top_h) | |
1390 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \ | |
1391 | $(ITK_CFLAGS) $(TIX_CFLAGS) \ | |
1392 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\ | |
1393 | $(srcdir)/gdbtk/generic/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" | |
1394 | ||
1395 | gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \ | |
1396 | $(srcdir)/gdbtk/generic/gdbtk.h \ | |
1397 | $(defs_h) $(symtab_h) $(inferior_h) \ | |
1398 | $(command_h) $(bfd_h) $(top_h) symfile.h objfiles.h target.h \ | |
1399 | gdb_string.h $(tracepoint_h) $(frame_h) source.h | |
1400 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \ | |
1401 | $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \ | |
1402 | $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c \ | |
1403 | -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" | |
1404 | ||
1405 | gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \ | |
1406 | $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \ | |
1407 | $(symtab_h) $(inferior_h) $(command_h) \ | |
1408 | $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h) | |
1409 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ | |
1410 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\ | |
1411 | $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\" | |
1412 | ||
3fc11d3e JM |
1413 | gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \ |
1414 | $(srcdir)/gdbtk/generic/gdbtk.h \ | |
1415 | $(defs_h) $(value_h) varobj.h | |
1416 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ | |
1417 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\ | |
1418 | $(srcdir)/gdbtk/generic/gdbtk-varobj.c | |
1419 | ||
1420 | gdbtk-wrapper.o: $(srcdir)/gdbtk/generic/gdbtk-wrapper.c \ | |
1421 | $(srcdir)/gdbtk/generic/gdbtk-wrapper.h | |
1422 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(GDBTK_CFLAGS)\ | |
1423 | $(srcdir)/gdbtk/generic/gdbtk-wrapper.c | |
1424 | ||
1425 | v850ice.o: v850ice.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \ | |
1426 | $(frame_h) $(breakpoint_h) $(gdbcore_h) $(value_h) symfile.h \ | |
1427 | gdb_string.h target.h objfiles.h | |
1428 | $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \ | |
1429 | $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\ | |
1430 | $(srcdir)/v850ice.c | |
1431 | ||
b4a20239 AC |
1432 | v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(obstack_h) \ |
1433 | $(target_h) $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) \ | |
1434 | $(symfile_h) $(arch_utils_h) | |
1435 | ||
c906108c SS |
1436 | tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \ |
1437 | $(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \ | |
c5f0f3d0 | 1438 | language.h gdb_string.h $(readline_headers) $(remote_h) linespec.h |
c906108c SS |
1439 | |
1440 | gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h) | |
1441 | ||
1ad03bde AC |
1442 | arch-utils.o: arch-utils.c $(defs_h) $(bfd_h) $(gdbcmd_h) \ |
1443 | $(arch_utils_h) | |
c0e8c252 | 1444 | |
c906108c SS |
1445 | gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \ |
1446 | $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \ | |
4f0aafb3 | 1447 | $(value_h) gdb_string.h wrapper.h |
c906108c | 1448 | |
3a95698a EZ |
1449 | go32-nat.o: go32-nat.c $(defs_h) $(inferior_h) gdb_wait.h $(gdbcore_h) \ |
1450 | $(command_h) $(floatformat_h) target.h | |
1451 | ||
c906108c SS |
1452 | gnu-nat.o: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h \ |
1453 | exc_request_U.h msg_U.h gnu-nat.h | |
1454 | ||
c906108c SS |
1455 | h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h) |
1456 | ||
1457 | h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \ | |
1458 | $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \ | |
1459 | $(value_h) | |
1460 | ||
1461 | hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1462 | ||
03f2053f | 1463 | hppa-tdep.o: hppa-tdep.c gdb_wait.h $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
c906108c SS |
1464 | $(inferior_h) objfiles.h symfile.h target.h |
1465 | ||
1466 | hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h | |
1467 | ||
1468 | hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h | |
1469 | ||
1470 | i386gnu-nat.o: gnu-nat.h | |
1471 | ||
c2d11a7d JM |
1472 | i386-tdep.o: i386-tdep.c $(defs_h) gdb_string.h $(frame_h) \ |
1473 | $(inferior_h) $(gdbcore_h) target.h $(floatformat_h) \ | |
b4a20239 | 1474 | $(symtab_h) $(gdbcmd_h) $(command_h) $(arch_utils_h) |
c906108c SS |
1475 | |
1476 | i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \ | |
1477 | language.h $(gdbcore_h) $(floatformat_h) target.h | |
1478 | ||
1479 | i386b-nat.o: i386b-nat.c $(defs_h) | |
1480 | ||
1481 | i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h | |
1482 | ||
1483 | i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h $(gdbcore_h) | |
1484 | ||
1485 | i386m3-nat.o: i386m3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) target.h | |
1486 | ||
1487 | i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1488 | ||
1489 | i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ | |
1490 | $(inferior_h) language.h target.h | |
1491 | ||
d4f3574e | 1492 | i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \ |
e7ee86a9 JB |
1493 | $(symtab_h) symfile.h objfiles.h |
1494 | ||
1495 | i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \ | |
1496 | $(value_h) | |
d4f3574e | 1497 | |
c906108c SS |
1498 | i386v4-nat.o: i386v4-nat.c $(defs_h) |
1499 | ||
1500 | i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ | |
1501 | $(inferior_h) language.h | |
1502 | ||
1503 | i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \ | |
1504 | $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h) | |
1505 | ||
76d689a6 KB |
1506 | ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(inferior_h) $(target_h) \ |
1507 | $(gdbcore_h) | |
1508 | ||
8064c6ae KB |
1509 | ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h) |
1510 | ||
76d689a6 | 1511 | ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) symfile.h $(gdbcore_h) \ |
8064c6ae | 1512 | $(arch_utils_h) $(floatformat_h) objfiles.h $(INCLUDE_DIR)/elf/common.h |
76d689a6 | 1513 | |
c906108c SS |
1514 | infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \ |
1515 | $(inferior_h) target.h language.h gdb_string.h | |
1516 | ||
1517 | inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \ | |
1518 | signals.h target.h terminal.h gdbthread.h gdb_string.h | |
1519 | ||
1520 | infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
03f2053f | 1521 | gdb_string.h gdb_wait.h $(command_h) |
c906108c | 1522 | |
03f2053f | 1523 | infrun.o: infrun.c gdb_wait.h $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ |
c2c6d25f JM |
1524 | $(inferior_h) target.h gdbthread.h gdb_string.h $(event_loop_h) \ |
1525 | $(event_top_h) target.h | |
c906108c | 1526 | |
03f2053f | 1527 | inftarg.o: inftarg.c gdb_wait.h $(defs_h) $(gdbcore_h) $(inferior_h) \ |
c906108c SS |
1528 | target.h terminal.h $(command_h) |
1529 | ||
1530 | irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) | |
1531 | irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) target.h \ | |
1532 | $(symtab_h) symfile.h objfiles.h $(command_h) $(frame_h) gnu-regex.h \ | |
1533 | language.h gdb_string.h | |
1534 | ||
1535 | isi-xdep.o: isi-xdep.c | |
1536 | ||
1537 | jv-lang.o: jv-lang.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ | |
1538 | $(expression_h) parser-defs.h language.h symfile.h objfiles.h \ | |
1539 | gdb_string.h $(value_h) c-lang.h jv-lang.h $(gdbcore_h) | |
1540 | ||
1541 | jv-typeprint.o: jv-typeprint.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ | |
1542 | $(value_h) $(INCLUDE_DIR)/demangle.h jv-lang.h gdb_string.h \ | |
7a292a7a | 1543 | typeprint.h c-lang.h |
c906108c SS |
1544 | |
1545 | jv-valprint.o: jv-valprint.c $(bfd_h) $(defs_h) $(symtab_h) $(gdbtypes_h) \ | |
1546 | $(expression_h) $(value_h) $(INCLUDE_DIR)/demangle.h valprint.h \ | |
7a292a7a | 1547 | language.h jv-lang.h c-lang.h gdbcore.h annotate.h |
c906108c | 1548 | |
c2c6d25f | 1549 | kod.o: kod.c $(defs_h) $(command_h) $(gdbcmd_h) target.h gdb_string.h kod.h |
96baa820 | 1550 | |
c2c6d25f | 1551 | kod-cisco.o: kod-cisco.c $(defs_h) gdb_string.h kod.h |
96baa820 | 1552 | |
c906108c SS |
1553 | language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \ |
1554 | $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \ | |
1555 | target.h $(value_h) gdb_string.h | |
1556 | ||
1557 | lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcore_h) \ | |
1558 | target.h | |
1559 | ||
1560 | m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1561 | language.h m2-lang.h parser-defs.h $(symtab_h) | |
1562 | ||
1563 | m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1564 | $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \ | |
1565 | $(value_h) gdb_string.h | |
1566 | ||
1567 | m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \ | |
1568 | valprint.h m2-lang.h | |
1569 | ||
1570 | m3-nat.o: m3-nat.c $(defs_h) $(inferior_h) $(value_h) language.h target.h \ | |
03f2053f | 1571 | gdb_wait.h $(gdbcmd_h) $(gdbcore_h) |
c906108c | 1572 | |
df115219 PM |
1573 | p-lang.o: p-lang.c p-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ |
1574 | language.h parser-defs.h $(symtab_h) gdb_string.h | |
1575 | ||
1576 | p-typeprint.o: p-typeprint.c p-lang.h $(defs_h) $(expression_h) \ | |
1577 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \ | |
1578 | target.h typeprint.h $(value_h) gdb_string.h | |
1579 | ||
1580 | p-valprint.o: p-valprint.c p-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
1581 | language.h $(symtab_h) valprint.h $(value_h) gdb_string.h | |
1582 | ||
c906108c SS |
1583 | m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \ |
1584 | $(gdbcore_h) gdb_string.h | |
1585 | ||
1586 | m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h | |
1587 | ||
1588 | m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \ | |
1589 | $(language_h) $(gdbcore_h) $(floatformat_h) target.h | |
1590 | ||
1591 | m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1592 | ||
1593 | m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1594 | ||
1595 | mac-nat.o: mac-nat.c $(defs_h) gdb_string.h | |
1596 | ||
e529db18 | 1597 | main.o: main.c top.h $(defs_h) gdb_string.h $(event_loop_h) $(srcdir)/tui/tui-file.h |
c906108c SS |
1598 | |
1599 | maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \ | |
1600 | $(expression_h) objfiles.h symfile.h | |
1601 | ||
96baa820 JM |
1602 | mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(gdbcmd_h) $(value_h) $(symtab_h) |
1603 | ||
1604 | mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) target.h monitor.h \ | |
1605 | gdb_string.h | |
1606 | ||
c906108c SS |
1607 | mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ |
1608 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ | |
1609 | objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \ | |
1610 | gdb_string.h | |
1611 | ||
1612 | mipsm3-nat.o: mipsm3-nat.c $(defs_h) $(inferior_h) | |
1613 | ||
1614 | os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ | |
1615 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ | |
1616 | objfiles.h stabsread.h symfile.h $(symtab_h) \ | |
1617 | target.h gdb_string.h | |
1618 | ||
1619 | mem-break.o: mem-break.c $(defs_h) | |
1620 | ||
1621 | minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ | |
1622 | $(symtab_h) gdb_string.h | |
1623 | ||
1624 | mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1625 | ||
1626 | mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1ad03bde | 1627 | $(arch_utils_h) \ |
c906108c SS |
1628 | $(inferior_h) language.h objfiles.h symfile.h gdb_string.h |
1629 | ||
1630 | mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ | |
1631 | $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ | |
1632 | objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h) \ | |
1633 | gdb_string.h | |
1634 | ||
1635 | mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h | |
1636 | ||
03f2053f | 1637 | monitor.o: monitor.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1638 | $(inferior_h) target.h serial.h terminal.h gdb_string.h |
1639 | ||
1640 | news-xdep.o: news-xdep.c | |
1641 | ||
03f2053f | 1642 | Onindy.o: nindy-share/Onindy.c gdb_wait.h nindy-share/block_io.h \ |
c906108c SS |
1643 | nindy-share/env.h |
1644 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c | |
1645 | ||
03f2053f | 1646 | nindy.o: nindy-share/nindy.c gdb_wait.h nindy-share/block_io.h \ |
c906108c SS |
1647 | nindy-share/env.h |
1648 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c | |
1649 | ||
1650 | nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1651 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h \ | |
1652 | gdb_string.h | |
1653 | ||
1654 | ns32km3-nat.o: ns32km3-nat.c $(defs_h) $(inferior_h) | |
1655 | ||
1656 | ttyflush.o: nindy-share/ttyflush.c | |
1657 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c | |
1658 | ||
1659 | nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(gdbcore_h) | |
1660 | ||
1661 | ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) | |
1662 | ||
1663 | objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ | |
7a292a7a | 1664 | $(symtab_h) gdb_string.h $(breakpoint_h) |
c906108c SS |
1665 | |
1666 | osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1667 | objfiles.h gnu-regex.h symfile.h target.h language.h gdb_string.h | |
1668 | ||
1669 | somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1670 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1671 | ||
1672 | somsolib.o: somsolib.c $(defs_h) | |
1673 | ||
53a5351d JM |
1674 | pa64solib.o: pa64solib.c $(defs_h) |
1675 | ||
1676 | hpux-thread.o: hpux-thread.c $(defs_h) gdbthread.h target.h inferior.h | |
c906108c SS |
1677 | hpux-thread.o: hpux-thread.c $(defs_h) gdbthread.h target.h inferior.h |
1678 | $(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \ | |
1679 | -I$(srcdir)/osf-share/HP800 -I/usr/include/dce $(srcdir)/hpux-thread.c | |
1680 | ||
1681 | # FIXME!!! | |
1682 | hpread.o: hpread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ | |
1683 | gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1684 | ||
1685 | hp-psymtab-read.o: hp-psymtab-read.c hpread.h $(bfd_h) buildsym.h complaints.h \ | |
1686 | $(defs_h) gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1687 | ||
1688 | hp-symtab-read.o: hp-symtab-read.c hpread.h $(bfd_h) buildsym.h complaints.h \ | |
1689 | $(defs_h) gdb-stabs.h objfiles.h symfile.h $(symtab_h) gdb_string.h | |
1690 | # END FIXME!!! | |
1691 | ||
1692 | parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \ | |
1693 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ | |
c5f0f3d0 | 1694 | gdb_string.h linespec.h |
c906108c SS |
1695 | |
1696 | ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) gdb_string.h $(frame_h) \ | |
03f2053f | 1697 | $(inferior_h) $(bfd_h) symfile.h target.h gdb_wait.h $(gdbcmd_h) \ |
c906108c SS |
1698 | objfiles.h gdb-stabs.h serial.h ocd.h |
1699 | ||
2559291b KB |
1700 | ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdbcore_h) $(frame_h) \ |
1701 | $(inferior_h) target.h | |
1702 | ||
1703 | ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
9aa1e687 | 1704 | target.h ppc-tdep.h |
2559291b | 1705 | |
03f2053f | 1706 | ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1707 | $(inferior_h) target.h serial.h terminal.h |
1708 | ||
1709 | printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \ | |
1710 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ | |
1711 | symfile.h $(symtab_h) target.h gdb_string.h | |
1712 | ||
4ce44c66 JM |
1713 | # FIXME: Procfs.o gets -Wformat errors because things like pid_t don't |
1714 | # match output format strings. | |
c906108c | 1715 | procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ |
0fda6bd2 | 1716 | target.h gdb_string.h gdbthread.h proc-utils.h |
4ce44c66 | 1717 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $< |
c906108c | 1718 | |
0fda6bd2 | 1719 | proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) proc-utils.h |
c3f6f71d | 1720 | |
0fda6bd2 | 1721 | proc-events.o: proc-events.c $(defs_h) |
c3f6f71d | 1722 | |
0fda6bd2 | 1723 | proc-flags.o: proc-flags.c $(defs_h) |
c3f6f71d | 1724 | |
0fda6bd2 | 1725 | proc-why.o: proc-why.c $(defs_h) proc-utils.h |
c3f6f71d | 1726 | |
d4f3574e SS |
1727 | sol-thread.o: sol-thread.c $(defs_h) gdbthread.h target.h $(inferior_h) \ |
1728 | $(gdbcmd_h) | |
1729 | ||
03f2053f | 1730 | linux-thread.o: linux-thread.c $(breakpoint_h) $(gdbcmd_h) gdb_wait.h \ |
d4f3574e SS |
1731 | gdbthread.h $(gdbcore_h) $(inferior_h) target.h $(defs_h) |
1732 | ||
9846de1b | 1733 | # OBSOLETE pyr-tdep.o: pyr-tdep.c $(defs_h) |
c906108c | 1734 | |
9846de1b | 1735 | # OBSOLETE pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) |
c906108c SS |
1736 | |
1737 | gnu-regex.o: gnu-regex.c gnu-regex.h $(defs_h) gdb_string.h | |
1738 | ||
03f2053f | 1739 | remote-adapt.o: remote-adapt.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1740 | $(inferior_h) target.h terminal.h gdb_string.h |
1741 | ||
03f2053f | 1742 | remote-array.o: remote-array.c gdb_wait.h $(defs_h) $(gdbcore_h) target.h \ |
d4f3574e SS |
1743 | gdb_string.h $(command_h) serial.h monitor.h $(remote_utils_h) \ |
1744 | $(version_h) | |
c906108c | 1745 | |
03f2053f | 1746 | remote-rdi.o: remote-rdi.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1747 | $(inferior_h) gdb_string.h |
1748 | ||
1749 | rdi-share/libangsd.a: force | |
1750 | @dir=rdi-share; \ | |
1751 | if [ -f ./$${dir}/Makefile ] ; then \ | |
1752 | r=`pwd`; export r; \ | |
1753 | srcroot=`cd $(srcdir); pwd`; export srcroot; \ | |
1754 | (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ | |
1755 | else \ | |
1756 | true; \ | |
1757 | fi | |
1758 | ||
03f2053f | 1759 | remote-d10v.o: remote-d10v.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1760 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h |
1761 | ||
03f2053f | 1762 | remote-rdp.o: remote-rdp.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1763 | $(inferior_h) gdb_string.h |
1764 | ||
03f2053f | 1765 | remote-bug.o: remote-bug.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1766 | $(inferior_h) target.h terminal.h $(remote_utils_h) gdb_string.h |
1767 | ||
d4f3574e SS |
1768 | # FIXME: For the SH target, remote-e7000 contains numerous -Wformat |
1769 | # warnings. Since the fixes involve modifications to the code that | |
1770 | # handles the SH remote protocol the changes need to be tested against | |
1771 | # an SH board before they can be committed. cagney 1999-09-01. | |
c906108c | 1772 | remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \ |
03f2053f | 1773 | gdb_wait.h serial.h gdb_string.h |
d4f3574e | 1774 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $< |
c906108c | 1775 | |
03f2053f | 1776 | remote-eb.o: remote-eb.c gdb_wait.h $(srcdir)/config/a29k/tm-a29k.h \ |
c906108c SS |
1777 | $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h \ |
1778 | gdb_string.h | |
1779 | ||
03f2053f | 1780 | remote-es.o: remote-es.c $(bfd_h) gdb_wait.h $(command_h) $(defs_h) \ |
c906108c SS |
1781 | $(inferior_h) $(remote_utils_h) terminal.h gdb_string.h |
1782 | ||
03f2053f | 1783 | remote-hms.o: remote-hms.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1784 | $(inferior_h) serial.h target.h terminal.h gdb_string.h |
1785 | ||
03f2053f | 1786 | remote-mips.o: remote-mips.c gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1787 | $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h |
1788 | ||
03f2053f | 1789 | remote-mm.o: remote-mm.c $(bfd_h) gdb_wait.h $(defs_h) $(inferior_h) \ |
c906108c SS |
1790 | minimon.h target.h terminal.h gdb_string.h |
1791 | ||
03f2053f | 1792 | remote-nindy.o: remote-nindy.c $(floatformat_h) gdb_wait.h $(command_h) \ |
c906108c SS |
1793 | $(defs_h) $(gdbcore_h) $(inferior_h) \ |
1794 | nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \ | |
1795 | symfile.h | |
1796 | ||
03f2053f | 1797 | remote-os9k.o: remote-os9k.c $(defs_h) $(gdbcore_h) gdb_wait.h \ |
c906108c SS |
1798 | $(command_h) monitor.h $(remote_utils_h) $(symtab_h) symfile.h \ |
1799 | objfiles.h gdb-stabs.h gdb_string.h | |
1800 | ||
03f2053f | 1801 | remote-sds.o: remote-sds.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1802 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h |
1803 | ||
03f2053f | 1804 | remote-sim.o: remote-sim.c gdb_wait.h $(defs_h) $(gdbcore_h) \ |
c906108c SS |
1805 | $(inferior_h) target.h terminal.h gdb_string.h \ |
1806 | $(INCLUDE_DIR)/callback.h | |
1807 | ||
03f2053f | 1808 | remote-st.o: remote-st.c gdb_wait.h $(defs_h) $(gdbcore_h) serial.h \ |
c906108c SS |
1809 | target.h gdb_string.h |
1810 | ||
03f2053f | 1811 | remote-udi.o: remote-udi.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1812 | $(inferior_h) target.h terminal.h $(udiheaders) gdb_string.h |
1813 | ||
03f2053f | 1814 | remote-vx.o: remote-vx.c gdb_wait.h complaints.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1815 | $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \ |
1816 | vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \ | |
1817 | vx-share/xdr_rdb.h gdb-stabs.h objfiles.h symfile.h $(bfd_h) \ | |
1818 | gdb_string.h | |
1819 | ||
03f2053f | 1820 | remote-vx29k.o: remote-vx29k.c gdb_wait.h complaints.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1821 | $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \ |
1822 | vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \ | |
1823 | vx-share/xdr_rdb.h gdb_string.h | |
1824 | ||
1825 | ocd.o: ocd.c ocd.h $(gdbcore_h) gdb_string.h $(frame_h) $(inferior_h) \ | |
03f2053f | 1826 | $(bfd_h) symfile.h target.h gdb_wait.h $(gdbcmd_h) objfiles.h \ |
c906108c SS |
1827 | gdb-stabs.h $(dcache_h) serial.h |
1828 | ||
1829 | remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ | |
1830 | $(inferior_h) $(remote_utils_h) gdb_string.h | |
1831 | ||
03f2053f | 1832 | remote.o: remote.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
43ff13b4 | 1833 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h gdb_string.h \ |
2acceee2 | 1834 | $(event_loop_h) $(event_top_h) $(remote_h) $(inf_loop_h) |
c906108c | 1835 | |
03f2053f | 1836 | remote-nrom.o: remote-nrom.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1837 | $(inferior_h) $(remote_utils_h) symfile.h terminal.h |
1838 | ||
03f2053f | 1839 | rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1840 | $(inferior_h) target.h serial.h terminal.h |
1841 | ||
1842 | rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h \ | |
63f58cc5 | 1843 | $(gdbcore_h) xcoffsolib.h symfile.h objfiles.h gdb-stabs.h |
c906108c SS |
1844 | |
1845 | rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
63f58cc5 | 1846 | target.h ppc-tdep.h |
c906108c SS |
1847 | |
1848 | scm-exp.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \ | |
1849 | scm-lang.h scm-tags.h | |
1850 | ||
1851 | scm-lang.o: $(defs_h) $(value_h) parser-defs.h language.h c-lang.h \ | |
1852 | scm-lang.h scm-tags.h gdb_string.h $(gdbcore_h) | |
1853 | ||
1854 | scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \ | |
1855 | scm-lang.h valprint.h $(gdbcore_h) | |
1856 | ||
1857 | ser-go32.o: ser-go32.c $(defs_h) serial.h | |
1858 | ||
1859 | ser-mac.o: ser-mac.c $(defs_h) serial.h signals.h | |
1860 | ||
1861 | ser-ocd.o: ser-ocd.c $(defs_h) serial.h signals.h gdb_string.h | |
1862 | ||
c2c6d25f | 1863 | ser-pipe.o: ser-pipe.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h |
43e526b9 | 1864 | |
c2c6d25f | 1865 | ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h |
c906108c | 1866 | |
c2c6d25f | 1867 | ser-unix.o: ser-unix.c $(defs_h) serial.h ser-unix.h |
c906108c SS |
1868 | |
1869 | serial.o: serial.c $(defs_h) serial.h gdb_string.h | |
1870 | ||
1871 | sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \ | |
1872 | $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \ | |
b4a20239 | 1873 | $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(arch_utils_h) |
c906108c | 1874 | |
03f2053f | 1875 | sh3-rom.o: sh3-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
b4a20239 | 1876 | $(inferior_h) target.h serial.h terminal.h $(arch_utils_h) |
c906108c | 1877 | |
03f2053f | 1878 | mon960-rom.o: mon960-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ |
c906108c SS |
1879 | $(inferior_h) target.h serial.h terminal.h |
1880 | ||
1881 | solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
13437d4b KB |
1882 | objfiles.h gnu-regex.h symfile.h target.h gdb_string.h solist.h |
1883 | ||
1884 | solib-svr4.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ | |
1885 | objfiles.h gnu-regex.h symfile.h target.h gdb_string.h solist.h \ | |
1886 | solib-svr4.h | |
c906108c SS |
1887 | |
1888 | source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \ | |
1889 | $(gdbcore_h) language.h objfiles.h gnu-regex.h symfile.h $(symtab_h) \ | |
c5f0f3d0 | 1890 | gdb_string.h source.h completer.h linespec.h |
c906108c SS |
1891 | |
1892 | sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(gdbcore_h) \ | |
1893 | target.h | |
1894 | ||
1895 | sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \ | |
5af923b0 MS |
1896 | $(inferior_h) objfiles.h symfile.h target.h gdb_string.h \ |
1897 | $(arch_utils_h) | |
c906108c SS |
1898 | |
1899 | sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) target.h | |
1900 | ||
1901 | dsrec.o: dsrec.c $(defs_h) srec.h | |
1902 | ||
1903 | stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ | |
1904 | $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \ | |
1905 | $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h) \ | |
1906 | gdb_string.h | |
1907 | ||
1908 | stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ | |
1909 | language.h target.h gdb_string.h | |
1910 | ||
d9fcf2fb | 1911 | ui-file.o: ui-file.c $(defs_h) ui-file.h |
da59e081 JM |
1912 | tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(srcdir)/tui/tui-file.h |
1913 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c | |
1914 | ||
7a292a7a | 1915 | ax-general.o: ax-general.c $(ax_h) $(defs_h) $(value_h) |
c906108c SS |
1916 | ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) symfile.h $(gdbtypes_h) \ |
1917 | $(value_h) $(expression_h) $(command_h) $(ax_h) $(gdbcmd_h) ax-gdb.h | |
1918 | ||
1919 | sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1920 | ||
1921 | sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) | |
1922 | ||
1923 | symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \ | |
f1f64586 MK |
1924 | $(expression_h) gdb-stabs.h $(gdbcmd_h) $(gdbcore_h) \ |
1925 | $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) \ | |
1926 | target.h gdb_string.h completer.h | |
c906108c SS |
1927 | |
1928 | symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1929 | ||
1930 | symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1931 | ||
1932 | symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \ | |
1933 | $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ | |
1934 | $(symtab_h) gdb_string.h | |
1935 | ||
1936 | symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \ | |
1937 | $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ | |
1938 | gnu-regex.h symfile.h $(symtab_h) target.h $(value_h) \ | |
c5f0f3d0 | 1939 | gdb_string.h linespec.h |
c906108c | 1940 | |
c5f0f3d0 FN |
1941 | linespec.o: linespec.c linespec.h $(defs_h) $(frame_h) $(value_h) \ |
1942 | objfiles.h symfile.h completer.h $(symtab_h) \ | |
1943 | $(INCLUDE_DIR)/demangle.h command.h | |
50641945 | 1944 | |
104c1213 JM |
1945 | # OBSOLETE tahoe-tdep.o: tahoe-tdep.c $(OP_INCLUDE)/tahoe.h $(defs_h) \ |
1946 | # OBSOLETE $(symtab_h) | |
c906108c | 1947 | |
7a292a7a SS |
1948 | tic80-tdep.o: tic80-tdep.c $(defs_h) |
1949 | ||
c906108c SS |
1950 | target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \ |
1951 | objfiles.h symfile.h target.h gdb_string.h | |
1952 | ||
cd0fc7c3 | 1953 | thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h) target.h |
c906108c | 1954 | |
c5f0f3d0 FN |
1955 | completer.o: completer.c completer.h $(gdbtypes_h) $(symtab_h) \ |
1956 | $(defs_h) $(gdbcmd_h) $(expression_h) $(readline_headers) | |
1957 | ||
c906108c SS |
1958 | top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \ |
1959 | $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \ | |
c5f0f3d0 FN |
1960 | $(remote_utils_h) gdb_string.h $(event_loop_h) $(event_top_h) \ |
1961 | completer.h $(version_h) | |
c906108c SS |
1962 | |
1963 | typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1964 | $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ | |
1965 | $(value_h) gdb_string.h | |
1966 | ||
1967 | ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1968 | ||
1969 | ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1970 | ||
1971 | umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) | |
1972 | ||
1973 | utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1974 | language.h signals.h target.h terminal.h $(readline_headers) \ | |
c2c6d25f | 1975 | gdb_string.h $(event_loop_h) $(event_top_h) |
c906108c SS |
1976 | |
1977 | valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \ | |
1978 | $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h) \ | |
1979 | gdb_string.h | |
1980 | ||
1981 | valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \ | |
1982 | gdb_string.h | |
1983 | ||
1984 | valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ | |
1985 | $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ | |
1986 | $(value_h) gdb_string.h valprint.h | |
1987 | ||
1988 | values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \ | |
1989 | $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h) \ | |
1990 | gdb_string.h scm-lang.h | |
1991 | ||
1992 | vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h) | |
1993 | ||
1994 | w65-tdep.o : w65-tdep.c $(gdbcore_h) | |
1995 | ||
1996 | win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ | |
1997 | gdb_string.h | |
1998 | ||
1999 | xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \ | |
2000 | vx-share/vxWorks.h vx-share/xdr_ld.h | |
2001 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c | |
2002 | ||
2003 | xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \ | |
2004 | vx-share/vxWorks.h vx-share/xdr_ptrace.h | |
2005 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c | |
2006 | ||
2007 | xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \ | |
2008 | vx-share/vxWorks.h vx-share/xdr_rdb.h | |
2009 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c | |
2010 | ||
2011 | xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ | |
2012 | $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \ | |
2013 | $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \ | |
2014 | complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \ | |
2015 | $(symtab_h) partial-stab.h gdb_string.h | |
2016 | ||
63f58cc5 PS |
2017 | xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h $(inferior_h) \ |
2018 | $(gdbcmd_h) symfile.h $(frame_h) gnu-regex.h | |
c906108c | 2019 | |
d4f3574e SS |
2020 | # FIXME: z8k-tdep.c calls _initialize_gdbtypes(). Since that isn't |
2021 | # declared -Wimplicit fails. It should be using the GDBARCH framework. | |
2022 | # cagney 1999-09-02. | |
c906108c | 2023 | z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \ |
d4f3574e SS |
2024 | $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(gdbcore_h) $(value_h) |
2025 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $< | |
c906108c SS |
2026 | |
2027 | c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \ | |
2028 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ | |
2029 | $(bfd_h) objfiles.h symfile.h | |
2030 | ||
2031 | jv-exp.tab.o: jv-exp.tab.c jv-lang.h $(defs_h) $(expression_h) \ | |
2032 | $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \ | |
2033 | $(bfd_h) objfiles.h symfile.h | |
2034 | ||
2035 | f-exp.tab.o: f-exp.tab.c f-lang.h $(defs_h) $(expression_h) \ | |
2036 | language.h parser-defs.h $(value_h) $(bfd_h) objfiles.h symfile.h | |
2037 | ||
2038 | m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \ | |
2039 | language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \ | |
2040 | $(bfd_h) objfiles.h symfile.h | |
2041 | ||
df115219 PM |
2042 | p-exp.tab.o: p-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \ |
2043 | language.h p-lang.h parser-defs.h $(symtab_h) $(value_h) \ | |
2044 | $(bfd_h) objfiles.h symfile.h | |
2045 | ||
104c1213 JM |
2046 | gdb-events.o: gdb-events.c gdb-events.h $(defs_h) $(gdbcmd_h) |
2047 | ||
8b93c638 JM |
2048 | ui-out.o: ui-out.c $(defs_h) $(ui_out_h) expression.h language.h |
2049 | cli-out.o: cli-out.c $(defs_h) $(ui_out_h) $(cli_out_h) | |
b045c3f9 | 2050 | |
8b93c638 | 2051 | varobj.o: varobj.c $(defs_h) $(frame_h) $(value_h) \ |
4f0aafb3 | 2052 | $(language_h) valprint.h varobj.h wrapper.h |
b045c3f9 | 2053 | |
8b93c638 JM |
2054 | wrapper.o: wrapper.c $(defs_h) $(frame_h) $(value_h) wrapper.h |
2055 | ||
d318976c FN |
2056 | # |
2057 | # CLI dependencies | |
2058 | # | |
2059 | # Need to explicitly specify the compile rule as make will do nothing | |
2060 | # or try to compile the object file into the cli directory. | |
2061 | ||
2062 | cli-decode.o: $(srcdir)/cli/cli-decode.c $(cli_decode_h) \ | |
2063 | $(cli_cmds_h) $(defs_h) $(ui_out_h) \ | |
2064 | $(symtab_h) gnu-regex.h | |
2065 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c | |
2066 | ||
2067 | cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(cli_cmds_h) $(cli_decode_h) \ | |
2068 | $(cli_script_h) $(cli_setshow_h) top.h completer.h $(defs_h) \ | |
2069 | $(target_h) gdb_wait.h gnu-regex.h $(ui_out_h) | |
2070 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c | |
2071 | ||
2072 | cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(cli_setshow_h) \ | |
2073 | $(cli_decode_h) $(cli_cmds_h) $(defs_h) \ | |
2074 | $(value_h) $(ui_out_h) | |
2075 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-setshow.c | |
2076 | ||
2077 | cli-script.o: $(srcdir)/cli/cli-script.c $(cli_script_h) \ | |
2078 | $(cli_cmds_h) $(cli_decode_h) top.h \ | |
2079 | $(defs_h) $(value_h) language.h $(ui_out_h) | |
2080 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-script.c | |
2081 | ||
fb40c209 AC |
2082 | # |
2083 | # MI dependencies | |
2084 | # | |
2085 | # Need to explicitly specify the compile rule as make will do nothing | |
2086 | # or try to compile the object file into the mi directory. | |
2087 | ||
2088 | mi_cmds_h = $(srcdir)/mi/mi-cmds.h | |
2089 | mi_out_h = $(srcdir)/mi/mi-out.h | |
2090 | mi_parse_h = $(srcdir)/mi/mi-parse.h | |
2091 | mi_getopt_h = $(srcdir)/mi/mi-getopt.h | |
2092 | mi_console_h = $(srcdir)/mi/mi-console.h | |
2093 | ||
2094 | mi-cmds.o: $(srcdir)/mi/mi-cmds.c $(defs_h) $(top_h) $(mi_cmds_h) $(ui_out_h) | |
2095 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmds.c | |
2096 | mi-cmd-var.o: $(srcdir)/mi/mi-cmd-var.c $(defs_h) $(top_h) $(mi_cmds_h) \ | |
2097 | $(ui_out_h) | |
2098 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-var.c | |
2099 | mi-cmd-stack.o: $(srcdir)/mi/mi-cmd-stack.c $(defs_h) $(top_h) $(mi_cmds_h) \ | |
2100 | $(ui_out_h) $(frame_h) $(value_h) $(target_h) | |
2101 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-stack.c | |
2102 | mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c $(defs_h) $(mi_cmds_h) \ | |
2103 | $(ui_out_h) $(mi_getopt_h) | |
2104 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-break.c | |
2105 | mi-cmd-disas.o: $(srcdir)/mi/mi-cmd-disas.c $(defs_h) $(mi_cmds_h) \ | |
2106 | $(ui_out_h) $(value_h) $(target_h) | |
2107 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-disas.c | |
2108 | mi-main.o: $(srcdir)/mi/mi-main.c $(defs_h) $(top_h) $(mi_cmds_h) $(ui_out_h) \ | |
2109 | $(mi_console_h) $(mi_getopt_h) $(event_loop_h) $(event_top_h) \ | |
2110 | $(mi_getopt_h) | |
2111 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/mi/mi-main.c | |
2112 | mi-out.o: $(srcdir)/mi/mi-out.c $(defs_h) $(mi_out_h) $(ui_out_h) | |
2113 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-out.c | |
2114 | mi-console.o: $(srcdir)/mi/mi-console.c $(mi_out_h) $(defs_h) | |
2115 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-console.c | |
2116 | mi-parse.o: $(srcdir)/mi/mi-parse.c $(defs_h) $(mi_parse_h) $(mi_cmds_h) | |
2117 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-parse.c | |
2118 | mi-getopt.o: $(srcdir)/mi/mi-getopt.c $(mi_getopt_h) $(defs_h) | |
2119 | $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-getopt.c | |
2120 | ||
ed952ac5 AC |
2121 | # |
2122 | # TUI dependencies | |
2123 | # | |
2124 | # Need to explicitly specify the compile rule as make will do nothing | |
2125 | # or try to compile the object file into the mi directory. | |
2126 | ||
2127 | tui.o: $(srcdir)/tui/tui.c \ | |
2128 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2129 | $(srcdir)/tui/tuiLayout.h $(srcdir)/tui/tuiIO.h \ | |
2130 | $(srcdir)/tui/tuiRegs.h $(srcdir)/tui/tuiWin.h | |
2131 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tui.c | |
2132 | tuiCommand.o: $(srcdir)/tui/tuiCommand.c \ | |
2133 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2134 | $(srcdir)/tui/tuiWin.h $(srcdir)/tui/tuiIO.h | |
2135 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiCommand.c | |
2136 | tuiData.o: $(srcdir)/tui/tuiData.c \ | |
2137 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h | |
2138 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiData.c | |
2139 | tuiDataWin.o: $(srcdir)/tui/tuiDataWin.c \ | |
2140 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2141 | $(srcdir)/tui/tuiRegs.h | |
2142 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiDataWin.c | |
2143 | tuiDisassem.o: $(srcdir)/tui/tuiDisassem.c \ | |
2144 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2145 | $(srcdir)/tui/tuiLayout.h $(srcdir)/tui/tuiSourceWin.h \ | |
2146 | $(srcdir)/tui/tuiStack.h | |
2147 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiDisassem.c | |
2148 | tuiGeneralWin.o: $(srcdir)/tui/tuiGeneralWin.c \ | |
2149 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2150 | $(srcdir)/tui/tuiGeneralWin.h | |
2151 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiGeneralWin.c | |
2152 | tuiIO.o: $(srcdir)/tui/tuiIO.c \ | |
2153 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2154 | $(srcdir)/tui/tuiIO.h $(srcdir)/tui/tuiCommand.h \ | |
2155 | $(srcdir)/tui/tuiWin.h | |
2156 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiIO.c | |
2157 | tuiLayout.o: $(srcdir)/tui/tuiLayout.c \ | |
2158 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2159 | $(srcdir)/tui/tuiGeneralWin.h $(srcdir)/tui/tuiStack.h \ | |
2160 | $(srcdir)/tui/tuiRegs.h $(srcdir)/tui/tuiDisassem.h | |
2161 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiLayout.c | |
2162 | tuiRegs.o: $(srcdir)/tui/tuiRegs.c \ | |
2163 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2164 | $(srcdir)/tui/tuiLayout.h $(srcdir)/tui/tuiWin.h | |
2165 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiRegs.c | |
2166 | tuiSource.o: $(srcdir)/tui/tuiSource.c \ | |
2167 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2168 | $(srcdir)/tui/tuiStack.h $(srcdir)/tui/tuiSourceWin.h \ | |
2169 | $(srcdir)/tui/tuiSource.h | |
2170 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiSource.c | |
2171 | tuiSourceWin.o: $(srcdir)/tui/tuiSourceWin.c \ | |
2172 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2173 | $(srcdir)/tui/tuiStack.h $(srcdir)/tui/tuiSourceWin.h \ | |
2174 | $(srcdir)/tui/tuiSource.h $(srcdir)/tui/tuiDisassem.h | |
2175 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiSourceWin.c | |
2176 | tuiStack.o: $(srcdir)/tui/tuiStack.c \ | |
2177 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2178 | $(srcdir)/tui/tuiStack.h $(srcdir)/tui/tuiSourceWin.h | |
2179 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiStack.c | |
2180 | tuiWin.o: $(srcdir)/tui/tuiWin.c \ | |
2181 | $(srcdir)/tui/tui.h $(srcdir)/tui/tuiData.h \ | |
2182 | $(srcdir)/tui/tuiGeneralWin.h $(srcdir)/tui/tuiStack.h \ | |
2183 | $(srcdir)/tui/tuiSourceWin.h $(srcdir)/tui/tuiDataWin.h | |
2184 | $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/tui/tuiWin.c | |
2185 | ||
c906108c | 2186 | ### end of the gdb Makefile.in. |