File: Makefile.filelist

package info (click to toggle)
js-of-ocaml 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,464 kB
  • sloc: ml: 21,533; makefile: 325
file content (34 lines) | stat: -rw-r--r-- 653 bytes parent folder | download
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
BIN := compiler/${COMPILER}

INTF := lib/*.cmi

IMPL := lib/$(LIBNAME).cma   \
        lib/syntax/pa_js.cmo \
	lib/dll$(LIBNAME)$(DLLEXT) \
        lib/lib$(LIBNAME)$(LIBEXT)

OTHERS := runtime/runtime.js

ifneq "${DERIVING}" ""

JSON := lib/deriving_json/deriving_Json.cmi       \
        lib/deriving_json/deriving_Json_lexer.cmi \

INTF += $(JSON)

IMPL += lib/syntax/pa_deriving_Json.cmo \
        lib/deriving_json.cma           \

NATIMPL := lib/deriving_json.cmxa     \
	   lib/deriving_json.cmxs     \
	   lib/deriving_json$(LIBEXT) \

NATIMPL += $(JSON:.cmi=.cmx)

ifeq "$(BEST)" "opt"
IMPL += $(NATIMPL)
endif

endif

DOC := ${INTF:.cmi=.mli}