Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/bind/lib/plugins Makefile for plugins



details:   https://anonhg.NetBSD.org/src/rev/0d2d00421789
branches:  trunk
changeset: 363362:0d2d00421789
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 06 17:50:19 2022 +0000

description:
Makefile for plugins

diffstat:

 external/mpl/bind/lib/plugins/Makefile |  27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diffs (31 lines):

diff -r eccb05c0cea5 -r 0d2d00421789 external/mpl/bind/lib/plugins/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mpl/bind/lib/plugins/Makefile    Sun Mar 06 17:50:19 2022 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index