# $NetBSD: engines.mk,v 1.1.1.1 2023/04/18 14:19:03 christos Exp $ NOLINT= # don't build a lint library NOPROFILE= # don't build a profile library NOPICINSTALL= # don't install _pic.a library .include 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 ${DESTDIR}${LIBDIR}/${LIB}.so: lib${LIB}.so.${SHLIB_FULLVERSION} ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${.ALLSRC} ${.TARGET}