This file is indexed.

/usr/share/mk/ocaml.tools.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
 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
### ocaml.tools.mk -- Define virtual tools for OCaml

# Author: Michael Grünewald
# Date: Sat Jul  7 20:50:52 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.compile.mk"
# .include "ocaml.tools.mk"


### DESCRIPTION

# We define virtual tools to access the OCaml tools suite.  Some
# modules adjust these variables (as ocaml.find.mk) or define more (as
# ocaml.depend.mk).

# Variables:
#
#  OCAMLCB (ocamlc)
#   Bytecode compiler
#
#
#  OCAMLCN (ocamlopt)
#   Native compiler
#
#
#  OCAMLCI (ocamlc or ocamlopt)
#   Interface compiler
#
#   We use ocamlc to compile interface files or ocamlopt in the case
#   where only native code executables are prepared.  The produced
#   compiled interfaces should be identical.
#
#
#  OCAMLAB (ocamlc -a)
#   Bytecode libraries packager
#
#
#  OCAMLAN (ocamlopt -a)
#   Native libraries packager
#
#
#  OCAMLLB (ocamlc)
#   Bytecode program linker
#
#
#  OCAMLLN (ocamlopt)
#   Native program linker
#
#
#  OCAMLPB (ocamlc -pack)
#   Bytecode packed module packager
#
#
#  OCAMLPN (ocamlopt -pack)
#   Native packed module packager
#
#
#  _OCAML_TOOLS
#   The list of defined tools
#
#
#  WITH_PROFILE (no)
#   Knob controlling build of files with profiling information
#
#   Setting WITH_PROFILE to yes will enforce the use of the profiling
#   front-ends to OCaml compilers.
#
#
#  USE_OPTIMIZED_COMPILER
#   Use optimized compilers
#
#   This is not compatible with the WITH_PROFILE knob, which will take
#   precedence.

### IMPLEMENTATION

.if !target(__<ocaml.tools.mk>__)
__<ocaml.tools.mk>__:

_OCAML_TOOLS+= OCAMLCI
_OCAML_TOOLS+= OCAMLCB
_OCAML_TOOLS+= OCAMLCN
_OCAML_TOOLS+= OCAMLAB
_OCAML_TOOLS+= OCAMLAN
_OCAML_TOOLS+= OCAMLLB
_OCAML_TOOLS+= OCAMLLN
_OCAML_TOOLS+= OCAMLPB
_OCAML_TOOLS+= OCAMLPN

WITH_PROFILE?= no
USE_OPTIMIZED_COMPILER?= no

.if ${USE_OPTIMIZED_COMPILER} != no && ${WITH_PROFILE} != no
.warning The USE_OPTIMIZED_COMPILER flag is superseded by WITH_PROFILE.
.endif

.if ${WITH_PROFILE} == yes
# Profiling case
OCAMLCB?= ocamlcp -c
OCAMLCN?= ocamloptp -c
.if defined(_OCAML_COMPILE_NATIVE_ONLY)
OCAMLCI?= ocamloptp -c
.else
OCAMLCI?= ocamlcp -c
.endif
OCAMLAB?= ocamlcp -a
OCAMLAN?= ocamloptp -a
OCAMLLB?= ocamlcp
OCAMLLN?= ocamloptp
OCAMLPB?= ocamlcp -pack
OCAMLPN?= ocamloptp -pack
.elif ${USE_OPTIMIZED_COMPILER} == yes
# Optimized compiler case
OCAMLCB?= ocamlc.opt -c
OCAMLCN?= ocamlopt.opt -c
.if defined(_OCAML_COMPILE_NATIVE_ONLY)
OCAMLCI?= ocamlopt.opt -c
.else
OCAMLCI?= ocamlc.opt -c
.endif
OCAMLAB?= ocamlc.opt -a
OCAMLAN?= ocamlopt.opt -a
OCAMLLB?= ocamlc.opt
OCAMLLN?= ocamlopt.opt
OCAMLPB?= ocamlc.opt -pack
OCAMLPN?= ocamlopt.opt -pack
.else
# Normal case
OCAMLCB?= ocamlc -c
OCAMLCN?= ocamlopt -c
.if defined(_OCAML_COMPILE_NATIVE_ONLY)
OCAMLCI?= ocamlopt -c
.else
OCAMLCI?= ocamlc -c
.endif
OCAMLAB?= ocamlc -a
OCAMLAN?= ocamlopt -a
OCAMLLB?= ocamlc
OCAMLLN?= ocamlopt
OCAMLPB?= ocamlc -pack
OCAMLPN?= ocamlopt -pack
.endif

.endif#!target(__<ocaml.tools.mk>__)

### End of file `ocaml.tools.mk'