-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile.options
62 lines (49 loc) · 1.56 KB
/
Makefile.options
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#----------------------------------------------------------------------
# SETTINGS FOR YOUR PACKAGE
#----------------------------------------------------------------------
# Package name for your
PKG_NAME := ocsigen-toolkit
PKG_VERS := 1.1
PKG_DESC := reusable UI components meant for Eliom applications
# Source files for the server
SERVER_FILES := $(wildcard \
src/*.ml* \
src/*.eliom* \
src/widgets/*.eliom* \
)
# Source files for the client
CLIENT_FILES := $(wildcard \
src/*.eliom* \
src/widgets/*.eliom* \
)
# Source files for the server
SERVER_FILES_DOC := $(wildcard \
src/*.eliomi \
src/*.mli \
src/widgets/*.eliomi \
)
# Source files for the client
CLIENT_FILES_DOC := $(wildcard \
src/*.eliomi \
src/widgets/*.eliomi \
)
# Template directory (used when installing template with distillery)
TEMPLATE_DIR := template.distillery
# Template name (name used by distillery)
TEMPLATE_NAME := none.pgocaml
# OCamlfind packages for the server
SERVER_PACKAGES := calendar
SERVER_PPX_PACKAGES := lwt_ppx js_of_ocaml-ppx_deriving_json
# OCamlfind packages for the client
CLIENT_PACKAGES := calendar js_of_ocaml js_of_ocaml-lwt
CLIENT_PPX_PACKAGES := js_of_ocaml-ppx lwt_ppx js_of_ocaml-ppx_deriving_json
# Debug package (yes/no): Debugging info in compilation
DEBUG := yes
# Native mode (yes/no): Compile also with native mode (it will always
# compile with byte mode)
NATIVE := yes
# Package's library $(PKG_NAME).{client,server}.cma (a,cmxa,cmxs only
# server side)
LIBDIR := lib/
WARNING_FLAGS=-w +A@[email protected]@[email protected]
MODULE_PREFIX = ot