summaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index bdec982e0308..fea950b3aedb 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -11,7 +11,7 @@ BIN1= amd.map apmd.conf auth.conf \
hosts hosts.allow hosts.equiv hosts.lpd \
inetd.conf login.access login.conf \
motd modems netconfig networks newsyslog.conf \
- pam.conf phones printcap profile protocols \
+ phones printcap profile protocols \
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
rc.syscons rc.sysctl remote rpc security services shells sysctl.conf \
@@ -23,6 +23,10 @@ BIN1= amd.map apmd.conf auth.conf \
${.CURDIR}/../usr.bin/mail/misc/mail.rc \
${.CURDIR}/../usr.bin/locate/locate/locate.rc
+.if !defined(USE_PAM_D)
+BIN1+= pam.conf
+.endif
+
.if !defined(NO_I4B)
BIN1+= rc.isdn
.endif
@@ -79,6 +83,9 @@ distribution:
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; )
+.if defined(USE_PAM_D)
+ ( cd ${.CURDIR}/pam.d; ${MAKE} install )
+.endif
.if !defined(NO_I4B)
( cd ${.CURDIR}/isdn; ${MAKE} install )
.endif