/
dune.in
40 lines (35 loc) · 1.05 KB
/
dune.in
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
(env (dev (flags (-w -33) ) ) )
(include_subdirs unqualified)
(executables
(public_names connex gwb2ged gwd gwdiff gwu setup update_nldb)
(modules connex gwb2ged gwdiff gwd gwu setup update_nldb)
(libraries str %%%GWDB_PKG%%% geneweb geneweb.wserver)
)
(executables
(names gwtp)
(modules gwtp httpEnv iolight)
(libraries %%%GWDB_PKG%%% geneweb)
)
(rule (copy mk_consang/mk_consang.ml consang.ml))
(executable
(public_name consang)
(modules consang)
(preprocess (action (run %{bin:cppo} %%%CPPO_D%%% %{input-file})))
(libraries %%%GWDB_PKG%%% geneweb)
)
#ifdef GWDB1
(library (name db1link) (wrapped false) (libraries geneweb.gwdb1 geneweb) (modules db1link))
(rule (copy gwc/gwc1.ml gwc.ml))
(rule (copy ged2gwb/ged2gwb1.ml ged2gwb.ml))
(executable
(public_name gwc)
(modules gwc)
(preprocess (action (run %{bin:cppo} %%%CPPO_D%%% %{input-file})))
(libraries geneweb.gwdb1 geneweb geneweb.wserver db1link)
)
(executable
(public_name ged2gwb)
(modules ged2gwb utf8List)
(libraries unix str camlp5.gramlib geneweb.gwdb1 geneweb)
)
#endif