Fix supposed compilation problem, using LIBDIR here can confuse core/

compilation.
This commit is contained in:
Pawel Jakub Dawidek 2004-05-20 14:59:41 +00:00
parent 76b108abfe
commit bf3aa3662d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129494
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# $FreeBSD$
BINDIR?=/sbin
LIBDIR?=/lib/geom
CLASSDIR?=/lib/geom
WARNS?= 6

View File

@ -2,6 +2,7 @@
.include "../Makefile.inc"
LIBDIR?=${CLASSDIR}
SHLIB_MAJOR=1
SRCS= geom_${CLASS}.c subr.c

View File

@ -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>