1 ### configuration options ###
3 # operating system, determines some defaults
4 UNAME
:= $(shell uname
)
5 # authentification method (pam or shadow)
7 # use pam for permission checking
9 # also prompt for the root password in adition to the user's
11 # enable plugins for vlock-main
13 # which plugins should be build, default is architecture dependent
16 # which scripts should be installed
19 # root's group, default is architecture dependent
22 # group to install vlock-main with
23 VLOCK_GROUP
= $(ROOT_GROUP
)
24 # mode to install privileged plugins with
25 VLOCK_MODULE_MODE
= 0750
33 # path where modules will be located
34 VLOCK_MODULE_DIR
= $(PREFIX
)/lib
/vlock
/modules
35 # path where scripts will be located
36 VLOCK_SCRIPT_DIR
= $(PREFIX
)/lib
/vlock
/scripts
40 # shell to run vlock.sh with (only bash is known to work)
41 BOURNE_SHELL
= /bin
/sh
51 ### compiler and linker settings ###
55 CFLAGS
= -O2
-Wall
-W
-pedantic
-std
=gnu99
57 CFLAGS
= -g
-O0
-Wall
-W
-pedantic
-std
=gnu99
61 # linker flags needed for dlopen and friends, default is system dependend
63 # linker flags needed for crypt
65 # linker flags needed for pam
66 PAM_LIBS
= $(DL_LIB
) -lpam