Implement dropbits, takebits, subbitstring.
[ocaml-bitstring.git] / Makefile.in
index c695a5e..a697d39 100644 (file)
@@ -25,6 +25,9 @@ OCAMLMKLIB    = @OCAMLMKLIB@
 OCAMLDOC       = @OCAMLDOC@
 INSTALL                = @INSTALL@
 
+pkg_cil                = @pkg_cil@
+pkg_extlib     = @pkg_extlib@
+
 OCAMLCFLAGS    = -g
 OCAMLCPACKAGES =
 OCAMLOPTFLAGS  =
@@ -34,8 +37,10 @@ OCAMLDOCFLAGS        = -html -sort
 
 SUBDIRS                =
 ifneq ($(pkg_cil),no)
+ifneq ($(pkg_extlib),no)
 SUBDIRS                += cil-tools
 endif
+endif
 
 EXAMPLES       = $(patsubst %.ml,%,$(wildcard examples/*.ml))
 
@@ -181,11 +186,17 @@ install:
 depend: .depend
        @for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
 
-.depend: bitmatch.ml bitmatch.mli bitmatch_persistent.ml bitmatch_persistent.mli
+.depend: bitmatch.ml bitmatch.mli \
+         bitmatch_persistent.ml bitmatch_persistent.mli \
+         bitmatch_objinfo.ml \
+         create_test_pattern.ml
        rm -f .depend
-       $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) bitmatch.ml bitmatch.mli >> $@
+       $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) \
+         bitmatch.ml bitmatch.mli \
+         bitmatch_objinfo.ml >> $@
        $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) -pp camlp4of \
-         bitmatch_persistent.ml bitmatch_persistent.mli >> $@
+         bitmatch_persistent.ml bitmatch_persistent.mli \
+         create_test_pattern.ml >> $@
 
 ifeq ($(wildcard .depend),.depend)
 include .depend