_oasis 4.86 KB
Newer Older
1
2
OASISFormat: 0.4
Name:        Lutin
3
Version:     2.44
4
5
6
Authors:     Erwan Jahier
Maintainers: erwan.jahier@imag.fr
License:     PROP
erwan's avatar
erwan committed
7
Plugins:     DevFiles (0.4), META (0.4), StdFiles (0.4)
8
9
Synopsis:    Lutin: modeling stochastic reactive systems.
Homepage:    http://www-verimag.imag.fr/Lutin.html
10
OCamlVersion: >= 4.02
11
12
13
14
15
Description:
     Lutin is a language to model stochastic reactive systems.  
     It has been initially designed to model environments and perform 
     automated testing of reactive systems with Lurette.
BuildTools: ocamlbuild
16
PreBuildCommand: make lutin/src/version.ml
erwan's avatar
erwan committed
17
PostInstallCommand: cp utils/simec_trap $exec_prefix/bin; cp utils/read-rif.sh $exec_prefix/bin; cp utils/lurette $exec_prefix/bin
18

19
20
21
22
23
24
SourceRepository "master"
  Type: git
  Location: https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutin.git 
  Browser:  https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutin


25
26
27
28
29
#PreBuildCommand: make gen_version 

Executable lutin
  Path:   lutin/src
  MainIs: main.ml
30
  BuildDepends: str,unix,num,rdbg-plugin (>= 1.109),lutin-utils,ezdl,gbddml,polka,camlp4,camlidl,gmp
31
  NativeOpt: -package num # XXX turn around a bug in oasis/ocamlbuild/ocamlfind?
32
33
34
35
36
37
38
39
40
  Build: true
  Install:true
  CompiledObject: native
  CClib: -lcamlidl

Library lutin
   XMETADescription: Provides an API to call Lutin from ocaml (and rdbg)
   Path:    lutin/src
   Modules: LutinRun
41
   BuildDepends: camlp4,lutin-utils,ezdl,gbddml,polka,camlidl,lutils
42
43
44
   Install:true
   CompiledObject: native
   XMETAEnable: true
45
   InternalModules: Auto2Lucky,AutoGen,Bddd,CheckEnv,CheckType,CkIdentInfo,CkTypeEff,CoAlgExp,CoIdent,CoTraceExp,Constraint,Draw,Exp,ExpEval,Expand,ExprUtil,FGen,Fair_bddd,Formula_to_bdd,GenOcamlGlue,Glue,Gne,Guard,Lexeme,LoopWeights,Luc2alice,Luc2c,LucFGen,Lucky,LutErrors,LutExe,LutLexer,LutParser,LutPredef,LutProg,LutVersion,MainArg,Ne,Parsers,Poly_draw,Polyhedron,Prevar,Prog,Reactive,Rif,Sol_nb,Solver,Store,Syntaxe,SyntaxeDump,Thickness,Type,Util,Utils,Value,Var,Verbose,Version
46
   DllLib: libgmp.so dllcamlidl.so
47
48


49
50
51
52
53
54
55
56
57
#Library lut4c
#  XMETADescription:  Calling Lutin from C XXX NOT WORKING 
#  Path:    lutin/src
#  Modules: Lut4c
#  FindlibParent: lutin
#  BuildDepends: str,unix,num,rdbg-plugin (>= 1.51),lutin-utils,ezdl,gbddml,polka,camlp4
#  Install: true
#  CSources: lut4c_stubs.h,lut4c_stubs.c
#  CCOpt: -fPIC 
58

59
60
61
62
Library "lutin-utils"
  XMETADescription: Some C functions used by the lutin runtime
  Path:    lutin-utils/src
  Modules: LutinUtils
63
  Install: true
64
  CSources: lutinUtils.h,lutinUtils_c.c,lutinUtils_stubs.c,myuid.h,myuid.c
65
  CCOpt: -fPIC -I$pkg_camlidl -I/usr/local/include/ 
66

erwan's avatar
erwan committed
67
68
# The old lurette. Remove ?
# it create a weird dependancies on lustre-v6
69
70
71
Executable lurettetop_exe
  Path:       ltop/src
  MainIs:     lurettetop.ml 
72
  BuildDepends: num,str,unix,dynlink,lustre-v6,lutin,ezdl,gbddml,polka,camlp4,camlidl
73
  Build: true
74
  NativeOpt: -package dynlink # XXX turn around a bug in oasis/ocamlbuild/ocamlfind?
75
76
77
78
79
  Install:true
  CompiledObject: native
  CClib: -lcamlidl
  CCOpt: -fPIC 

erwan's avatar
erwan committed
80
# should be moved to lutils
81
82
83
84
85
86
87
88
Library ezdl
  XMETADescription:  ezdl: easy dynamic linking of C functions from ocaml 
  Path:    EZDL
  Modules: Ezdl
  Install: true
  CSources: Ezdl_c.c,Inspect_c.c
  CCOpt: -fPIC

erwan's avatar
erwan committed
89
# should be moved to lutils
90
91
92
93
94
95
Library gbddml
  XMETADescription:  gbddml: the Verimag bdd library
  Path:    gbddml
  Modules: Bdd
  Install: true
  CSources: gbdd_cml.c, gbdd.c, gbdd.h
Erwan Jahier's avatar
Erwan Jahier committed
96
  CCOpt: -x c++ -g -O2 -fno-operator-names -fPIC -I$pkg_camlidl
97
98
  CClib: -lstdc++ 

erwan's avatar
erwan committed
99

100
101
102
103
Library polka
  XMETADescription:  polka: convex polyhedron library by Bertrand Jeannet (now part of apron)
  Path:    polka
  Modules: Polka,PolkaIO,Vector,Matrix,Poly,Polka_parser,Polka_lexer
erwan's avatar
erwan committed
104
  BuildDepends: gmp # actually it is named mlgmpidl in opam
105
106
107
108
109
110
111
  Install: true
  CSources: pkint.h, config.h,
            polka.h, internal.h, bit.h, satmat.h, cherni.h,
            vector.h, matrix.h, poly.h, polka_caml.h,
            polka_c.c, internal.c, bit.c, satmat.c, cherni.c,
            vector_c.c, matrix_c.c,  poly_c.c,
            vector_caml.c, matrix_caml.c, poly_caml.c, polka_caml.c
112
  CCOpt: -O3 -fPIC -DPOLKA_NUM=3  -I$pkg_camlidl -I/usr/local/include/ 
113
  DllLib: libgmp.so dllcamlidl.so
114
115
116
117
118
119
120



# should be part of rdbg?
Executable "check-rif"
  Path:       ltop/src 
  MainIs:     checkRif.ml
121
  BuildDepends: num,str,unix,lutils,ezdl,lustre-v6
122
  NativeOpt: -package num # XXX turn around a bug in oasis/ocamlbuild/ocamlfind?
123
124
125
126
  Build: true
  Install:true
  CompiledObject: native
  CCOpt: -fPIC
127
128
129

Executable "call-via-socket"
  Path:       ltop/src 
130
  MainIs:     call_via_socket.ml
131
132
133
134
  BuildDepends: str,unix
  Build: true
  Install:true
  CompiledObject: native
135
136
137
138
139
140
141
142
143
144
145
146

# XXX not working
Document "lutin-man.pdf"
  Title:  Lutin language reference manual
  Type: custom (0.4)
  DataFiles: doc/lutin-man/lutin-man.pdf
  XCustom: make 
  InstallDir: $docdir
  Build: true
  Install: true
  BuildTools: make		
  XOCamlbuildPath: doc/lutin-man