# $NetBSD: Makefile,v 1.4.4.2 2024/02/29 12:36:05 martin Exp $ LIBISMODULE:= yes LIB= filter-aaaa .include SHLIB_MAJOR=0 SRCS= filter-aaaa.c LIBDIR= /usr/lib/named DIST=${IDIST}/bin/plugins .PATH: ${DIST} .if !defined(MLIBDIR) && ${MKPIC} != "no" .PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} .else libinstall:: .endif .include ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: ${LIB}.so.${SHLIB_FULLVERSION} ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${.ALLSRC} ${.TARGET}