forked from ocsigen/ocsigen-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.options
64 lines (55 loc) · 1.62 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
63
64
#----------------------------------------------------------------------
# SETTINGS FOR YOUR PACKAGE
#----------------------------------------------------------------------
# Package name for your
PKG_NAME := ocsigen-widgets
PKG_VERS := your version
PKG_DESC := your description
# Source files for the server
SERVER_FILES := $(wildcard\
src/*.eliom*\
src/experimental/*.eliom*\
src/bindings/*.eliom*\
src/tools/*.eliom*\
src/widgets/*.eliom*\
src/mobile/*.eliom*\
)
# Source files for the client
CLIENT_FILES := $(wildcard\
src/*.eliom*\
src/experimental/*.eliom*\
src/bindings/*.eliom*\
src/tools/*.eliom*\
src/widgets/*.eliom*\
src/mobile/*.eliom*\
)
# Source files for the server
SERVER_FILES_DOC := $(wildcard\
src/*.eliomi\
src/experimental/*.eliomi\
src/bindings/*.eliomi\
src/tools/*.eliomi\
src/widgets/*.eliomi\
src/mobile/*.eliomi\
)
# Source files for the client
CLIENT_FILES_DOC := $(wildcard\
src/*.eliomi\
src/experimental/*.eliomi\
src/bindings/*.eliomi\
src/tools/*.eliomi\
src/widgets/*.eliomi\
src/mobile/*.eliomi\
)
# OCamlfind packages for the server
SERVER_PACKAGES := text magick lwt.ppx js_of_ocaml.deriving.ppx ocsigen-toolkit.server
# OCamlfind packages for the client
CLIENT_PACKAGES := lwt.ppx js_of_ocaml.deriving.ppx js_of_ocaml.ppx ojquery ocsigen-toolkit.client
# Native mode (yes/no): Compile also with native mode (it will always compile with byte mode)
NATIVE := yes
# Debug package (yes/no): Debugging info in compilation
DEBUG := no
# Package's library $(PKG_NAME).{client,server}.cma (a,cmxa,cmxs only server side)
LIBDIR := lib/
# Module's prefix
MODULE_PREFIX := ow_