Home | History | Annotate | Line # | Download | only in plugins
Makefile revision 1.4.4.2
      1 #	$NetBSD: Makefile,v 1.4.4.2 2024/02/29 12:36:05 martin Exp $
      2 
      3 LIBISMODULE:=	yes
      4 LIB=	filter-aaaa
      5 
      6 .include <bsd.init.mk>
      7 
      8 SHLIB_MAJOR=0
      9 SRCS=	filter-aaaa.c
     10 LIBDIR=	/usr/lib/named
     11 
     12 DIST=${IDIST}/bin/plugins
     13 
     14 .PATH: ${DIST}
     15 
     16 .if !defined(MLIBDIR) && ${MKPIC} != "no"
     17 .PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
     18 libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
     19 .else
     20 libinstall::
     21 .endif
     22 
     23 .include <bsd.lib.mk>
     24 
     25 ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: ${LIB}.so.${SHLIB_FULLVERSION}
     26 	${_MKTARGET_INSTALL}
     27 	${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
     28 	    ${.ALLSRC} ${.TARGET}
     29