Added META file.
[virt-df.git] / lib / Makefile.in
index 185969e..806e0d7 100644 (file)
@@ -1,4 +1,5 @@
 # Diskimage library.
+# @configure_input@
 # Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones
 #
 # This program is free software; you can redistribute it and/or modify
@@ -39,6 +40,7 @@ OBJS          := int63.cmo \
 # Plugin objects.
 OBJS           += diskimage_ext2.cmo \
                   diskimage_linux_swap.cmo \
+                  diskimage_linux_swsuspend.cmo \
                   diskimage_lvm2_metadata.cmo \
                   diskimage_lvm2_parser.cmo \
                   diskimage_lvm2_lexer.cmo \
@@ -53,12 +55,12 @@ XOBJS               := $(OBJS:.cmo=.cmx)
 
 SYNTAX         := -pp "camlp4o -I`ocamlc -where`/bitmatch pa_bitmatch.cmo"
 
-OCAMLCFLAGS    := -g -w s $(SYNTAX)
+OCAMLCFLAGS    := @OCAMLCFLAGS@ $(SYNTAX)
 #OCAMLCLIBS    := -linkpkg
 OCAMLCLIBS     := -linkpkg bitmatch.cma
 
 OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS  := -w s $(SYNTAX)
+OCAMLOPTFLAGS  := @OCAMLOPTFLAGS@ $(SYNTAX)
 #OCAMLOPTLIBS  := $(OCAMLCLIBS)
 OCAMLOPTLIBS   := -linkpkg bitmatch.cmxa
 
@@ -86,21 +88,25 @@ diskimage_lvm2_parser.cmo: diskimage_lvm2_parser.cmi
 diskimage_lvm2_parser.cmx: diskimage_lvm2_parser.cmi
 diskimage_lvm2_parser.cmi: diskimage_lvm2_parser.mli
 
-# Int63 module implementation is defined differently on
-# 32 and 64 bit platforms.
+# Int63 module is defined differently on 32 and 64 bit platforms.
 int63.ml: int63_on_$(OCAML_WORD_SIZE).ml Makefile
        rm -f $@
        echo "(* WARNING: THIS FILE IS GENERATED FROM $< *)" | \
        cat - $< > $@
 
+int63.mli: int63_on_$(OCAML_WORD_SIZE).mli Makefile
+       rm -f $@
+       echo "(* WARNING: THIS FILE IS GENERATED FROM $< *)" | \
+       cat - $< > $@
+
 int63.cmo: int63.cmi
 int63.cmx: int63.cmi
-int63.cmi: int63.ml
+int63.cmi: int63.ml int63.mli
 
 #test_int63.opt: int63.cmx test_int63.cmx
 #      $(OCAMLFIND) ocamlopt $^ -o $@
 
 install:
-       ocamlfind install diskimage *.mli *.cma *.cmx *.cmxa *.a
+       ocamlfind install diskimage META *.mli *.cma *.cmx *.cmxa *.a
 
 include ../Make.rules