configure
gmon.out
virt-mem-*.tar.gz
+html
lib/virt_mem_gettext.ml
lib/virt_mem_version.ml
lib/test_mmap
OCAMLC = @OCAMLC@
OCAMLOPT = @OCAMLOPT@
-OCAMLDOC = @OCAMLDOC@
-OCAMLDOCFLAGS += -html -sort
-
# Common rules for building OCaml objects.
.mli.cmi:
include .depend
endif
-# Developer documentation (in html/ subdirectory).
-
-ifneq ($(OCAMLDOC),)
-ifneq ($(OCAMLDOCFILES),)
-doc:
- rm -rf html
- mkdir html
- -$(OCAMLDOC) $(OCAMLDOCFLAGS) -d html $(OCAMLDOCFILES)
-endif
-endif
-
.PHONY: depend dist check-manifest dpkg doc
.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly
datarootdir = @datarootdir@
mandir = @mandir@
+OCAMLDOCFLAGS = -html -sort -package bitstring,extlib -I lib
+OCAMLDOC = @OCAMLDOC@
+OCAMLDOCFILES = lib/virt_mem_utils.ml lib/virt_mem_mmap.mli lib/virt_mem.mli
+
HAVE_PERLDOC = @HAVE_PERLDOC@
TOOLS = uname dmesg ps
if [ $$? -ne 0 ]; then exit 1; fi; \
done
-depend doc:
+depend:
for d in $(SUBDIRS_NOT_PO); do \
$(MAKE) -C $$d $@; \
if [ $$? -ne 0 ]; then exit 1; fi; \
rm -f Makefile
rm -f */Makefile
+# Developer documentation (in html/ subdirectory).
+
+ifneq ($(OCAMLDOC),)
+ifneq ($(OCAMLDOCFILES),)
+doc:
+ rm -rf html
+ mkdir html
+ -ocamlfind ocamldoc $(OCAMLDOCFLAGS) -d html $(OCAMLDOCFILES)
+endif
+endif
+
# Manual page.
ifeq ($(HAVE_PERLDOC),perldoc)
OCAMLOPTPACKAGES = $(OCAMLCPACKAGES)
OCAMLOPTLIBS = -linkpkg
-OCAMLDOCFLAGS = -html -sort $(OCAMLCPACKAGES) $(SYNTAX)
-
OCAMLDEPFLAGS = $(SYNTAX)
TARGETS = virt_mem.cma virt_mem.cmxa
+(** Memory info for virtual domains. *)
(* Memory info for virtual domains.
(C) Copyright 2008 Richard W.M. Jones, Red Hat Inc.
http://libvirt.org/
initializing certain parts of the memory map. If you are not
familiar with phantom types, you can just ignore them.
- See also:
- [http://camltastic.blogspot.com/2008/05/phantom-types.html] *)
+ See also
+ {{:http://camltastic.blogspot.com/2008/05/phantom-types.html}this
+ posting about the phantom types used in virt-mem}.
+
+ The memory map structure is an example of a
+ {{:http://en.wikipedia.org/wiki/Purely_functional}persistent
+ data structure}.
+*)
type addr = int64
(** Virtual memory addresses (even on 32 bit machines). *)
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-07-23 11:53+0000\n"
+"POT-Creation-Date: 2008-07-23 13:08+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"