Module Name:    src
Committed By:   christos
Date:           Sun Mar  6 17:50:19 UTC 2022

Added Files:
        src/external/mpl/bind/lib/plugins: Makefile

Log Message:
Makefile for plugins


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mpl/bind/lib/plugins/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/mpl/bind/lib/plugins/Makefile
diff -u /dev/null src/external/mpl/bind/lib/plugins/Makefile:1.1
--- /dev/null	Sun Mar  6 12:50:19 2022
+++ src/external/mpl/bind/lib/plugins/Makefile	Sun Mar  6 12:50:19 2022
@@ -0,0 +1,27 @@
+#	$NetBSD: Makefile,v 1.1 2022/03/06 17:50:19 christos Exp $
+
+LIBISMODULE:=	yes
+.include <bsd.init.mk>
+
+SHLIB_MAJOR=0
+LIB=	filter-aaaa
+SRCS=	filter-aaaa.c
+LIBDIR=	/usr/lib/named
+
+DIST=${IDIST}/bin/plugins
+
+.PATH: ${DIST}
+
+.if ${MKPIC} != "no"
+.PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
+libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
+.else
+libinstall::
+.endif
+
+.include <bsd.lib.mk>
+
+${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: ${LIB}.so.${SHLIB_FULLVERSION}
+	${_MKTARGET_INSTALL}
+	${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+	    ${.ALLSRC} ${.TARGET}

Reply via email to