forked from ocsigen/eliom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.options
54 lines (44 loc) · 1.31 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
BYTEDBG :=
OPTDBG :=
THREAD :=
ifeq "$(DEBUG)" "YES"
BYTEDBG += -g
OPTDBG += -g
endif
ifeq "$(ANNOT)" "YES"
BYTEDBG += -dtypes
OPTDBG += -dtypes
endif
ifeq "$(PROFILING)" "YES"
BYTEDBG :=p ${BYTEDBG}
OPTDBG += -p
endif
ifeq "$(PREEMPTIVE)" "YES"
THREAD += -thread
endif
SERVERDIR := ${TEMPROOT}${LIBDIR}/${PROJECTNAME}/server
CLIENTDIR := ${TEMPROOT}${LIBDIR}/${PROJECTNAME}/client
SYNTAXDIR := ${TEMPROOT}${LIBDIR}/${PROJECTNAME}/syntax
OCAMLBUILDDIR := ${TEMPROOT}${LIBDIR}/${PROJECTNAME}/ocamlbuild
SERVER_PACKAGE := ocsigenserver \
ocsigenserver.ext \
js_of_ocaml.deriving \
react \
calendar \
tyxml \
lwt.react \
cryptokit \
SERVER_SYNTAX := js_of_ocaml.deriving.syntax \
lwt.syntax \
tyxml.syntax \
CLIENT_PACKAGE := ocsigenserver.cookies \
ocsigenserver.polytables \
ocsigenserver.baselib.base \
js_of_ocaml \
js_of_ocaml.deriving \
lwt.react \
tyxml.functor \
CLIENT_SYNTAX := lwt.syntax \
js_of_ocaml.syntax \
js_of_ocaml.deriving.syntax \
tyxml.syntax \