1 1.5 christos # $NetBSD: mod.mk,v 1.5 2005/02/25 18:26:00 christos Exp $ 2 1.1 christos 3 1.1 christos NOLINT= # don't build a lint library 4 1.1 christos NOPROFILE= # don't build a profile library 5 1.1 christos NOPICINSTALL= # don't install _pic.a library 6 1.1 christos 7 1.1 christos .include <bsd.own.mk> 8 1.1 christos 9 1.1 christos .include "${.CURDIR}/../../Makefile.inc" 10 1.1 christos 11 1.2 thorpej LIBDIR=/usr/lib/security 12 1.1 christos WARNS=3 13 1.5 christos LIB_ROOT_DIR= ${.CURDIR}/../../.. 14 1.1 christos 15 1.5 christos .if ${MKPIC} != "no" 16 1.1 christos .PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} 17 1.1 christos libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} 18 1.5 christos .else 19 1.5 christos libinstall:: 20 1.5 christos .endif 21 1.3 christos 22 1.1 christos .include <bsd.lib.mk> 23 1.1 christos 24 1.1 christos ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION} 25 1.1 christos ${_MKTARGET_INSTALL} 26 1.1 christos ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 27 1.1 christos ${.ALLSRC} ${.TARGET} 28