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