/usr/share/mk/ocaml.init.mk is in bsdowl 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | ### ocaml.init.mk -- Common initialisation for OCaml projects
# Author: Michael Grünewald
# Date: Sat Jul 7 20:59:45 CEST 2007
# BSD Owl Scripts (https://bitbucket.org/michipili/bsdowl)
# This file is part of BSD Owl Scripts
#
# Copyright © 2005–2014 Michael Grünewald
#
# This file must be used under the terms of the CeCILL-B.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
### SYNOPSIS
# .include "ocaml.init.mk"
### DESCRIPTION
# This modules is responsible for early initialisation of some
# variables used by our OCaml framework. It defines _OCAML_OBJECT and
# reads in several modules.
#
# This module is intended to be included by other modules rather than
# to serve as is to the end user.
# Variables:
#
#
# _OCAML_OBJECT
# The list of object groups handled by our framework
#
#
# LIBDIR
# The installation target for libraries
#
# The value defined in `bps.own.mk` is suited for C libraries but not
# for OCaml objects that are rather installed in the same location as
# the standard library.
#
# It takes into account the PACKAGEDIR variable.
### IMPLEMENTATION
.if !target(__<ocaml.init.mk>__)
__<ocaml.init.mk>__:
.if !defined(PACKAGEDIR)||empty(PACKAGEDIR)
LIBDIR?=${PREFIX}/lib/ocaml${PACKAGEDIR}
.else
LIBDIR?=${PREFIX}/lib/ocaml/site-lib${PACKAGEDIR}
.endif
.SUFFIXES: .ml .mli .mll .mly
.SUFFIXES: .cmi .cmo .cmx .o .a .cma .cmxa
_OCAML_OBJECT = _OCAML_CMI
_OCAML_OBJECT+= _OCAML_CMO
_OCAML_OBJECT+= _OCAML_CMX
_OCAML_OBJECT+= _OCAML_O
_OCAML_OBJECT+= _OCAML_A
_OCAML_OBJECT+= _OCAML_CB
_OCAML_OBJECT+= _OCAML_CN
_OCAML_OBJECT+= _OCAML_CMA
_OCAML_OBJECT+= _OCAML_CMXA
_OCAML_OBJECT+= _OCAML_PKO
_OCAML_OBJECT+= _OCAML_PKX
.include "ocaml.compile.mk"
.include "ocaml.find.mk"
.include "ocaml.tools.mk"
.include "ocaml.dirs.mk"
.endif # !target(__<ocaml.init.mk>__)
### End of file `ocaml.init.mk'
|