diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-22 09:45:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-22 09:45:40 +0100 |
commit | 4b204339078eb55ba9309f1fd669b1792d6b43c6 (patch) | |
tree | ee1d4a016b24b92201ceada7c1b991a69d8e8af4 /Makefile | |
parent | fix chmod and chown of tty device files (diff) | |
download | libpassphrase-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-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |