aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-05-20 14:59:41 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-05-20 14:59:41 +0000
commitbf3aa3662dff7ba07277398d53da6eb476387df1 (patch)
tree83a7e881ecd21e79bfcdd0cffae2a5cd55f447b0 /sbin
parent76b108abfe40b733b0d9cf37610b5cdf96591014 (diff)
downloadsrc-bf3aa3662dff7ba07277398d53da6eb476387df1.tar.gz
src-bf3aa3662dff7ba07277398d53da6eb476387df1.zip
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/Makefile.inc2
-rw-r--r--sbin/geom/class/Makefile.inc1
-rw-r--r--sbin/geom/core/Makefile2
3 files changed, 3 insertions, 2 deletions
diff --git a/sbin/geom/Makefile.inc b/sbin/geom/Makefile.inc
index 7803210e1e71..703f7013fe76 100644
--- a/sbin/geom/Makefile.inc
+++ b/sbin/geom/Makefile.inc
@@ -1,5 +1,5 @@
# $FreeBSD$
BINDIR?=/sbin
-LIBDIR?=/lib/geom
+CLASSDIR?=/lib/geom
WARNS?= 6
diff --git a/sbin/geom/class/Makefile.inc b/sbin/geom/class/Makefile.inc
index b927bca57ac8..5fbe1f52bbd6 100644
--- a/sbin/geom/class/Makefile.inc
+++ b/sbin/geom/class/Makefile.inc
@@ -2,6 +2,7 @@
.include "../Makefile.inc"
+LIBDIR?=${CLASSDIR}
SHLIB_MAJOR=1
SRCS= geom_${CLASS}.c subr.c
diff --git a/sbin/geom/core/Makefile b/sbin/geom/core/Makefile
index 3c373429fb25..e65c99d4015c 100644
--- a/sbin/geom/core/Makefile
+++ b/sbin/geom/core/Makefile
@@ -10,6 +10,6 @@ DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML}
LDADD= -lgeom -lsbuf -lbsdxml
WARNS?= 6
CFLAGS+=-I${.CURDIR}/../../../sys -I${.CURDIR} -I${.CURDIR}/..
-CFLAGS+=-DCLASSDIR=\"${LIBDIR}\"
+CFLAGS+=-DCLASSDIR=\"${CLASSDIR}\"
.include <bsd.prog.mk>