blob: 09d3bfb7354b7ad3804c433968b33e3e251f9285 (
plain)
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
|
# $NetBSD: osf1.mk,v 1.1 2007/07/29 05:19:43 jlam Exp $
#
# OSF/1 (Tru64) binary emulation framework
#
.if !empty(OPSYS:MOSF*)
EMUL_TYPE.osf1?= native
.else
EMUL_TYPE.osf1?= builtin
.endif
EMUL_MODULES.osf1?= # empty
EMULSUBDIR= emul/osf1
EMULDIR= ${PREFIX}/${EMULSUBDIR}
OPSYS_EMULDIR= ${_OPSYS_EMULDIR.osf1}
# _EMUL_TYPES
# List of recognized OSF/1 types that a user may request.
#
# _EMUL_MODULES
# List of recognized OSF/1 "modules" that packages may request.
#
_EMUL_TYPES= builtin
_EMUL_TYPES+= native
_EMUL_TYPE?= ${EMUL_TYPE.osf1}
_EMUL_MODULES= # empty
.if ${_EMUL_TYPE} == "builtin"
EMUL_DISTRO= builtin-osf1 # managed outside pkgsrc
.elif ${_EMUL_TYPE} == "native"
EMUL_DISTRO= native-osf1 # native OSF/1 (Tru64)
EMULDIR= ${PREFIX}
EMULSUBDIR= # empty
.else
. include "${PKGSRCDIR}/mk/emulator/osf1-${_EMUL_TYPE}.mk"
.endif
.if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
. for _mod_ in ${_EMUL_MODULES}
DEPENDS_${EMUL_DISTRO}.${_mod_}?= # empty
. endfor
.endif
|