32e7be7043
new problem shows up: symblic links (<libname>.so) are created under /usr/lib/ now, instead of under /lib/geom/ where geom(8) looks for them. Introduce a workaround to fix this by teaching geom(8) to open libraries via /lib/geom/<libname>.so.<major_number> instead of /lib/geom/<libname>.so.
13 lines
255 B
Makefile
13 lines
255 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIBDIR?=${CLASS_DIR}
|
|
SHLIB_MAJOR=${CLASS_MAJOR}
|
|
SHLIB_NAME?=geom_${CLASS}.so.${SHLIB_MAJOR}
|
|
LINKS= ${BINDIR}/geom ${BINDIR}/g${CLASS}
|
|
MAN= g${CLASS}.8
|
|
SRCS= geom_${CLASS}.c subr.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../..
|
|
|
|
.include "../Makefile.inc"
|