2011-02-03 05:48:55 +05:30
|
|
|
ifeq (${MKPAM},pam)
|
2008-01-07 15:09:44 +05:30
|
|
|
LIBPAM?= -lpam
|
2008-06-20 04:42:00 +05:30
|
|
|
CPPFLAGS+= -DHAVE_PAM
|
2008-01-07 15:09:44 +05:30
|
|
|
LDADD+= ${LIBPAM}
|
2008-01-06 00:55:55 +05:30
|
|
|
|
2014-10-30 07:52:02 +05:30
|
|
|
ifeq (${MKSELINUX},yes)
|
|
|
|
# with selinux, pam_misc is needed too
|
|
|
|
LIBPAM_MISC?= -lpam_misc
|
|
|
|
LDADD+= ${LIBPAM_MISC}
|
|
|
|
endif
|
|
|
|
|
2008-01-07 15:09:44 +05:30
|
|
|
PAMDIR?= /etc/pam.d
|
|
|
|
PAMMODE?= 0644
|
2011-02-03 05:48:55 +05:30
|
|
|
else ifneq (${MKPAM},)
|
|
|
|
$(error if MKPAM is defined, it must be "pam")
|
|
|
|
endif
|