File: config.mk

package info (click to toggle)
vlock 2.2.2-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 452 kB
  • ctags: 342
  • sloc: ansic: 2,955; sh: 877; makefile: 232
file content (63 lines) | stat: -rw-r--r-- 1,379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# automatically generated by ./configure on Tue Jun 17 17:14:19 CEST 2008

### configuration options ###

# authentification method (pam or shadow)
AUTH_METHOD = pam
# also prompt for the root password in adition to the user's
ENABLE_ROOT_PASSWORD = yes
# enable plugins for vlock-main
ENABLE_PLUGINS = yes
# which plugins should be build
MODULES = all.so new.so nosysrq.so
# which scripts should be installed
SCRIPTS = 

# root's group
ROOT_GROUP = root

# group for privileged plugins
VLOCK_GROUP = root
# mode for privileged plugins
VLOCK_MODULE_MODE = 0750

### paths ###

# installation prefix
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
SBINDIR = $(PREFIX)/sbin
LIBDIR = $(PREFIX)/lib
MANDIR = $(PREFIX)/share/man
# installation root
DESTDIR =
# path where modules will be located
MODULEDIR = $(LIBDIR)/vlock/modules
# path where scripts will be located
SCRIPTDIR = $(LIBDIR)/vlock/scripts

### programs ###

# shell to run vlock.sh with (only bash is known to work)
BOURNE_SHELL = /bin/sh
# C compiler
CC = gcc
# linker
LD = ld
# mkdir
MKDIR_P = mkdir -p
# install
INSTALL = install

### compiler and linker settings ###

# C compiler flags
CFLAGS = -O2 -Wall -W -pedantic -std=gnu99
# linker flags
LDFLAGS = 
# linker flags needed for dlopen and friends
DL_LIB = -ldl
# linker flags needed for crypt
CRYPT_LIB = -lcrypt
# linker flags needed for pam
PAM_LIBS = -ldl -lpam