Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / src / Makefile.in @ 93119c3f

History | View | Annotate | Download (1.38 KB)

1 2fdbc781 ploc
OCAMLBUILD=@OCAMLBUILD@ -use-ocamlfind -no-links 
2 e8b6d5ca ploc
3
prefix=@prefix@
4
exec_prefix=@exec_prefix@
5
bindir=@bindir@
6
datarootdir = ${prefix}/share
7
includedir = ${prefix}/include
8
9
LUSI_LIBS=include/math.lusi include/conv.lusi
10
LOCAL_BINDIR=../bin
11
LOCAL_DOCDIR=../doc/manual
12
13 40d33d55 xavier.thirioux
all: lustrec lustret
14
15 e8b6d5ca ploc
lustrec:
16
	@echo Compiling binary lustrec
17
	@$(OCAMLBUILD) main_lustre_compiler.native
18
	@mkdir -p $(LOCAL_BINDIR)
19
	@mv _build/main_lustre_compiler.native $(LOCAL_BINDIR)/lustrec
20
21 40d33d55 xavier.thirioux
lustret:
22
	@echo Compiling binary lustret
23
	@$(OCAMLBUILD) main_lustre_testgen.native
24
	@mkdir -p $(LOCAL_BINDIR)
25
	@mv _build/main_lustre_testgen.native $(LOCAL_BINDIR)/lustret
26
27 93119c3f ploc
lustresf:
28
	@echo Compiling binary lustret
29
	@$(OCAMLBUILD) tools/stateflow/sf_sem.native
30
	@mkdir -p $(LOCAL_BINDIR)
31
	@mv _build/tools/stateflow/sf_sem.native $(LOCAL_BINDIR)/lustresf
32
33 e8b6d5ca ploc
doc:
34
	@echo Generating doc
35
	@$(OCAMLBUILD) lustrec.docdir/index.html
36
	@rm -rf $(LOCAL_DOCDIR)
37
	@cp -rf _build/lustrec.docdir $(LOCAL_DOCDIR)
38
39
dot: doc
40
	$(OCAMLBUILD) lustrec.docdir/lustrec.dot
41
	dot -T ps -o lustrec.dot _build/lustrec.docdir/lustrec.dot
42
	mv _build/lustrec.docdir/lustrec.dot $(LOCAL_DOCDIR)
43
44
clean:
45
	$(OCAMLBUILD) -clean
46
47
dist-clean: clean
48
	rm -f Makefile myocamlbuild.ml config.log config.status configure
49
	rm -f include/*.lusic include/math.h include/conv.h
50
51 40875a30 ploc
install:
52
	make -C .. install
53
54 40d33d55 xavier.thirioux
.PHONY: compile-lusi doc dot lustrec lustret lustrec.odocl clean install dist-clean