db6d680765
This allows error checking inside the included files instead of either including the appropriate file or a blank file. Also the blank file named .mk gets removed by this change.
11 lines
188 B
Makefile
11 lines
188 B
Makefile
ifeq (${MKPAM},pam)
|
|
LIBPAM?= -lpam
|
|
CPPFLAGS+= -DHAVE_PAM
|
|
LDADD+= ${LIBPAM}
|
|
|
|
PAMDIR?= /etc/pam.d
|
|
PAMMODE?= 0644
|
|
else ifneq (${MKPAM},)
|
|
$(error if MKPAM is defined, it must be "pam")
|
|
endif
|