diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2011-02-02 18:18:55 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2011-02-04 22:30:30 -0600 |
commit | db6d680765b4b9a4d404f6b2e6d5644b2fe3418d (patch) | |
tree | 21986fb2b800f6dc0ddab04dc982b827d3a74e4e /mk/pam.mk | |
parent | a2e9cde737ede93502a80fe50e62b0aea50643dc (diff) |
rework pam, ncurses and termcap include files
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.
Diffstat (limited to 'mk/pam.mk')
-rw-r--r-- | mk/pam.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ +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 |