~ubuntu-branches/ubuntu/trusty/ocaml-config-file/trusty

« back to all changes in this revision

Viewing changes to master.Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-07-23 13:30:06 UTC
  • Revision ID: james.westby@ubuntu.com-20110723133006-1pr1s355qg2h0uyi
Tags: upstream-1.0
Import upstream version 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#################################################################################
 
2
#                Config_file                                                    #
 
3
#                                                                               #
 
4
#    Copyright (C) 2011 Institut National de Recherche en Informatique          #
 
5
#    et en Automatique. All rights reserved.                                    #
 
6
#                                                                               #
 
7
#    This program is free software; you can redistribute it and/or modify       #
 
8
#    it under the terms of the GNU Library General Public License as            #
 
9
#    published by the Free Software Foundation; either version 2 of the         #
 
10
#    License, or any later version.                                             #
 
11
#                                                                               #
 
12
#    This program is distributed in the hope that it will be useful,            #
 
13
#    but WITHOUT ANY WARRANTY; without even the implied warranty of             #
 
14
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
 
15
#    GNU Library General Public License for more details.                       #
 
16
#                                                                               #
 
17
#    You should have received a copy of the GNU Library General Public          #
 
18
#    License along with this program; if not, write to the Free Software        #
 
19
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA                   #
 
20
#    02111-1307  USA                                                            #
 
21
#                                                                               #
 
22
#    Contact: Maxence.Guesdon@inria.fr                                          #
 
23
#                                                                               #
 
24
#                                                                               #
 
25
#################################################################################
 
26
 
 
27
# $Id: master.Makefile.in 749 2010-06-17 06:52:00Z zoggy $
 
28
 
 
29
# Various commands and dir
 
30
##########################
 
31
OCAMLBIN= @OCAMLBIN@
 
32
OCAMLC   = @OCAMLC@ -warn-error F
 
33
OCAMLOPT = @OCAMLOPT@ -warn-error F
 
34
OCAMLDEP = @OCAMLDEP@
 
35
OCAMLLEX = @OCAMLLEX@
 
36
OCAMLYACC= @OCAMLYACC@
 
37
OCAMLLIB = @OCAMLLIB@
 
38
OCAMLDOCDIR= $(OCAMLLIB)/ocamldoc
 
39
OCAMLBEST= @OCAMLBEST@
 
40
OCAMLVERSION = @OCAMLVERSION@
 
41
EXTRAC_CRC = $(OCAMLLIB)/extract_crc
 
42
OCAMLDOC= @OCAMLDOC@
 
43
 
 
44
# For installation
 
45
##############
 
46
MKDIR=mkdir -p
 
47
CP=cp -f
 
48
RM=rm -fr
 
49
 
 
50
DESTDIR=   # For debian packagers
 
51
INSTALLDIR=$(DESTDIR)$(OCAMLLIB)
 
52
 
 
53
# Compilation
 
54
#############
 
55
 
 
56
ROOT=@ROOT@
 
57
VERSION=@VERSION@
 
58
 
 
59
# generic rules :
 
60
#################
 
61
.SUFFIXES: .mli .ml .cmi .cmo .cmx .mll .mly .tex .dvi .ps .pdf
 
62
 
 
63
%.cmi:%.mli
 
64
        $(OCAMLC) $(OCAMLPP) $(COMPFLAGS) -c $<
 
65
 
 
66
%.cmo:%.ml
 
67
        $(OCAMLC) $(OCAMLPP) $(COMPFLAGS) -c $<
 
68
 
 
69
%.cmi %.cmo:%.ml
 
70
        $(OCAMLC) $(OCAMLPP) $(COMPFLAGS) -c $<
 
71
 
 
72
%.cmx %.o:%.ml
 
73
        $(OCAMLOPT) $(OCAMLPP) $(COMPFLAGS) -c $<
 
74
 
 
75
%.ml:%.mll
 
76
        $(OCAMLLEX) $<
 
77
 
 
78
%.mli %.ml:%.mly
 
79
        $(OCAMLYACC) -v $<