-diskzip.cmo: ../lib/int63.cmi diskzip_gettext.cmo ../lib/diskimage.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi
-diskzip.cmx: ../lib/int63.cmx diskzip_gettext.cmx ../lib/diskimage.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi
+diskzip.cmo: ../lib/int63.cmi diskzip_gettext.cmo ../lib/diskimage.cmi
+diskzip.cmx: ../lib/int63.cmx diskzip_gettext.cmx ../lib/diskimage.cmx
pkg_gettext = @pkg_gettext@
-#OCAMLCPACKAGES := -package unix,extlib,bitmatch -I ../lib
-OCAMLCPACKAGES := -package unix,extlib -I +bitmatch -I ../lib
+OCAMLCPACKAGES := -package unix,extlib,bitmatch.syntax,bitmatch -I ../lib
ifneq ($(pkg_gettext),no)
OCAMLCPACKAGES += -package gettext-stub
OBJS := diskzip_gettext.cmo diskzip.cmo
XOBJS := $(OBJS:.cmo=.cmx)
-SYNTAX := -pp "camlp4o -I`ocamlc -where`/bitmatch bitmatch.cma pa_bitmatch.cmo"
+SYNTAX := -syntax bitmatch.syntax
OCAMLCFLAGS := @OCAMLCFLAGS@ $(SYNTAX)
-#OCAMLCLIBS := -linkpkg diskimage.cma
-OCAMLCLIBS := -linkpkg bitmatch.cma diskimage.cma
+OCAMLCLIBS := -linkpkg diskimage.cma
OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
OCAMLOPTFLAGS := @OCAMLOPTFLAGS@ $(SYNTAX)
-#OCAMLOPTLIBS := -linkpkg diskimage.cmxa
-OCAMLOPTLIBS := -linkpkg bitmatch.cmxa diskimage.cmxa
+OCAMLOPTLIBS := -linkpkg diskimage.cmxa
OCAMLDEPFLAGS := $(SYNTAX)
-diskimage_impl.cmi: int63.cmi /usr/lib64/ocaml/bitmatch/bitmatch.cmi
+diskimage_impl.cmi: int63.cmi
diskimage_lvm2_metadata.cmi: int63.cmi
diskimage_lvm2_parser.cmi: int63.cmi diskimage_lvm2_metadata.cmi
-diskimage.cmi: int63.cmi /usr/lib64/ocaml/bitmatch/bitmatch.cmi
-diskimage_ext2.cmo: int63.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_ext2.cmi
-diskimage_ext2.cmx: int63.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_ext2.cmi
-diskimage_fat.cmo: int63.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_fat.cmi
-diskimage_fat.cmx: int63.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_fat.cmi
+diskimage.cmi: int63.cmi
+diskimage_ext2.cmo: int63.cmi diskimage_impl.cmi diskimage_ext2.cmi
+diskimage_ext2.cmx: int63.cmx diskimage_impl.cmx diskimage_ext2.cmi
+diskimage_fat.cmo: int63.cmi diskimage_impl.cmi diskimage_fat.cmi
+diskimage_fat.cmx: int63.cmx diskimage_impl.cmx diskimage_fat.cmi
diskimage_impl.cmo: int63.cmi diskimage_impl.cmi
diskimage_impl.cmx: int63.cmx diskimage_impl.cmi
diskimage_linux_swap.cmo: int63.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_linux_swap.cmi
+ diskimage_linux_swap.cmi
diskimage_linux_swap.cmx: int63.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_linux_swap.cmi
+ diskimage_linux_swap.cmi
diskimage_linux_swsuspend.cmo: int63.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_linux_swsuspend.cmi
+ diskimage_linux_swsuspend.cmi
diskimage_linux_swsuspend.cmx: int63.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_linux_swsuspend.cmi
+ diskimage_linux_swsuspend.cmi
diskimage_lvm2_metadata.cmo: int63.cmi diskimage_lvm2_metadata.cmi
diskimage_lvm2_metadata.cmx: int63.cmx diskimage_lvm2_metadata.cmi
diskimage_lvm2.cmo: int63.cmi diskimage_lvm2_metadata.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_lvm2.cmi
+ diskimage_lvm2.cmi
diskimage_lvm2.cmx: int63.cmx diskimage_lvm2_metadata.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_lvm2.cmi
+ diskimage_lvm2.cmi
diskimage_lvm2_parser.cmo: int63.cmi diskimage_lvm2_metadata.cmi \
diskimage_lvm2_parser.cmi
diskimage_lvm2_parser.cmx: int63.cmx diskimage_lvm2_metadata.cmx \
diskimage_lvm2_parser.cmi
-diskimage_mbr.cmo: int63.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_mbr.cmi
-diskimage_mbr.cmx: int63.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_mbr.cmi
+diskimage_mbr.cmo: int63.cmi diskimage_impl.cmi diskimage_mbr.cmi
+diskimage_mbr.cmx: int63.cmx diskimage_impl.cmx diskimage_mbr.cmi
diskimage.cmo: diskimage_ntfs.cmi diskimage_mbr.cmi diskimage_lvm2.cmi \
diskimage_linux_swsuspend.cmi diskimage_linux_swap.cmi diskimage_impl.cmi \
diskimage_fat.cmi diskimage_ext2.cmi diskimage.cmi
diskimage.cmx: diskimage_ntfs.cmx diskimage_mbr.cmx diskimage_lvm2.cmx \
diskimage_linux_swsuspend.cmx diskimage_linux_swap.cmx diskimage_impl.cmx \
diskimage_fat.cmx diskimage_ext2.cmx diskimage.cmi
-diskimage_ntfs.cmo: int63.cmi diskimage_impl.cmi \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_ntfs.cmi
-diskimage_ntfs.cmx: int63.cmx diskimage_impl.cmx \
- /usr/lib64/ocaml/bitmatch/bitmatch.cmi diskimage_ntfs.cmi
+diskimage_ntfs.cmo: int63.cmi diskimage_impl.cmi diskimage_ntfs.cmi
+diskimage_ntfs.cmx: int63.cmx diskimage_impl.cmx diskimage_ntfs.cmi
int63.cmo: int63.cmi
int63.cmx: int63.cmi
int63_on_32.cmo: int63_on_32.cmi
exec_prefix = @exec_prefix@
bindir = @bindir@
-#OCAMLCPACKAGES := -package unix,extlib,bitmatch
-OCAMLCPACKAGES := -package unix,extlib -I +bitmatch
+OCAMLCPACKAGES := -package unix,extlib,bitmatch.syntax
#----------------------------------------------------------------------
# Build up the list of object files.
#----------------------------------------------------------------------
-SYNTAX := -pp "camlp4o -I`ocamlc -where`/bitmatch bitmatch.cma pa_bitmatch.cmo"
+SYNTAX := -syntax bitmatch.syntax
OCAMLCFLAGS := @OCAMLCFLAGS@ $(SYNTAX)
-#OCAMLCLIBS := -linkpkg
-OCAMLCLIBS := -linkpkg bitmatch.cma
+OCAMLCLIBS := -linkpkg
OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
OCAMLOPTFLAGS := @OCAMLOPTFLAGS@ $(SYNTAX)
-#OCAMLOPTLIBS := $(OCAMLCLIBS)
-OCAMLOPTLIBS := -linkpkg bitmatch.cmxa
+OCAMLOPTLIBS := $(OCAMLCLIBS)
OCAMLDEPFLAGS := $(SYNTAX)
pkg_gettext = @pkg_gettext@
-#OCAMLCPACKAGES := -package unix,extlib,xml-light,libvirt,bitmatch -I ../lib
-OCAMLCPACKAGES := -package unix,extlib,xml-light,libvirt -I +bitmatch -I ../lib
+OCAMLCPACKAGES := -package unix,extlib,xml-light,libvirt,bitmatch.syntax,bitmatch -I ../lib
ifneq ($(pkg_gettext),no)
OCAMLCPACKAGES += -package gettext-stub
#----------------------------------------------------------------------
OCAMLCFLAGS := @OCAMLCFLAGS@
-#OCAMLCLIBS := -linkpkg diskimage.cma
-OCAMLCLIBS := -linkpkg bitmatch.cma diskimage.cma
+OCAMLCLIBS := -linkpkg diskimage.cma
OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
OCAMLOPTFLAGS := @OCAMLOPTFLAGS@
-#OCAMLOPTLIBS := -linkpkg diskimage.cmxa
-OCAMLOPTLIBS := -linkpkg bitmatch.cmxa diskimage.cmxa
+OCAMLOPTLIBS := -linkpkg diskimage.cmxa
BYTE_TARGETS := virt-df
OPT_TARGETS := virt-df.opt