Home | History | Annotate | Line # | Download | only in modules
mod.mk revision 1.14
      1  1.14       mrg #	$NetBSD: mod.mk,v 1.14 2020/02/27 00:02:56 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.14       mrg .include "${.PARSEDIR}/../Makefile.inc"
     10   1.1  christos 
     11   1.7       mrg .if defined(MLIBDIR)
     12   1.7       mrg LIBDIR=/usr/lib/${MLIBDIR}/security
     13   1.6       mrg .else
     14   1.2   thorpej LIBDIR=/usr/lib/security
     15   1.6       mrg .endif
     16  1.12  christos WARNS=6
     17   1.1  christos 
     18   1.9  christos .if ${MKPIC} != "no"
     19  1.13  christos LIBDPLIBS+=   pam     ${NETBSDSRCDIR}/lib/libpam
     20   1.1  christos .PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
     21   1.1  christos libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
     22   1.5  christos .else
     23   1.5  christos libinstall::
     24   1.5  christos .endif
     25   1.3  christos 
     26   1.1  christos .include <bsd.lib.mk>
     27   1.1  christos 
     28   1.1  christos ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION}
     29   1.1  christos 	${_MKTARGET_INSTALL}
     30   1.1  christos 	${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
     31   1.1  christos 	    ${.ALLSRC} ${.TARGET}
     32