# $NetBSD: engines.mk,v 1.1 2018/12/08 23:24:01 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> SHLIB_MAJOR=0 SHLIB_MINOR=0 CRYPTODIST= ${NETBSDSRCDIR}/crypto .include "${NETBSDSRCDIR}/crypto/Makefile.openssl" .PATH: ${OPENSSLSRC}/engines CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/../include .if defined(MLIBDIR) LIBDIR=/usr/lib/${MLIBDIR}/openssl .else LIBDIR=/usr/lib/openssl .endif .if ${MKPIC} != "no" .PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so .else libinstall:: .endif .include <bsd.lib.mk> ${DESTDIR}${LIBDIR}/${LIB}.so: lib${LIB}.so.${SHLIB_FULLVERSION} ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${.ALLSRC} ${.TARGET} |