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