Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/npf link against /lib
details: https://anonhg.NetBSD.org/src/rev/019790561531
branches: trunk
changeset: 785421:019790561531
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 13 02:32:05 2013 +0000
description:
link against /lib
diffstat:
lib/npf/mod.mk | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 49f6359070ca -r 019790561531 lib/npf/mod.mk
--- a/lib/npf/mod.mk Wed Mar 13 00:36:52 2013 +0000
+++ b/lib/npf/mod.mk Wed Mar 13 02:32:05 2013 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: mod.mk,v 1.3 2013/03/12 20:02:40 christos Exp $
+# $NetBSD: mod.mk,v 1.4 2013/03/13 02:32:05 christos Exp $
.include <bsd.own.mk>
WARNS= 5
MKLINT= no
+USE_SHLIBDIR= yes
LIBISMODULE= yes
LIBROOTDIR= /lib
@@ -14,11 +15,11 @@
.if defined(MLIBDIR)
LIBDIR= ${LIBROOTDIR}/${MLIBDIR}/npf
-SHLIBDIR= ${LIBROOTDIR}/${MLIBDIR}/npf
+SHLIBDIR= ${LIBROOTDIR}/${MLIBDIR}
SHLIBINSTALLDIR=${LIBROOTDIR}/${MLIBDIR}/npf
.else
LIBDIR= ${LIBROOTDIR}/npf
-SHLIBDIR= ${LIBROOTDIR}/npf
+SHLIBDIR= ${LIBROOTDIR}
SHLIBINSTALLDIR=${LIBROOTDIR}/npf
.endif
@@ -26,3 +27,6 @@
SRCS= npf${MOD}.c
.include <bsd.lib.mk>
+
+foo:
+ echo ${SHLIBINSTALLDIR}
Home |
Main Index |
Thread Index |
Old Index