summaryrefslogtreecommitdiff
path: root/pam-ck-connector/Makefile.am
blob: 9d3263936a4ccc2a417a1d70e24769fe7d961398 (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
NULL =

if ENABLE_PAM_MODULE

INCLUDES = 					\
	$(LIBDBUS_CFLAGS)			\
	-I$(top_builddir)/libck-connector	\
	$(NULL)

pamlibdir = $(PAM_MODULE_DIR)
pamlib_LTLIBRARIES = 				\
	pam_ck_connector.la			\
	$(NULL)

pam_ck_connector_la_SOURCES = pam-ck-connector.c
pam_ck_connector_la_LDFLAGS = -no-undefined -module -avoid-version
pam_ck_connector_la_LIBADD =  			\
	$(PAM_LIBS)				\
	$(LIBDBUS_LIBS)				\
	$(top_builddir)/libck-connector/libck-connector.la	\
	$(NULL)

man_MANS = pam_ck_connector.8

if CK_COMPILE_LINUX
noinst_PROGRAMS = 				\
	test-pam				\
	$(NULL)

test_pam_SOURCES = 				\
	test-pam.c 				\
	$(NULL)

test_pam_LDADD =				\
	$(PAM_LIBS)				\
	-lpam_misc				\
	$(NULL)
endif

endif

MAINTAINERCLEANFILES =				\
	*~					\
	Makefile.in				\
	$(NULL)

EXTRA_DIST =                                    \
       pam_ck_connector.8                       \
       $(NULL)

clean-local :
	rm -f *~