ia64/xen-unstable

annotate docs/Makefile @ 9488:0a6f5527ca4b

[IA64] set itv handoff as masked and enable reading irr[0-3]

Set initial vcpu itv handoff state to mask the timer vector.
This seems to match hardware and makes logical sense from a
spurious interrupt perspective. Enable vcpu_get_irr[0-3]
functions as they seem to work and have the proper backing.
This enables the check_sal_cache_flush() in arch/ia64/kernel.sal.c
to work unmodified, allowing us to remove the Xen changes from
the file (and thus the file from the sparse tree).

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Tue Apr 04 09:39:45 2006 -0600 (2006-04-04)
parents d49fd494963e
children b454a09cddb1
rev   line source
iap10@3490 1 #!/usr/bin/make -f
kaf24@857 2
emellor@7576 3 VERSION = xen-unstable
iap10@3493 4 INSTALL = install
iap10@3493 5 INSTALL_DIR = $(INSTALL) -d -m0755
iap10@3490 6
iap10@3490 7 PS2PDF := ps2pdf
iap10@3490 8 DVIPS := dvips
iap10@3490 9 LATEX := latex
iap10@3490 10 FIG2DEV := fig2dev
iap10@3490 11 LATEX2HTML := latex2html
ewan@6785 12 DOXYGEN := doxygen
emellor@7576 13 POD2MAN := pod2man
iap10@3490 14
kaf24@3537 15 pkgdocdir := /usr/share/doc/xen
emellor@7576 16 mandir := /usr/share/man
iap10@3490 17
emellor@7576 18 DOC_MAN5SRC := $(wildcard man/*.pod.5)
emellor@7576 19 DOC_MAN1SRC := $(wildcard man/*.pod.1)
emellor@7576 20 DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(DOC_MAN1SRC))
emellor@7576 21 DOC_MAN5 := $(patsubst man/%.pod.5,man5/%.5,$(DOC_MAN5SRC))
kaf24@6977 22 DOC_TEX := src/user.tex src/interface.tex
iap10@3490 23 DOC_PS := $(patsubst src/%.tex,ps/%.ps,$(DOC_TEX))
iap10@3490 24 DOC_PDF := $(patsubst src/%.tex,pdf/%.pdf,$(DOC_TEX))
iap10@3490 25 DOC_HTML := $(patsubst src/%.tex,html/%/index.html,$(DOC_TEX))
kaf24@857 26
cl349@3972 27 GFX = $(patsubst %.fig, %.eps, $(wildcard figs/*.fig))
kaf24@857 28
ewan@6785 29 .PHONY: all build dev-docs python-dev-docs ps pdf html clean install
ewan@6785 30
doogie@4109 31 all: build
emellor@7576 32 build: ps pdf html man-pages
kaf24@2743 33 rm -f *.aux *.dvi *.bbl *.blg *.glo *.idx *.ilg *.log *.ind *.toc
kaf24@857 34
ewan@6785 35 dev-docs: python-dev-docs
ewan@6785 36
kaf24@2743 37 ps: $(DOC_PS)
kaf24@2743 38
kaf24@2743 39 pdf: $(DOC_PDF)
kaf24@2743 40
kaf24@4107 41 html:
kaf24@4107 42 @if which $(LATEX2HTML) 1>/dev/null 2>/dev/null; then \
kaf24@4107 43 $(MAKE) $(DOC_HTML); fi
kaf24@857 44
ewan@6785 45 python-dev-docs:
emellor@6937 46 @mkdir -v -p api/tools/python
ewan@6785 47 @if which $(DOXYGEN) 1>/dev/null 2>/dev/null; then \
ewan@6785 48 echo "Running doxygen to generate Python tools APIs ... "; \
ewan@6785 49 $(DOXYGEN) Doxyfile; \
emellor@6937 50 $(MAKE) -C api/tools/python/latex ; else \
emellor@6937 51 echo "Doxygen not installed; skipping python-dev-docs."; fi
ewan@6785 52
emellor@7576 53 man-pages:
emellor@7576 54 @if which $(POD2MAN) 1>/dev/null 2>/dev/null; then \
emellor@7576 55 $(MAKE) $(DOC_MAN1) $(DOC_MAN5); fi
emellor@7576 56
emellor@7576 57 man1/%.1: man/%.pod.1 Makefile
emellor@7576 58 $(INSTALL_DIR) $(@D)
emellor@7576 59 $(POD2MAN) --release=$(VERSION) --name=`echo $@ | sed 's/^man1.//'| \
emellor@7576 60 sed 's/.1//'` -s 1 -c "Xen" $< $@
emellor@7576 61
emellor@7576 62 man5/%.5: man/%.pod.5 Makefile
emellor@7576 63 $(INSTALL_DIR) $(@D)
emellor@7576 64 $(POD2MAN) --release=$(VERSION) --name=`echo $@ | sed 's/^man5.//'| \
emellor@7576 65 sed 's/.5//'` -s 5 -c "Xen" $< $@
emellor@7576 66
kaf24@857 67 clean:
kaf24@2743 68 rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~
kaf24@2743 69 rm -rf *.ilg *.log *.ind *.toc *.bak core
kaf24@2743 70 rm -rf $(GFX) ps pdf html
ewan@6785 71 rm -rf api
emellor@7576 72 rm -rf man5
emellor@7576 73 rm -rf man1
kaf24@1139 74
kaf24@2743 75 install: all
iap10@3499 76 rm -rf $(DESTDIR)$(pkgdocdir)
iap10@3499 77 $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)
iap10@3499 78 cp -dR ps $(DESTDIR)$(pkgdocdir)
iap10@3499 79 cp -dR pdf $(DESTDIR)$(pkgdocdir)
emellor@7576 80 $(INSTALL_DIR) $(DESTDIR)$(mandir)
emellor@7576 81 cp -dR man1 $(DESTDIR)$(mandir)
emellor@7576 82 cp -dR man5 $(DESTDIR)$(mandir)
kaf24@4107 83 [ ! -d html ] || cp -dR html $(DESTDIR)$(pkgdocdir)
kaf24@857 84
kaf24@2743 85 pdf/%.pdf: ps/%.ps
iap10@3493 86 $(INSTALL_DIR) $(@D)
iap10@3490 87 $(PS2PDF) $< $@.new
iap10@3490 88 mv $@.new $@
kaf24@857 89
kaf24@2840 90 ps/%.ps: %.dvi
iap10@3493 91 $(INSTALL_DIR) $(@D)
iap10@3490 92 $(DVIPS) -Ppdf -G0 -o $@.new $<
iap10@3490 93 mv $@.new $@
kaf24@2743 94
kaf24@2840 95 %.dvi: src/%.tex $(GFX)
iap10@3490 96 $(LATEX) $< >/dev/null
iap10@3490 97 if [ -e $*.toc ] ; then $(LATEX) $< >/dev/null ; fi
kaf24@857 98
kaf24@857 99 %.eps: %.fig
iap10@3490 100 $(FIG2DEV) -L eps $< $@
kaf24@857 101
kaf24@2743 102 html/%/index.html: src/%.tex
iap10@3493 103 $(INSTALL_DIR) $(@D)
iap10@3490 104 $(LATEX2HTML) -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
iap10@3490 105 -numbered_footnotes -local_icons -noinfo -math -dir $(@D) \
kaf24@2910 106 $< 1>/dev/null 2>/dev/null