~ubuntu-branches/ubuntu/trusty/pcre-ocaml/trusty-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# OASIS_START
# DO NOT EDIT (digest: c60675dbf6679827b7140bf2f8bd409f)
# 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
<**/.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}>: oasis_library_pcre_ccopt
"lib/pcre_stubs.c": oasis_library_pcre_ccopt
<lib/pcre.{cma,cmxa}>: use_libpcre_stubs
# Executable cloc
<examples/cloc/cloc.{native,byte}>: use_pcre
<examples/cloc/*.ml{,i}>: use_pcre
# Executable count_hash
<examples/count_hash/count_hash.{native,byte}>: use_pcre
<examples/count_hash/*.ml{,i}>: use_pcre
# Executable pcregrep
<examples/pcregrep/pcregrep.{native,byte}>: use_pcre
<examples/pcregrep/*.ml{,i}>: use_pcre
# Executable subst
<examples/subst/subst.{native,byte}>: use_pcre
<examples/subst/*.ml{,i}>: use_pcre
# OASIS_STOP

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

<**/*.ml{,i}>: warn(Aer-44), strict_sequence, 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