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