/usr/share/mk/bps.usertarget.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 | ### bps.usertarget.mk -- Cibles de l'insterface utilisateur
# Author: Michael Grünewald
# Date: Sam 7 jul 2007 09:59:15 CEST
# Cookie: SYNOPSIS TARGET VARIABLE EN DOCUMENTATION
# 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
# _MAKE_USERTARGET = configure depend build doc all install
# _MAKE_USERTARGET+= clean distclean realclean update
# _MAKE_ALLSUBTARGET = configure depend build doc
#
# .include "bps.usertarget.mk"
### DESCRIPTION
# Définit une recette de production pour chaque cible administrative énumérée
# par la variable _MAKE_USERTARGET. Définit une cible administrative `all' qui
# appelle le programme `make' pour produire chacune des cibles énumérées dans
# _MAKE_ALLSUBTARGET.
#
# Pour chaque cible ${target} figurant dans _MAKE_USERTARGET et pour
# laquelle il n'existe pas de recettes, on définit une recette, de la
# façon suivante:
# -- si une des cibles pre-${target}, do-${target} ou post-${target}
# existe, alors la recette de ${target} est vide et la production
# de ${target} dépend des cibles pre-do-post existantes;
# -- sinon, une recette affichant un message ``Nothing to do'' est
# préparée.
.if !target(__<bps.usertarget.mk>__)
__<bps.usertarget.mk>__:
#
# Dépendances pre-do-post
#
# On insère les dépendances * -> pre-*, * -> do-* et * -> post-*
# dans le graphe des recettes lorsque le membre de droite existe.
.PHONY: ${_MAKE_USERTARGET}
.for target in ${_MAKE_USERTARGET:Nall}
.if !target(${target})
.for prefix in pre do post
.if target(${prefix}-${target})
${target}: ${prefix}-${target}
.endif
.endfor
.endif
.endfor
#
# Cible all
#
.for target in ${_MAKE_ALLSUBTARGET}
.if target(${target})
do-all: divert-${target}
divert-${target}: .USE
@echo ${MAKE} ${target}
@cd ${.CURDIR}; ${MAKE} ${target}
.endif
.endfor
.for prefix in pre do post
.if target(${prefix}-all)
all: ${prefix}-all
.endif
.endfor
#
# Messages
#
.for target in ${_MAKE_USERTARGET}
.if !target(${target})
${target}:
@: ${INFO} "Nothing to do for target ${target}"
.endif
.endfor
.endif # !target(__<bps.usertarget.mk>__)
### End of file `bps.usertarget.mk'
|