-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmaster.Makefile.in
109 lines (93 loc) · 3.58 KB
/
master.Makefile.in
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#################################################################################
# OCaml-RDF #
# #
# Copyright (C) 2012-2013 Institut National de Recherche en Informatique #
# et en Automatique. All rights reserved. #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU Lesser General Public License version #
# 3 as published by the Free Software Foundation. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA #
# 02111-1307 USA #
# #
# Contact: [email protected] #
# #
#################################################################################
# Various commands and dir
##########################
OCAMLBIN= @OCAMLBIN@
OCAMLC = @OCAMLC@ -warn-error F
OCAMLOPT = @OCAMLOPT@ -warn-error F
OCAMLDEP = @OCAMLDEP@
OCAMLLEX = @OCAMLLEX@
OCAMLYACC= @OCAMLYACC@
OCAMLLIB = @OCAMLLIB@
OCAMLFIND = @OCAMLFIND@
OCAMLDOCDIR= $(OCAMLLIB)/ocamldoc
OCAMLBEST= @OCAMLBEST@
OCAMLVERSION = @OCAMLVERSION@
EXTRAC_CRC = $(OCAMLLIB)/extract_crc
OCAMLDOC= @OCAMLDOCOPT@
LABLGLADECC=@LABLGLADECC@
OCAMLPP=
LATEX=TEXINPUTS=$(ROOT)/doc: latex
HEVEA=hevea -fix -I $(ROOT)/doc -exec xxdate.exe
HACHA=hacha
DVIPS=dvips
DVIPDF=dvipdf
BIBTEX=bibtex
MENHIR=@MENHIR@
# For installation
##############
MKDIR=mkdir -p
CP=cp -f
RM=rm -f
DESTDIR= # For debian packagers
# Compilation
#############
ROOT=@ROOT@
VERSION=@VERSION@
PACKAGE=@PACKAGE@
PACKAGES=@PACKAGES@
LIB_MYSQL=@LIB_MYSQL@
LIB_POSTGRESQL=@LIB_POSTGRESQL@
MT_FLAGS=@MT_FLAGS@
# generic rules :
#################
.SUFFIXES: .mli .ml .cmi .cmo .cmx .tex .dvi .ps .pdf
%.cmi:%.mli
$(OCAMLFIND) ocamlc $(OF_FLAGS) $(OCAMLPP) $(COMPFLAGS) -c $<
%.cmo:%.ml
$(OCAMLFIND) ocamlc $(OF_FLAGS) $(OCAMLPP) $(COMPFLAGS) -c $<
%.cmi %.cmo:%.ml
$(OCAMLFIND) ocamlc $(OF_FLAGS) $(OCAMLPP) $(COMPFLAGS) -c $<
%.cmx %.o:%.ml
$(OCAMLFIND) ocamlopt $(OF_FLAGS) $(OCAMLPP) $(COMPFLAGS) -c $<
%.dvi: %.tex
$(LATEX) $<
$(BIBTEX) `basename $< .tex`
$(LATEX) $<
$(LATEX) $<
%.ps: %.dvi
$(DVIPS) -o $@ $<
%.pdf: %.dvi
$(DVIPDF) $< $@
%.html: %.tex
$(HEVEA) $<
$(HACHA) $@
rpl '<META name="GENERATOR" content="hevea 1.06">' \
'<link href="file://$(ROOT)/doc/style.css" rel="stylesheet" type="text/css"> <META name="GENERATOR" content="hevea 1.06">' \
*.html
# some common targets :
#######################
first:all
cleandoc:
$(RM) *.ps *.dvi *.html *.pdf *.log *.aux *.toc *.bbl *.blg