Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / Makefile.in @ bed8ea64

History | View | Annotate | Download (820 Bytes)

1
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
	@make -C src lustrec
16

    
17
doc:
18
	@echo Generating doc
19
	@make -C src doc
20

    
21
dot: doc
22
	@make -C src dot
23

    
24
clean:
25
	@make -C src clean
26

    
27
dist-clean: clean
28

    
29
%.lusic: %.lusi 
30
	@echo Compiling $<
31
	@$(LOCAL_BINDIR)/lustrec -verbose 0 -d include $< 
32

    
33
compile-lusi: lustrec $(LUSI_LIBS:%.lusi=%.lusic)
34

    
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
42