1 1.6 mrg # $NetBSD: mod.mk,v 1.6 2008/10/27 07:48:27 mrg 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.6 mrg .if defined(LD32DIR) 12 1.6 mrg LIBDIR=/usr/lib/${LD32DIR}/security 13 1.6 mrg .else 14 1.2 thorpej LIBDIR=/usr/lib/security 15 1.6 mrg .endif 16 1.1 christos WARNS=3 17 1.1 christos 18 1.5 christos .if ${MKPIC} != "no" 19 1.1 christos .PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} 20 1.1 christos libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} 21 1.5 christos .else 22 1.5 christos libinstall:: 23 1.5 christos .endif 24 1.3 christos 25 1.1 christos .include <bsd.lib.mk> 26 1.1 christos 27 1.1 christos ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION} 28 1.1 christos ${_MKTARGET_INSTALL} 29 1.1 christos ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 30 1.1 christos ${.ALLSRC} ${.TARGET} 31