Makefile.in 2 KB
Newer Older
bguillaum's avatar
bguillaum committed
1
VERSION = 0.22.1
pj2m's avatar
pj2m committed
2
3
4
5
6
7

INSTALL_DIR_LIB = @OCAMLLIB@
INSTALL_DIR = @prefix@/bin/
DATA_DIR = @prefix@@datarootdir@/libgrew/
DOC_DIR = @prefix@@datarootdir@/libgrew-doc/

bguillaum's avatar
bguillaum committed
8
9
10
11
12
13
14
OCAMLC = @OCAMLC@
OCAMLOPT = @OCAMLOPT@
OCAMLLIB = @OCAMLLIB@
OCAMLFIND = @OCAMLFIND@
OCAMLLEX = @OCAMLLEX@
MENHIR = @MENHIR@
OCAMLFIND_DIR=`$(OCAMLFIND) printconf destdir`
pj2m's avatar
pj2m committed
15
16
17
18
19
20
21
22
23

BYTE_FLAGS = -g -dtypes
OPT_FLAGS = -g -dtypes

DEBUG = @DEBUG@
WARNING = @WARNING@
MESSAGE = @MESSAGE@
INFO = @INFO@

bguillaum's avatar
bguillaum committed
24
25
26
27
LOG_DIR = @LOG_INCLUDE@
LOG_BYTE = $(LOG_DIR) log.cma
LOG_OPT = $(LOG_DIR) log.cmxa

bguillaum's avatar
bguillaum committed
28
29
30
31
XML_LIGHT_DIR = @XMLLIGHT_INCLUDE@
XML_LIGHT_BYTE = $(XML_LIGHT_DIR) xml-light.cma
XML_LIGHT_OPT = $(XML_LIGHT_DIR) xml-light.cmxa

bguillaum's avatar
bguillaum committed
32
33
34
35
36
37
38
39
DEP2PICT=@DEP2PICT@
DEP2PICT_DIR = @DEP2PICT_INCLUDE@
DEP2PICT_BYTE = $(DEP2PICT_DIR) dep2pict.cma
DEP2PICT_OPT = $(DEP2PICT_DIR) dep2pict.cmxa

ANSITERMINAL_DIR = @ANSITERMINAL_INCLUDE@
ANSITERMINAL_BYTE = $(ANSITERMINAL_DIR) ANSITerminal.cma
ANSITERMINAL_OPT = $(ANSITERMINAL_DIR) ANSITerminal.cmxa
pj2m's avatar
pj2m committed
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58


cleanup:
	rm -rf *.cmo *.cmx *.cmi *.annot *.o *.*~

purge:
	rm -rf Makefile


infos:
	@echo ""
	@echo "version              -> " $(VERSION)
	@echo ""
	@echo "prefix               -> " @prefix@
	@echo "exec install dir     -> " $(INSTALL_DIR)
	@echo "lib install dir      -> " $(INSTALL_DIR_LIB)
	@echo "data install dir     -> " $(DATA_DIR)
	@echo "doc install dir      -> " $(DOC_DIR)
	@echo ""
bguillaum's avatar
bguillaum committed
59
60
61
62
63
64
65
	@echo "OCAMLC               -> " $(OCAMLC)
	@echo "OCAMLOPT             -> " $(OCAMLOPT)
	@echo "OCAMLLIB             -> " $(OCAMLLIB)
	@echo "OCAMLFIND            -> " $(OCAMLFIND)
	@echo "byte compil flags    -> " $(BYTE_FLAGS)
	@echo "native compil flags  -> " $(OPT_FLAGS)
	@echo ""
pj2m's avatar
pj2m committed
66
67
68
69
70
71
72
73
74
	@echo "log                  -> " $(LOG_OPT)
	@echo "dep2pict             -> " $(DEP2PICT_OPT)
	@echo "ansiterminal         -> " $(ANSITERMINAL_OPT)
	@echo ""
	@echo "DEBUG                -> " $(DEBUG)
	@echo "WARNING              -> " $(WARNING)
	@echo "MESSAGE              -> " $(MESSAGE)
	@echo "INFO                 -> " $(INFO)
	@echo ""
pj2m's avatar
pj2m committed
75
	@echo "use dep2pict         -> " $(DEP2PICT)