File: META.in

package info (click to toggle)
ocaml-deriving-ocsigen 0.3c-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 600 kB
  • sloc: ml: 5,788; makefile: 298
file content (43 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download
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
version = "dev"
description = "Deriving (patched for the Ocsigen project)"
__LIBDIR__

requires        = "__NAME__.base,num"
archive(byte)   = "deriving_num.cma"
archive(native) = "deriving_num.cmxa"

package "base" (
  archive(byte)   = "deriving.cma"
  archive(native) = "deriving.cmxa"
)

package "syntax" (
  __SYNTAXDIR__
  exists_if = "pa_deriving.cma"
  requires(syntax) = "camlp4,unix"
  requires(syntax, toploop) += "__NAME__"
  archive(syntax, preprocessor) = "pa_deriving.cma"
  archive(syntax, toploop) = "pa_deriving.cma"
  package "base" (
    requires(syntax) = "camlp4"
    archive(syntax, preprocessor) = "pa_deriving_common.cmo pa_deriving.cmo"
    archive(syntax, toploop) = "pa_deriving_common.cmo pa_deriving.cmo"
  )
)

## Presence of type-conv shoud be detected with the predicate "pkg_type-conv"
## However the 'dash' in an predicat name is invalid... (GH 2011/03).

package "syntax_tc" (
  __SYNTAXDIR__
  exists_if = "pa_deriving_tc.cma"
  requires(syntax) = "camlp4,unix,type-conv"
  requires(syntax, toploop) += "__NAME__"
  archive(syntax, preprocessor) = "pa_deriving_tc.cma"
  archive(syntax, toploop) = "pa_deriving_tc.cma"
  package "base" (
    requires(syntax) = "camlp4"
    archive(syntax, preprocessor) = "pa_deriving_common.cmo pa_deriving_tc.cmo"
    archive(syntax, toploop) = "pa_deriving_common.cmo pa_deriving_tc.cmo"
  )
)