OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [doc/] [Makefile.in] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
##Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2002, 2003,
2
##2007, 2008, 2009, 2010 Free Software Foundation, Inc.
3
 
4
# Makefile for GDB documentation.
5
# This file is part of GDB.
6
 
7
# This program is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program.  If not, see .
19
 
20
srcdir = @srcdir@
21
VPATH = @srcdir@
22
 
23
prefix = @prefix@
24
 
25
infodir = @infodir@
26
datarootdir = @datarootdir@
27
docdir = @docdir@
28
pdfdir = @pdfdir@
29
htmldir = @htmldir@
30
 
31
SHELL = @SHELL@
32
 
33
LN_S = @LN_S@
34
 
35
INSTALL = @INSTALL@
36
INSTALL_PROGRAM = @INSTALL_PROGRAM@
37
INSTALL_DATA = @INSTALL_DATA@
38
 
39
mkinstalldirs = $(SHELL) $(srcdir)/../../mkinstalldirs
40
 
41
# main GDB source directory
42
gdbdir = $(srcdir)/..
43
 
44
# where to find texinfo; GDB dist should include a recent one
45
TEXIDIR=${gdbdir}/../texinfo
46
 
47
# where to find makeinfo, preferably one designed for texinfo-2
48
MAKEINFO=makeinfo
49
 
50
MAKEHTML = $(MAKEINFO) --html
51
MAKEHTMLFLAGS =
52
 
53
# where to find texi2roff, ditto
54
TEXI2ROFF=texi2roff
55
 
56
# where to find texi2dvi, ditto
57
TEXI2DVI=texi2dvi
58
 
59
# Package version and bug-reporting URL.
60
PKGVERSION = @PKGVERSION@
61
BUGURL_TEXI = @REPORT_BUGS_TEXI@
62
 
63
# Where is the source dir for the READLINE library doc?
64
# Traditionally readline is in .. or .
65
READLINE_DIR = ${gdbdir}/../readline/doc
66
 
67
# The GDB/MI docs come from a sibling directory ../mi
68
GDBMI_DIR = ${gdbdir}/mi
69
 
70
SET_TEXINPUTS = \
71
   TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$(GDBMI_DIR):$$TEXINPUTS
72
 
73
# Files which should be generated via 'info' and installed by 'install-info'
74
INFO_DEPS = gdb.info gdbint.info stabs.info annotate.info or32.info
75
 
76
# Files which should be generated via 'pdf' and installed by 'install-pdf'
77
PDFFILES = gdb.pdf gdbint.pdf stabs.pdf refcard.pdf annotate.pdf or32.pdf
78
# Files which should be generated via 'html' and installed by 'install-html'
79
HTMLFILES =  gdb/index.html gdbint/index.html stabs/index.html annotate/index.html or32/index.html
80
HTMLFILES_INSTALL = gdb gdbint stabs annotate
81
 
82
# There may be alternate predefined collections of switches to configure
83
# the GDB manual.  Normally this is not done in synch with the software
84
# config system, since this choice tends to be independent; most people
85
# want a doc config of `all' for a generic manual, regardless of sw config.
86
DOC_CONFIG = all
87
 
88
# This list of sed edits will edit the GDB reference card
89
# for what fonts and what papersize to use.
90
# By default (NO edits applied), the refcard uses:
91
#    - Computer Modern (CM) fonts
92
#    - US letter paper (8.5x11in)
93
# List some of the following files for alternative fonts and paper:
94
#  a4rc.sed     use A4 paper (297 x 210 mm)
95
#  psrc.sed     use PostScript fonts (Karl Berry short TeX names)
96
# lpsrc.sed     use PostScript fonts (full PostScript names in TeX)
97
# e.g. for A4, Postscript:  REFEDITS = a4rc.sed psrc.sed
98
#      for A4, CM fonts:    REFEDITS = a4rc.sed
99
#      for US, PS fonts:    REFEDITS = psrc.sed
100
#      for default:
101
REFEDITS =
102
 
103
# Don Knuth's TeX formatter
104
TEX = tex
105
PDFTEX = pdftex
106
 
107
# Program to generate Postscript files from DVI files.
108
DVIPS = dvips
109
 
110
# Main GDB manual
111
GDB_DOC_SOURCE_INCLUDES = \
112
        $(srcdir)/fdl.texi \
113
        $(srcdir)/gpl.texi \
114
        $(srcdir)/agentexpr.texi \
115
        $(READLINE_DIR)/rluser.texi \
116
        $(READLINE_DIR)/inc-hist.texinfo
117
GDB_DOC_BUILD_INCLUDES = \
118
        gdb-cfg.texi \
119
        GDBvn.texi
120
GDB_DOC_FILES = \
121
        $(srcdir)/gdb.texinfo \
122
        $(GDB_DOC_SOURCE_INCLUDES) \
123
        $(GDB_DOC_BUILD_INCLUDES)
124
 
125
# Internals Manual
126
GDBINT_DOC_SOURCE_INCLUDES = \
127
        $(srcdir)/fdl.texi \
128
        $(srcdir)/observer.texi
129
GDBINT_DOC_BUILD_INCLUDES = \
130
        gdb-cfg.texi \
131
        GDBvn.texi
132
GDBINT_DOC_FILES = \
133
        $(srcdir)/gdbint.texinfo \
134
        $(GDBINT_DOC_SOURCE_INCLUDES) \
135
        $(GDBINT_DOC_BUILD_INCLUDES)
136
 
137
# Stabs manual: All files
138
STABS_DOC_SOURCE_INCLUDES = \
139
        $(srcdir)/fdl.texi
140
STABS_DOC_BUILD_INCLUDES =
141
STABS_DOC_FILES = \
142
        $(srcdir)/stabs.texinfo \
143
        $(STABS_DOC_SOURCE_INCLUDES) \
144
        $(STABS_DOC_BUILD_INCLUDES)
145
 
146
# Annotate migration document
147
ANNOTATE_DOC_SOURCE_INCLUDES = \
148
        $(srcdir)/fdl.texi
149
ANNOTATE_DOC_BUILD_INCLUDES = \
150
        gdb-cfg.texi \
151
        GDBvn.texi
152
ANNOTATE_DOC_FILES = \
153
        $(srcdir)/annotate.texinfo \
154
        $(ANNOTATE_DOC_SOURCE_INCLUDES) \
155
        $(ANNOTATE_DOC_BUILD_INCLUDES)
156
 
157
# GDB for OpenRISC 1000 User Guide
158 232 jeremybenn
OR32_DOC_SOURCE_INCLUDES = \
159 227 jeremybenn
        $(srcdir)/fdl.texi \
160
        $(srcdir)/gpl.texi
161 232 jeremybenn
OR32_DOC_BUILD_INCLUDES = \
162 227 jeremybenn
        gdb-cfg.texi \
163
        GDBvn.texi
164 232 jeremybenn
OR32_DOC_FILES = \
165
        $(srcdir)/or32.texinfo \
166
        $(OR32_DOC_SOURCE_INCLUDES) \
167
        $(OR32_DOC_BUILD_INCLUDES)
168 227 jeremybenn
 
169
#### Host, target, and site specific Makefile fragments come in here.
170
###
171
 
172
all:
173
 
174
info: $(INFO_DEPS)
175
dvi: gdb.dvi gdbint.dvi stabs.dvi refcard.dvi annotate.dvi or32.dvi
176
ps: gdb.ps gdbint.ps stabs.ps refcard.ps annotate.ps or32.ps
177
html: $(HTMLFILES)
178
pdf: $(PDFFILES)
179
all-doc: info dvi ps # pdf
180
diststuff: info
181
 
182
install-info: $(INFO_DEPS)
183
        $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(infodir)
184
        @list='$(INFO_DEPS)'; \
185
        for file in $$list; do \
186
          if test -f $$file; then d=.; else d=$(srcdir); fi; \
187
          for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
188
            if test -f $$d/$$ifile; then \
189
              echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
190
              $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
191
            else : ; fi; \
192
          done; \
193
        done
194
        $(POST_INSTALL)
195
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
196
          list='$(INFO_DEPS)'; \
197
          for file in $$list; do \
198
            echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
199
            install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
200
          done; \
201
        else : ; fi
202
 
203
uninstall-info:
204
        $(PRE_UNINSTALL)
205
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
206
          ii=yes; \
207
        else ii=; fi; \
208
        list='$(INFO_DEPS)'; \
209
        for file in $$list; do \
210
          test -z "$$ii" \
211
            || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
212
        done
213
        $(NORMAL_UNINSTALL)
214
        list='$(INFO_DEPS)'; \
215
        for file in $$list; do \
216
          (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
217
        done
218
 
219
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
220
 
221
install-html: $(HTMLFILES)
222
        @$(NORMAL_INSTALL)
223
        test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"
224
        @list='$(HTMLFILES_INSTALL)'; for p in $$list; do \
225
          if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
226
          f=$(html__strip_dir) \
227
          if test -d "$$d$$p"; then \
228
            echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \
229
            $(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
230
            echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
231
            $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
232
          else \
233
            echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
234
            $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
235
          fi; \
236
        done
237
 
238
pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
239
 
240
install-pdf: $(PDFFILES)
241
        @$(NORMAL_INSTALL)
242
        test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
243
        @list='$(PDFFILES)'; for p in $$list; do \
244
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
245
          f=$(pdf__strip_dir) \
246
          echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
247
          $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
248
        done
249
 
250
STAGESTUFF = *.info* gdb-all.texi GDBvn.texi *.ps *.dvi *.pdf
251
 
252
# Copy the object files from a particular stage into a subdirectory.
253
stage1: force
254
        -mkdir stage1
255
        -mv $(STAGESTUFF) stage1
256
 
257
stage2: force
258
        -mkdir stage2
259
        -mv $(STAGESTUFF) stage2
260
 
261
stage3: force
262
        -mkdir stage3
263
        -mv $(STAGESTUFF) stage3
264
 
265
against=stage2
266
 
267
comparison: force
268
        for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
269
 
270
de-stage1: force
271
        -(cd stage1 ; mv -f * ..)
272
        -rmdir stage1
273
 
274
de-stage2: force
275
        -(cd stage2 ; mv -f * ..)
276
        -rmdir stage2
277
 
278
de-stage3: force
279
        -(cd stage3 ; mv -f * ..)
280
        -rmdir stage3
281
 
282
# GDB QUICK REFERENCE (dvi output)
283
refcard.dvi : refcard.tex $(REFEDITS)
284
        echo > tmp.sed
285
        for f in x $(REFEDITS) ; do \
286
                test x$$f = xx && continue ; \
287
                cat $(srcdir)/$$f >>tmp.sed ; \
288
        done
289
        sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex
290
        $(SET_TEXINPUTS) $(TEX) sedref.tex
291
        mv sedref.dvi refcard.dvi
292
        rm -f sedref.log sedref.tex tmp.sed
293
 
294
refcard.ps : refcard.dvi
295
        $(DVIPS) -t landscape -o $@ $?
296
 
297
refcard.pdf : refcard.tex $(REFEDITS)
298
        echo > tmp.sed
299
        for f in x $(REFEDITS) ; do \
300
                test x$$f = xx && continue ; \
301
                cat $(srcdir)/$$f >>tmp.sed ; \
302
        done
303
        sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex
304
        $(SET_TEXINPUTS) $(PDFTEX) sedref.tex
305
        mv sedref.pdf refcard.pdf
306
        rm -f sedref.log sedref.tex tmp.sed
307
 
308
# File to record current GDB version number (copied from main dir version.in)
309
GDBvn.texi : ${gdbdir}/version.in
310
        echo "@set GDBVN `sed q $(srcdir)/../version.in`" > ./GDBvn.new
311
        if [ -n "$(PKGVERSION)" ]; then \
312
          echo "@set VERSION_PACKAGE $(PKGVERSION)" >> ./GDBvn.new; \
313
        fi
314
        echo "@set BUGURL $(BUGURL_TEXI)" >> ./GDBvn.new
315
        if [ "$(BUGURL_TEXI)" = "@uref{http://www.gnu.org/software/gdb/bugs/}" ]; then \
316
          echo "@set BUGURL_DEFAULT" >> ./GDBvn.new; \
317
        fi
318
        mv GDBvn.new GDBvn.texi
319
 
320
# Updated atomically
321
.PRECIOUS: GDBvn.texi
322
 
323
# Choose configuration for GDB manual (normally `all'; normally not tied into
324
# `configure' script because most users prefer generic version of manual,
325
# not one for their binary config---which may not be specifically
326
# defined anyways).
327
gdb-cfg.texi: ${srcdir}/${DOC_CONFIG}-cfg.texi
328
        (test "$(LN_S)" = "ln -s" && \
329
          ln -s ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi) || \
330
        ln ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi || \
331
        cp ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi
332
 
333
# GDB MANUAL: texinfo source, using @set/@clear/@value/@ifset/@ifclear
334
# If your texinfo or makeinfo don't support these, get a new texinfo release
335
#
336
# The nonsense with GDBvn.texi gets this to run with both Sun and GNU make.
337
#   Note that we can *generate* GDBvn.texi, but since we distribute one in the
338
#   source directory for the benefit of people who *don't* use this makefile,
339
#   VPATH will often tell make not to bother building it, because the one
340
#   in the srcdir is up to date.  (if not, then make should build one here).
341
 
342
# Clean these up before each run.  Avoids a catch 22 with not being
343
# able to re-generate these files (to fix a corruption) because these
344
# files contain a corruption.
345
GDB_TEX_TMPS = gdb.aux gdb.cp* gdb.fn* gdb.ky* gdb.log gdb.pg* gdb.toc \
346
        gdb.tp* gdb.vr*
347
 
348
# GDB MANUAL: TeX dvi file
349
gdb.dvi: ${GDB_DOC_FILES}
350
        if [ ! -f ./GDBvn.texi ]; then \
351
                (test "$(LN_S)" = "ln -s" && ln -s $(srcdir)/GDBvn.texi .) || \
352
                ln $(srcdir)/GDBvn.texi . || \
353
                cp $(srcdir)/GDBvn.texi . ; else true; fi
354
        rm -f $(GDB_TEX_TMPS)
355
        $(TEXI2DVI) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) \
356
                $(srcdir)/gdb.texinfo
357
 
358
gdb.ps: gdb.dvi
359
        $(DVIPS) -o $@ $?
360
 
361
gdb.pdf: ${GDB_DOC_FILES}
362
        if [ ! -f ./GDBvn.texi ]; then \
363
                (test "$(LN_S)" = "ln -s" && ln -s $(srcdir)/GDBvn.texi .) || \
364
                ln $(srcdir)/GDBvn.texi . || \
365
                cp $(srcdir)/GDBvn.texi . ; else true; fi
366
        rm -f $(GDB_TEX_TMPS)
367
        $(TEXI2DVI) --pdf -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) \
368
                $(srcdir)/gdb.texinfo
369
 
370
# GDB MANUAL: info file
371
gdb.info: ${GDB_DOC_FILES}
372
        $(MAKEINFO) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) \
373
                -o gdb.info $(srcdir)/gdb.texinfo
374
 
375
# GDB MANUAL: roff translations
376
# Try to use a recent texi2roff.  v2 was put on prep in jan91.
377
# If you want an index, see texi2roff doc for postprocessing
378
# and add -i to texi2roff invocations below.
379
# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
380
#    corresponding -e lines when later texi2roff's are current)
381
# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
382
# + @c's deleted explicitly because texi2roff sees texinfo commands in them
383
# + @   (that's at-BLANK) not recognized by texi2roff, turned into blank
384
# + @alphaenumerate is ridiculously new, turned into @enumerate
385
 
386
# texi2roff doesn't have a notion of include dirs, so we have to fake
387
# it out for gdb manual's include files---but only if not configured
388
# in main sourcedir.
389
links2roff: $(GDB_DOC_SOURCE_INCLUDES)
390
        if [ ! -f gdb.texinfo ]; then \
391
                (test "$(LN_S)" = "ln -s" && ln -s $(GDB_DOC_SOURCE_INCLUDES) .) || \
392
                ln $(GDB_DOC_SOURCE_INCLUDES)    . || \
393
                cp $(GDB_DOC_SOURCE_INCLUDES)    . ; \
394
        fi
395
        touch links2roff
396
 
397
# gdb manual suitable for [gtn]roff -me
398
gdb.me: $(GDB_DOC_FILES) links2roff
399
        sed -e '/\\input texinfo/d' \
400
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
401
                -e '/^@ifinfo/,/^@end ifinfo/d' \
402
                -e '/^@c /d' \
403
                -e 's/{.*,,/{/' \
404
                -e 's/@ / /g' \
405
                -e 's/^@alphaenumerate/@enumerate/g' \
406
                -e 's/^@end alphaenumerate/@end enumerate/g' \
407
                $(srcdir)/gdb.texinfo | \
408
        $(TEXI2ROFF) -me | \
409
        sed -e 's/---/\\(em/g' \
410
        >gdb.me
411
 
412
# gdb manual suitable for [gtn]roff -ms
413
gdb.ms: $(GDB_DOC_FILES) links2roff
414
        sed -e '/\\input texinfo/d' \
415
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
416
                -e '/^@ifinfo/,/^@end ifinfo/d' \
417
                -e '/^@c /d' \
418
                -e 's/{.*,,/{/' \
419
                -e 's/@ / /g' \
420
                -e 's/^@alphaenumerate/@enumerate/g' \
421
                -e 's/^@end alphaenumerate/@end enumerate/g' \
422
                $(srcdir)/gdb.texinfo | \
423
        $(TEXI2ROFF) -ms | \
424
        sed -e 's/---/\\(em/g' \
425
        >gdb.ms
426
 
427
# gdb manual suitable for [tn]roff -mm
428
# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
429
#   try leaving them in
430
gdb.mm: $(GDB_DOC_FILES) links2roff
431
        sed -e '/\\input texinfo/d' \
432
                -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
433
                -e '/^@ifinfo/,/^@end ifinfo/d' \
434
                -e '/^@c /d' \
435
                -e 's/{.*,,/{/' \
436
                -e '/@noindent/d' \
437
                -e 's/@ / /g' \
438
                -e 's/^@alphaenumerate/@enumerate/g' \
439
                -e 's/^@end alphaenumerate/@end enumerate/g' \
440
                $(srcdir)/gdb.texinfo | \
441
        $(TEXI2ROFF) -mm | \
442
        sed -e 's/---/\\(em/g' \
443
        >gdb.mm
444
 
445
# GDB MANUAL: HTML file
446
 
447
gdb/index.html: ${GDB_DOC_FILES}
448
        $(MAKEHTML) $(MAKEHTMLFLAGS) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) $(srcdir)/gdb.texinfo
449
 
450
# Clean these up before each run.  Avoids a catch 22 with not being
451
# able to re-generate these files (to fix a corruption) because these
452
# files contain a corruption.
453
GDBINT_TEX_TMPS = gdbint.aux gdbint.cp* gdbint.fn* gdbint.ky* \
454
        gdbint.log gdbint.pg* gdbint.toc gdbint.tp* gdbint.vr*
455
 
456
# GDB INTERNALS MANUAL: TeX dvi file
457
gdbint.dvi: $(GDBINT_DOC_FILES)
458
        rm -f $(GDBINT_TEX_TMPS)
459
        $(TEXI2DVI) -I $(srcdir) $(srcdir)/gdbint.texinfo
460
 
461
gdbint.ps : gdbint.dvi
462
        $(DVIPS) -o $@ $?
463
 
464
gdbint.pdf: $(GDBINT_DOC_FILES)
465
        rm -f $(GDBINT_TEX_TMPS)
466
        $(TEXI2DVI) --pdf -I $(srcdir) $(srcdir)/gdbint.texinfo
467
 
468
# GDB INTERNALS MANUAL: info file
469
 
470
gdbint.info: $(GDBINT_DOC_FILES)
471
        $(MAKEINFO) -I $(srcdir) -o gdbint.info $(srcdir)/gdbint.texinfo
472
 
473
# GDB INTERNALS MANUAL: HTML file
474
 
475
gdbint/index.html: $(GDBINT_DOC_FILES)
476
        $(MAKEHTML) $(MAKEHTMLFLAGS) -I $(srcdir) $(srcdir)/gdbint.texinfo
477
 
478
stabs.info: $(STABS_DOC_FILES)
479
        $(MAKEINFO) -I $(srcdir) -o stabs.info $(srcdir)/stabs.texinfo
480
 
481
# STABS DOCUMENTATION: HTML file
482
 
483
stabs/index.html: $(STABS_DOC_FILES)
484
        $(MAKEHTML) $(MAKEHTMLFLAGS) -I $(srcdir) $(srcdir)/stabs.texinfo
485
 
486
# Clean these up before each run.  Avoids a catch 22 with not being
487
# able to re-generate these files (to fix a corruption) because these
488
# files contain a corruption.
489
STABS_TEX_TMPS = stabs.aux stabs.cp* stabs.fn* stabs.ky* \
490
        stabs.log stabs.pg* stabs.toc stabs.tp* stabs.vr*
491
 
492
# STABS DOCUMENTATION: TeX dvi file
493
stabs.dvi : $(STABS_DOC_FILES)
494
        rm -f $(STABS_TEX_TMPS)
495
        $(TEXI2DVI) -I $(srcdir) $(srcdir)/stabs.texinfo
496
 
497
stabs.ps: stabs.dvi
498
        $(DVIPS) -o $@ $?
499
 
500
stabs.pdf: $(STABS_DOC_FILES)
501
        rm -f $(STABS_TEX_TMPS)
502
        $(TEXI2DVI) --pdf -I $(srcdir) $(srcdir)/stabs.texinfo
503
 
504
# Clean these up before each run.  Avoids a catch 22 with not being
505
# able to re-generate these files (to fix a corruption) because these
506
# files contain a corruption.
507
ANNOTATE_TEX_TMPS = annotate.aux annotate.cp* annotate.fn* annotate.ky* \
508
        annotate.log annotate.pg* annotate.toc annotate.tp* annotate.vr*
509
 
510
# ANNOTATE DOCUMENTATION: TeX dvi file
511
annotate.dvi : $(ANNOTATE_DOC_FILES)
512
        rm -f $(ANNOTATE_TEX_TMPS)
513
        $(TEXI2DVI) -I $(srcdir) $(srcdir)/annotate.texinfo
514
 
515
annotate.ps: annotate.dvi
516
        $(DVIPS) -o $@ $?
517
 
518
annotate.pdf: $(ANNOTATE_DOC_FILES)
519
        rm -f $(ANNOTATE_TEX_TMPS)
520
        $(TEXI2DVI) --pdf -I $(srcdir) $(srcdir)/annotate.texinfo
521
 
522
annotate.info: $(ANNOTATE_DOC_FILES)
523
        $(MAKEINFO)  -I $(srcdir) -o annotate.info $(srcdir)/annotate.texinfo
524
 
525
annotate/index.html: $(ANNOTATE_DOC_FILES)
526
        $(MAKEHTML) $(MAKEHTMLFLAGS) -I $(srcdir) $(srcdir)/annotate.texinfo
527
 
528
force:
529
 
530
Makefile: Makefile.in $(host_makefile_frag) config.status
531
        $(SHELL) ./config.status
532
 
533
 
534
# Clean these up before each run.  Avoids a catch 22 with not being
535
# able to re-generate these files (to fix a corruption) because these
536
# files contain a corruption.
537 232 jeremybenn
OR32_TEX_TMPS = or32.aux or32.cp* or32.fn* or32.ky* \
538
        or32.log or32.pg* or32.toc or32.tp* or32.vr*
539 227 jeremybenn
 
540
# GDB for OpenRISC 1000 DOCUMENTATION: TeX dvi file
541 232 jeremybenn
or32.dvi : $(OR32_DOC_FILES)
542
        rm -f $(OR32_TEX_TMPS)
543
        $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/or32.texinfo
544 227 jeremybenn
 
545 232 jeremybenn
or32.ps: or32.dvi
546 227 jeremybenn
        $(DVIPS) -o $@ $?
547
 
548 232 jeremybenn
or32.pdf: $(OR32_DOC_FILES)
549
        rm -f $(OR32_TEX_TMPS)
550
        $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/or32.texinfo
551 227 jeremybenn
 
552 232 jeremybenn
or32.info: $(OR32_DOC_FILES)
553
        $(MAKEINFO)  -I $(srcdir) -o or32.info $(srcdir)/or32.texinfo
554 227 jeremybenn
 
555 232 jeremybenn
or32_toc.html: $(OR32_DOC_FILES)
556
        $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/or32.texinfo
557 227 jeremybenn
 
558
force:
559
 
560
Makefile: Makefile.in $(host_makefile_frag) config.status
561
        $(SHELL) ./config.status
562
 
563
 
564
# The "least clean" level of cleaning.  Get rid of files which are
565
# automatically generated files that are just intermediate files,
566
 
567
mostlyclean:
568
        rm -f gdb.mm gdb.ms gdb.me links2roff
569
        rm -f $(GDB_TEX_TMPS)
570
        rm -f $(GDBINT_TEX_TMPS)
571
        rm -f $(STABS_TEX_TMPS)
572
        rm -f $(ANNOTATE_TEX_TMPS)
573 232 jeremybenn
        rm -f $(OR32_TEX_TMPS)
574 227 jeremybenn
        rm -f sedref.dvi sedref.tex tmp.sed
575
 
576
clean: mostlyclean
577
        rm -f gdb-cfg.texi
578
 
579
distclean: clean
580
        rm -f Makefile config.status config.log
581
 
582
# GDBvn.texi, the dvi files, the info files, and the postscript files,
583
# are all part of the distribution, so it should not be removed by
584
# "clean" or "distclean".  Use maintainer-clean to remove them.
585
 
586
maintainer-clean realclean: distclean
587
        rm -f GDBvn.texi *.info* *.dvi *.ps *.html *.pdf
588
 
589
install: install-info
590
 
591
uninstall: uninstall-info

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.