link against /lib
This commit is contained in:
parent
64f321a684
commit
a892d1d365
|
@ -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 @@ LIBROOTDIR= /lib
|
|||
|
||||
.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 @@ LIB= ${MOD}
|
|||
SRCS= npf${MOD}.c
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
foo:
|
||||
echo ${SHLIBINSTALLDIR}
|
||||
|
|
Loading…
Reference in New Issue