summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/geom/class/Makefile.inc10
-rw-r--r--sbin/geom/class/cache/Makefile2
-rw-r--r--sbin/geom/class/concat/Makefile2
-rw-r--r--sbin/geom/class/eli/Makefile2
-rw-r--r--sbin/geom/class/journal/Makefile4
-rw-r--r--sbin/geom/class/label/Makefile2
-rw-r--r--sbin/geom/class/mirror/Makefile4
-rw-r--r--sbin/geom/class/mountver/Makefile2
-rw-r--r--sbin/geom/class/multipath/Makefile5
-rw-r--r--sbin/geom/class/nop/Makefile2
-rw-r--r--sbin/geom/class/part/Makefile2
-rw-r--r--sbin/geom/class/raid3/Makefile2
-rw-r--r--sbin/geom/class/sched/Makefile11
-rw-r--r--sbin/geom/class/shsec/Makefile2
-rw-r--r--sbin/geom/class/stripe/Makefile2
-rw-r--r--sbin/geom/class/virstor/Makefile4
16 files changed, 26 insertions, 32 deletions
diff --git a/sbin/geom/class/Makefile.inc b/sbin/geom/class/Makefile.inc
index 63109c2..6f0141e 100644
--- a/sbin/geom/class/Makefile.inc
+++ b/sbin/geom/class/Makefile.inc
@@ -1,10 +1,10 @@
# $FreeBSD$
-SHLIBDIR?=${CLASS_DIR}
-SHLIB_NAME?=geom_${CLASS}.so
-LINKS= ${BINDIR}/geom ${BINDIR}/g${CLASS}
-MAN= g${CLASS}.8
-SRCS+= geom_${CLASS}.c subr.c
+SHLIBDIR?=${GEOM_CLASS_DIR}
+SHLIB_NAME?=geom_${GEOM_CLASS}.so
+LINKS= ${BINDIR}/geom ${BINDIR}/g${GEOM_CLASS}
+MAN= g${GEOM_CLASS}.8
+SRCS+= geom_${GEOM_CLASS}.c subr.c
CFLAGS+= -I${.CURDIR}/../..
diff --git a/sbin/geom/class/cache/Makefile b/sbin/geom/class/cache/Makefile
index 615c927..35f81d8 100644
--- a/sbin/geom/class/cache/Makefile
+++ b/sbin/geom/class/cache/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= cache
+GEOM_CLASS= cache
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/concat/Makefile b/sbin/geom/class/concat/Makefile
index b3a3e23..34e2c28 100644
--- a/sbin/geom/class/concat/Makefile
+++ b/sbin/geom/class/concat/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= concat
+GEOM_CLASS= concat
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/eli/Makefile b/sbin/geom/class/eli/Makefile
index 041e738..1195668 100644
--- a/sbin/geom/class/eli/Makefile
+++ b/sbin/geom/class/eli/Makefile
@@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../misc ${.CURDIR}/../../../../sys/geom/eli ${.CURDIR}/../../../../sys/crypto/sha2
-CLASS= eli
+GEOM_CLASS= eli
SRCS= g_eli_crypto.c
SRCS+= g_eli_key.c
SRCS+= pkcs5v2.c
diff --git a/sbin/geom/class/journal/Makefile b/sbin/geom/class/journal/Makefile
index 95f66de..2db8d30 100644
--- a/sbin/geom/class/journal/Makefile
+++ b/sbin/geom/class/journal/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../misc
+.PATH: ${.CURDIR}/../../misc
-CLASS= journal
+GEOM_CLASS= journal
SRCS+= geom_journal_ufs.c
DPADD= ${LIBMD} ${LIBUFS}
diff --git a/sbin/geom/class/label/Makefile b/sbin/geom/class/label/Makefile
index cba7ac6..0b609a1 100644
--- a/sbin/geom/class/label/Makefile
+++ b/sbin/geom/class/label/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= label
+GEOM_CLASS= label
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/mirror/Makefile b/sbin/geom/class/mirror/Makefile
index f07a790..e38d617 100644
--- a/sbin/geom/class/mirror/Makefile
+++ b/sbin/geom/class/mirror/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../misc
+.PATH: ${.CURDIR}/../../misc
-CLASS= mirror
+GEOM_CLASS= mirror
DPADD= ${LIBMD}
LDADD= -lmd
diff --git a/sbin/geom/class/mountver/Makefile b/sbin/geom/class/mountver/Makefile
index d7105d0..750d1a5 100644
--- a/sbin/geom/class/mountver/Makefile
+++ b/sbin/geom/class/mountver/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= mountver
+GEOM_CLASS= mountver
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/multipath/Makefile b/sbin/geom/class/multipath/Makefile
index b4eb783..ff40fe9 100644
--- a/sbin/geom/class/multipath/Makefile
+++ b/sbin/geom/class/multipath/Makefile
@@ -1,8 +1,9 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../misc
-CLASS= multipath
-.include <bsd.lib.mk>
+GEOM_CLASS= multipath
CFLAGS+= -I${.CURDIR}/../../../../sys
+
+.include <bsd.lib.mk>
diff --git a/sbin/geom/class/nop/Makefile b/sbin/geom/class/nop/Makefile
index 75a2037..d9a6ca6 100644
--- a/sbin/geom/class/nop/Makefile
+++ b/sbin/geom/class/nop/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= nop
+GEOM_CLASS= nop
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/part/Makefile b/sbin/geom/class/part/Makefile
index 7fe221a..341cd42 100644
--- a/sbin/geom/class/part/Makefile
+++ b/sbin/geom/class/part/Makefile
@@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= part
+GEOM_CLASS= part
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/sbin/geom/class/raid3/Makefile b/sbin/geom/class/raid3/Makefile
index 1791669..d2405d4 100644
--- a/sbin/geom/class/raid3/Makefile
+++ b/sbin/geom/class/raid3/Makefile
@@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= raid3
+GEOM_CLASS= raid3
DPADD= ${LIBMD}
LDADD= -lmd
diff --git a/sbin/geom/class/sched/Makefile b/sbin/geom/class/sched/Makefile
index 6656cdd..abb47dc 100644
--- a/sbin/geom/class/sched/Makefile
+++ b/sbin/geom/class/sched/Makefile
@@ -2,17 +2,10 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../misc
-#CFLAGS += -I/usr/src/sbin/geom
-CLASS=sched
+GEOM_CLASS= sched
-WARNS?= 6
+WARNS?= 6
CLASS_DIR?=/lib/geom
-SHLIBDIR?=${CLASS_DIR}
-SHLIB_NAME?=geom_${CLASS}.so
-LINKS= ${BINDIR}/geom ${BINDIR}/g${CLASS}
-MAN= g${CLASS}.8
-SRCS+= geom_${CLASS}.c subr.c
-
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/shsec/Makefile b/sbin/geom/class/shsec/Makefile
index ea38f15..6b5c835 100644
--- a/sbin/geom/class/shsec/Makefile
+++ b/sbin/geom/class/shsec/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= shsec
+GEOM_CLASS= shsec
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/stripe/Makefile b/sbin/geom/class/stripe/Makefile
index 53a35ff..8ee5f6e 100644
--- a/sbin/geom/class/stripe/Makefile
+++ b/sbin/geom/class/stripe/Makefile
@@ -2,6 +2,6 @@
.PATH: ${.CURDIR}/../../misc
-CLASS= stripe
+GEOM_CLASS= stripe
.include <bsd.lib.mk>
diff --git a/sbin/geom/class/virstor/Makefile b/sbin/geom/class/virstor/Makefile
index 0b4d5cd..ac71b43 100644
--- a/sbin/geom/class/virstor/Makefile
+++ b/sbin/geom/class/virstor/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../misc ${.CURDIR}/../../../../sys/geom/virstor
+.PATH: ${.CURDIR}/../../misc ${.CURDIR}/../../../../sys/geom/virstor
-CLASS= virstor
+GEOM_CLASS= virstor
SRCS+= binstream.c
SRCS+= g_virstor_md.c
OpenPOWER on IntegriCloud