summaryrefslogtreecommitdiff
path: root/pkgtools/libkver/files/Makefile.inc
blob: 825480fb8be2dbbf58fcd88252ce60c31129574f (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
#	$NetBSD: Makefile.inc,v 1.3 2003/10/27 20:31:42 seb Exp $

.include <bsd.own.mk>

SUPPORTED_KVER_OSRELEASES+=	1.5
SUPPORTED_KVER_OSRELEASES+=	1.5.1
SUPPORTED_KVER_OSRELEASES+=	1.5.2
SUPPORTED_KVER_OSRELEASES+=	1.5.3
SUPPORTED_KVER_OSRELEASES+=	1.6
SUPPORTED_KVER_OSRELEASES+=	1.6.1
SUPPORTED_KVER_OSRELEASES+=	1.6.2
KVER_OSREVISION.1.5=	105000000
KVER_OSREVISION.1.5.1=	105000100
KVER_OSREVISION.1.5.2=	105000200
KVER_OSREVISION.1.5.3=	105000300
KVER_OSREVISION.1.6=	106000000
KVER_OSREVISION.1.6.1=	106000100
KVER_OSREVISION.1.6.2=	106000200

.if defined(KVER_OSRELEASE) && !empty(SUPPORTED_KVER_OSRELEASES:M${KVER_OSRELEASE})
CFLAGS+=	-D_KVER_OSREVISION=${KVER_OSREVISION.${KVER_OSRELEASE}}
.else
.BEGIN:
	@echo "You must define KVER_OSRELEASE to be one of:"
	@echo "${SUPPORTED_KVER_OSRELEASES}"
	@false
.endif