X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=Makefile.in;h=03a00fba50fc18e56c0a1b318d4ab9d3325cb70c;hp=35582d1e5ec4fecb74cc43523dec48f19c76956e;hb=a0c4912e8aedb077ff50e2d8c0d919c8b1928d88;hpb=4b4113cb4542d2b9f7bec30e4dda8588538ab9f6 diff --git a/Makefile.in b/Makefile.in index 35582d1..03a00fb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -24,19 +24,15 @@ MKDIR_P = @MKDIR_P@ datarootdir = @datarootdir@ mandir = @mandir@ -OCAMLDOCFLAGS = -html -sort -package bitstring,extlib,libvirt -I lib +OCAMLDOCFLAGS = -html -sort \ + -package bitstring,extlib,libvirt,gettext,xml-light \ + -I lib OCAMLDOC = @OCAMLDOC@ -OCAMLDOCFILES = lib/virt_mem_utils.ml \ - lib/virt_mem_mmap.mli \ - lib/virt_mem_types.mli \ - lib/virt_mem_ksyms.mli \ - lib/virt_mem_kallsyms.mli \ - lib/virt_mem_utsname.mli \ - lib/virt_mem.mli +OCAMLDOCFILES = $(wildcard lib/virt_*.mli) lib/kernel.mli HAVE_PERLDOC = @HAVE_PERLDOC@ -TOOLS = uname dmesg ps +TOOLS = uname dmesg ps ifconfig export TOOLS SUBDIRS_NOT_PO = lib $(TOOLS) mem extract/fedora-koji extract/codegen @@ -49,7 +45,9 @@ endif TARGETS = $(MANPAGES) $(TEXTMANPAGES) -all: $(TARGETS) +all: byte opt + +byte opt: $(TARGETS) for d in $(SUBDIRS_NOT_PO); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ @@ -72,6 +70,7 @@ clean: (cd $$d; rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a \ *.so *.opt *~ *.dll *.exe *.annot core); \ done + rm -f lib/test_mmap rm -f uname/virt-uname rm -f dmesg/virt-dmesg rm -f ps/virt-ps @@ -88,6 +87,17 @@ distclean: clean update-po: $(MAKE) -C po all +# Download distribution kernels (warning: takes AGES). + +update-kerneldb: + cd kernels && \ + ../extract/fedora-koji/fedora-koji-download-kernels.opt + +# Rebuild the generated kernel struct parsers from the kerneldb. + +update-kernel-structs: + extract/codegen/compile-kerneldb.opt kernels lib + # Developer documentation (in html/ subdirectory). ifneq ($(OCAMLDOC),)