aboutsummaryrefslogtreecommitdiff
path: root/plugins/Makefile.am
blob: cf69e7ba944f53fae8943088f6469c8cb1aacc65 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
NULL =

pkglibdir = $(KA_PLUGINS_DIR)

if ENABLE_PAM_PLUGIN
  PAM_PLUGIN = libka-plugin-pam.la
else
  PAM_PLUGIN =
endif

pkglib_LTLIBRARIES = \
	libka-plugin-dummy.la \
	$(PAM_PLUGIN) \
	libka-plugin-afs.la \
	$(NULL)

# Dummy example plugin
libka_plugin_dummy_la_SOURCES = \
	ka-plugin-dummy.c \
	ka-plugin-dummy.h \
	$(NULL)

libka_plugin_dummy_la_CPPFLAGS = \
	$(GTK_CFLAGS)       \
	-I$(top_srcdir)/src \
	$(NULL)

libka_plugin_dummy_la_LDFLAGS = \
	-module \
	-avoid-version \
	$(NULL)

# PAM plugin
if ENABLE_PAM_PLUGIN
libka_plugin_pam_la_SOURCES = \
	ka-plugin-pam.c \
	ka-plugin-pam.h \
	$(NULL)

libka_plugin_pam_la_CPPFLAGS = \
	$(GTK_CFLAGS)       \
	-I$(top_srcdir)/src \
	$(NULL)

libka_plugin_pam_la_LDFLAGS = \
	-module \
	-avoid-version \
	$(PAM_LIBS) \
	$(NULL)
endif

# AFS plugin
libka_plugin_afs_la_SOURCES = \
	ka-plugin-afs.c \
	ka-plugin-afs.h \
	$(NULL)

libka_plugin_afs_la_CPPFLAGS = \
	$(GTK_CFLAGS)       \
	-I$(top_srcdir)/src \
	$(NULL)

libka_plugin_afs_la_LDFLAGS = \
	-module \
	-avoid-version \
	$(NULL)
bgstack15