summaryrefslogtreecommitdiff
path: root/lib/libpam/staticmodules
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2010-05-03 22:12:32 +0000
committerchristos <christos@NetBSD.org>2010-05-03 22:12:32 +0000
commitbbde328be4e75ea9ad02e9715ea13ca54b797ada (patch)
tree2faab2a44792780755fb8e670592fcea80ac9600 /lib/libpam/staticmodules
parent38f01942b4a342fc25aa06f94e68e0c9b488215f (diff)
Build the modules in two phases:
1. build the static modules first, before libpam so that the static libpam can link against the module .a files. 2. build the modules after the dynamic libpam is build, so that the dynamic modules can link against the dynamic libpam.
Diffstat (limited to 'lib/libpam/staticmodules')
-rw-r--r--lib/libpam/staticmodules/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libpam/staticmodules/Makefile b/lib/libpam/staticmodules/Makefile
new file mode 100644
index 00000000000..982bad9cf15
--- /dev/null
+++ b/lib/libpam/staticmodules/Makefile
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile,v 1.1 2010/05/03 22:12:32 christos Exp $
+
+MAKEDIRTARGETENV=MKPIC=no
+.include <bsd.own.mk>
+
+SUBDIR=${.CURDIR}/../modules
+
+.include <bsd.subdir.mk>