Fix supposed compilation problem, using LIBDIR here can confuse core/
compilation.
This commit is contained in:
parent
76b108abfe
commit
bf3aa3662d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129494
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
BINDIR?=/sbin
|
||||
LIBDIR?=/lib/geom
|
||||
CLASSDIR?=/lib/geom
|
||||
WARNS?= 6
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
LIBDIR?=${CLASSDIR}
|
||||
SHLIB_MAJOR=1
|
||||
|
||||
SRCS= geom_${CLASS}.c subr.c
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user