File: bsdowl.mk

package info (click to toggle)
bsdowl 2.2.2-1.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,448 kB
  • sloc: sh: 828; makefile: 383; ml: 267; lisp: 54
file content (46 lines) | stat: -rw-r--r-- 1,154 bytes parent folder | download | duplicates (3)
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
### bsdowl -- Fichier de directives principal

# Author: Michael Grünewald
# Date: Dim 13 avr 2008 23:56:07 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

### DESCRIPTION

.if !target(__<bsdowl>__)
__<bsdowl>__:

.MAKEFLAGS:	-I${.CURDIR}/Library/Make
.for subdir in ${SUBDIR}
.MAKEFLAGS: -I${.CURDIR}/${subdir}
.endfor


.include "subdir.mk"
.include "bps.project.mk"

# We remove pathes matching the installation prefix ${PREFIX} from the
# MAKEFLAGS variable.

.for prefix in ${PREFIX}
_BPS_MAKEFLAGS:=${.MAKEFLAGS:C|-I||:C|^/|-I/|:C|^\.|-I.|:N-I${prefix}*}
.endfor

PROJECTENV:=	${PROJECTENV:NMAKEFLAGS=*} MAKEFLAGS="${_BPS_MAKEFLAGS}"

.endif # !target(__<bsdowl>__)

### End of file `bsdowl'