aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 09:45:40 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 09:45:40 +0100
commit4b204339078eb55ba9309f1fd669b1792d6b43c6 (patch)
treeee1d4a016b24b92201ceada7c1b991a69d8e8af4 /Makefile
parentfix chmod and chown of tty device files (diff)
downloadlibpassphrase-4b204339078eb55ba9309f1fd669b1792d6b43c6.tar.gz
libpassphrase-4b204339078eb55ba9309f1fd669b1792d6b43c6.tar.bz2
libpassphrase-4b204339078eb55ba9309f1fd669b1792d6b43c6.tar.xz
add crypt auth module
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0518f5..8e112d5 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,8 @@ PATH = $(_LB):$(_UB):$(_SB)
PATH_ROOT = $(_LS):$(_LB):$(_US):$(_UB):$(_SS):$(_SB)
auth_none = 0
-auth_pam = 1
+auth_crypt = 1
+auth_pam = 2
H = \#
VCS_LEN = $(shell vcs="$(VCS)" ; echo "$${$(H)vcs}")
@@ -42,6 +43,9 @@ OPTIMISE = -Os
CPPFLAGS = $(EXTRA_CPP_FLAGS) $(STR_CPPFLAGS) $(VRB_CPPFLAGS)
CFLAGS = -std=gnu99 -Wall -Wextra
LDFLAGS =
+ifeq ($(AUTH),crypt)
+LDFLAGS += -lcrypt
+endif
ifeq ($(AUTH),pam)
LDFLAGS += -lpam
endif