# OASIS_START
# DO NOT EDIT (digest: e8ea7a0cb697db9a87da65aed9094cf2)
# Ignore VCS directories, you can use the same kind of rule outside
# OASIS_START/STOP if you want to exclude directories that contains
# useless stuff for the build process
true: annot, bin_annot
<**/.svn>: -traverse
<**/.svn>: not_hygienic
".bzr": -traverse
".bzr": not_hygienic
".hg": -traverse
".hg": not_hygienic
".git": -traverse
".git": not_hygienic
"_darcs": -traverse
"_darcs": not_hygienic
# Library pcre
"lib/pcre.cmxs": use_pcre
<lib/*.ml{,i,y}>: oasis_library_pcre_ccopt
"lib/pcre_stubs.c": oasis_library_pcre_ccopt
<lib/pcre.{cma,cmxa}>: use_libpcre_stubs
<lib/*.ml{,i,y}>: pkg_bytes
"lib/pcre_stubs.c": pkg_bytes
# Executable cloc
<examples/cloc/cloc.{native,byte}>: pkg_bytes
<examples/cloc/cloc.{native,byte}>: use_pcre
<examples/cloc/*.ml{,i,y}>: pkg_bytes
<examples/cloc/*.ml{,i,y}>: use_pcre
# Executable count_hash
<examples/count_hash/count_hash.{native,byte}>: pkg_bytes
<examples/count_hash/count_hash.{native,byte}>: use_pcre
<examples/count_hash/*.ml{,i,y}>: pkg_bytes
<examples/count_hash/*.ml{,i,y}>: use_pcre
# Executable pcregrep
<examples/pcregrep/pcregrep.{native,byte}>: pkg_bytes
<examples/pcregrep/pcregrep.{native,byte}>: use_pcre
<examples/pcregrep/*.ml{,i,y}>: pkg_bytes
<examples/pcregrep/*.ml{,i,y}>: use_pcre
# Executable subst
<examples/subst/subst.{native,byte}>: pkg_bytes
<examples/subst/subst.{native,byte}>: use_pcre
<examples/subst/*.ml{,i,y}>: pkg_bytes
<examples/subst/*.ml{,i,y}>: use_pcre
# OASIS_STOP

true: -traverse
<{lib,examples}/**>: traverse

<**/*.ml{,i}>: warn(Aer-44-50), strict_sequence, safe_string, annot

<lib/pcre.{cma,cmxa}>: oasis_library_pcre_cclib
"lib/libpcre_stubs.lib": oasis_library_pcre_cclib
"lib/dllpcre_stubs.dll": oasis_library_pcre_cclib
"lib/libpcre_stubs.a": oasis_library_pcre_cclib
"lib/dllpcre_stubs.so": oasis_library_pcre_cclib
"lib/pcre.cmxs": use_libpcre_stubs
