summaryrefslogtreecommitdiffstats
path: root/rules/openct.in
blob: 59654aeba87755768bccfe6592d9f273b3c1fcb5 (plain)
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
## SECTION=communication

menuconfig OPENCT
	tristate "openct                        "
	select LIBLTDL
	select LIBC_C
	select LIBC_DL
	select LIBC_PTHREAD	if OPENCT_PCSC
	select PCSC_LITE	if OPENCT_PCSC
	select LIBUSB		if OPENCT_USB
	select LIBUSB_COMPAT	if OPENCT_USB
	help
	  OpenCT implements drivers for many card terminals, smart card
	  readers, and usb crypto tokens. OpenCT can be used as CT-API or
	  PC/SC Ifdhandler driver, but also directly.

if OPENCT

config OPENCT_USB
	bool "USB Support"
	help
	  Add USB support.

config OPENCT_API
	bool "Use OpenCT API"
	default y
	help
	  Add support for OpenCT communication.

config OPENCT_PCSC
	bool "Use PCSC"
	default y
	select OPENCT_API
	help
	  Use PCSC as the control daemon.

config OPENCT_TOOLS
	bool "Install utilities"
	help
	  Install also utilities like 'openct-tool', 'ifdhandler',
	  'ifdproxy' and 'openct-control'.

config OPENCT_SYSTEMD_UNIT
	bool "install systemd unit"
	depends on SYSTEMD
	default y

endif