From c26c7886d17486a2441c9dd45645fa2ec29cdfe2 Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Thu, 6 Dec 2001 13:18:32 +0000 Subject: Introduce the variable USE_PAM_D, which, if set, will cause pam.d to be installed instead of pam.conf. This is for testing; the conditionals will be removed once we are confident that pam.d works as intended. Sponsored by: DARPA, NAI Labs --- etc/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.3