-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathMakefile.options
37 lines (31 loc) · 1.53 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
THREAD := -thread
BLD=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))_build/default/src
INCS= -I ${BLD}/server/.ocsigenserver.objs/byte \
-I ${BLD}/http/.http.objs/byte \
-I ${BLD}/http/.ocsigen_cookie_map.objs/byte \
-I ${BLD}/baselib/.baselib.objs/byte \
-I ${BLD}/baselib/.ocsigen_lib_base.objs/byte \
-I ${BLD}/baselib/polytables/.polytables.objs/byte \
-I ${BLD}/extensions/.accesscontrol.objs/byte \
-I ${BLD}/extensions/.authbasic.objs/byte \
-I ${BLD}/extensions/.cors.objs/byte \
-I ${BLD}/extensions/.extendconfiguration.objs/byte \
-I ${BLD}/extensions/.outputfilter.objs/byte \
-I ${BLD}/extensions/.redirectmod.objs/byte \
-I ${BLD}/extensions/.revproxy.objs/byte \
-I ${BLD}/extensions/.rewritemod.objs/byte \
-I ${BLD}/extensions/.staticmod.objs/byte \
-I ${BLD}/extensions/.userconf.objs/byte \
-I ${BLD}/extensions/deflatemod/.deflatemod.objs/byte
## ${SERVER_PACKAGE} is not only used to build the 'ocsigenserver' executable
## but also to generate src/baselib/ocsigen_config_static.ml
SERVER_PACKAGE := lwt_ssl,bytes,lwt.unix,lwt_log,ipaddr,findlib,cryptokit,re,str,xml-light,dynlink,cohttp-lwt-unix
LIBS := -package ${SERVER_PACKAGE} ${INCS}
INITPACKAGE := \"$(shell ${OCAMLFIND} query -p-format -recursive \
-separator '\";\"' ${SERVER_PACKAGE})\"; \
\"ocsigenserver.polytables\"; \
\"ocsigenserver.cookies\"; \
\"ocsigenserver.baselib.base\"; \
\"ocsigenserver.baselib\"; \
\"ocsigenserver.http\"; \
\"ocsigenserver\"; \