This file is indexed.

/usr/share/mk/ocaml.source.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
### ocaml.source.mk -- Scanning lists of source files

# Author: Michael Grünewald
# Date: Wed Aug  1 11:47:44 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

# _OCAML_SRCS=SRCS.prog1 SRCS.prog2 SRCS.lib1
#
# SRCS.prog1= src11.ml src12.ml sec13.mli
# SRCS.prog2= src21.ml src22.ml
# SRCS.lib1= mod1.ml lexer.mll parser.mly
#
# .include "ocaml.source.mk"

### DESCRIPTION

# We scan the lists of sources files enumerated in _OCAML_SRCS and
# assign their content to specialised lists (such as _OCAML_ML and
# _OCAML_MLI are) accordinf to their type.
#
# Each time that we meet an implementation file, the correponding
# interface file is appended to _OCAML_MLI.
#
# This module is intended to be included by other modules rather than
# to serve as is to the end user. (See ocaml.manual.mk for a
# module producing HTML documentation.)

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

# _OCAML_SOURCE = _OCAML_MLY
# _OCAML_SOURCE+= _OCAML_MLL
# _OCAML_SOURCE+= _OCAML_MLI
# _OCAML_SOURCE+= _OCAML_ML
# _OCAML_SOURCE+= _OCAML_C
# _OCAML_SOURCE+= _OCAML_H

# REMARK(michipili) About the M modificator
#
#  When we use the match `M` modificator in variable expansion, the
#  pattern is *everything* that follows it.  For instance
#
#    ${VAR:M*.${SUFFIX}}
#
#  is analysed as
#
#    ${<variable>}}
#    <variable>=VAR:M*.${SUFFIX
#
#  and expands to a `}`.  But if we write things like
#
#    .for suffix in ${SUFFIX}
#    ${VAR:M*.${suffix}}
#    .endfor
#
#  then the expansion of ${suffix} precedes the expansion of the
#  surrounding match modificator and we obtan the expected result.

.for src in ${_OCAML_SRCS}
.if defined(${src})
.if !empty(${src}:M*.mli)
.for if in ${${src}:M*.mli}
.if empty(_OCAML_MLI:M${if})
_OCAML_MLI+=${if}
.endif
.endfor
.endif
.if !empty(${src}:M*.ml)
.for unit in ${${src}:M*.ml}
.if empty(_OCAML_ML)||empty(_OCAML_ML:M${unit})
_OCAML_ML+=${unit}
.endif
.endfor
.endif
.endif
.endfor


.if defined(_OCAML_ML)&&!empty(_OCAML_ML)
.for if in ${_OCAML_ML:.ml=.mli}
.if exists(${if})&&(empty(_OCAML_MLI)||empty(_OCAML_MLI:M${if}))
_OCAML_MLI+= ${if}
.endif
.endfor
.endif

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

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