Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / Makefile.in @ e42fb618

History | View | Annotate | Download (820 Bytes)

1 5ae8db15 ploc
OCAMLBUILD=@OCAMLBUILD@ -classic-display -no-links 
2
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
lustrec:
14
	@echo Compiling binary lustrec
15 bed8ea64 ploc
	@make -C src lustrec
16 5ae8db15 ploc
17
doc:
18
	@echo Generating doc
19 bed8ea64 ploc
	@make -C src doc
20 5ae8db15 ploc
21
dot: doc
22 bed8ea64 ploc
	@make -C src dot
23 5ae8db15 ploc
24
clean:
25 bed8ea64 ploc
	@make -C src clean
26 5ae8db15 ploc
27
dist-clean: clean
28
29 bed8ea64 ploc
%.lusic: %.lusi 
30 5ae8db15 ploc
	@echo Compiling $<
31
	@$(LOCAL_BINDIR)/lustrec -verbose 0 -d include $< 
32
33 bed8ea64 ploc
compile-lusi: lustrec $(LUSI_LIBS:%.lusi=%.lusic)
34 5ae8db15 ploc
35
install: compile-lusi
36
	mkdir -p ${bindir}
37
	install -m 0755 $(LOCAL_BINDIR)/* ${bindir}
38
	mkdir -p ${includedir}/lustrec
39
	cp include/* ${includedir}/lustrec
40
41
.PHONY: compile-lusi doc dot lustrec lustrec.odocl clean install dist-clean