28 lines
693 B
Makefile
28 lines
693 B
Makefile
# $NetBSD: mod.mk,v 1.5 2005/02/25 18:26:00 christos Exp $
|
|
|
|
NOLINT= # don't build a lint library
|
|
NOPROFILE= # don't build a profile library
|
|
NOPICINSTALL= # don't install _pic.a library
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
LIBDIR=/usr/lib/security
|
|
WARNS=3
|
|
LIB_ROOT_DIR= ${.CURDIR}/../../..
|
|
|
|
.if ${MKPIC} != "no"
|
|
.PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
|
|
libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
|
|
.else
|
|
libinstall::
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION}
|
|
${_MKTARGET_INSTALL}
|
|
${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
${.ALLSRC} ${.TARGET}
|