openrc/mk/pam.mk

17 lines
307 B
Makefile
Raw Normal View History

ifeq (${MKPAM},pam)
2008-01-07 15:09:44 +05:30
LIBPAM?= -lpam
CPPFLAGS+= -DHAVE_PAM
2008-01-07 15:09:44 +05:30
LDADD+= ${LIBPAM}
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
else ifneq (${MKPAM},)
$(error if MKPAM is defined, it must be "pam")
endif