freebsd-skq/sbin/geom/class/Makefile.inc
Pawel Jakub Dawidek 32e7be7043 After changing LIBDIR to SHLIBDIR, because of dependencies problems,
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.
2004-08-01 22:24:07 +00:00

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"