aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: c33cf95c76cb85852996cc0983157eee70548f58 (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
NULL =

pamlibdir = $(PAMMODULEDIR)
pamlib_LTLIBRARIES = pam_x2go.la

pam_x2go_la_SOURCES =						\
        auth-check-path.c auth-check-path.h			\
        pam-x2go.c						\
        pam-x2go-children.c					\
        $(NULL)

pam_x2go_la_LDFLAGS =						\
        -no-undefined						\
        -module							\
        -avoid-version						\
        $(COVERAGE_LDFLAGS)					\
        $(NULL)

pam_x2go_la_CFLAGS =						\
        -Wall -Werror						\
        -DAUTH_CHECK="\"$(libexecdir)/x2go-auth-check\""	\
        $(COVERAGE_CFLAGS)					\
        $(NULL)

pam_x2go_la_CPPFLAGS =						\
        -I$(top_srcdir)/include					\
        $(NULL)

pam_x2go_la_LIBADD =						\
	-lpam							\
        $(NULL)

pam_x2goincludedir = $(includedir)/security/
pam_x2goinclude_HEADERS =					\
        $(top_srcdir)/include/pam-x2go.h			\
        $(NULL)

libexec_PROGRAMS =						\
        x2go-auth-check						\
        $(NULL)

x2go_auth_check_SOURCES =					\
        x2go-auth-check.c					\
        $(NULL)

x2go_auth_check_CFLAGS =					\
        $(LIBSSH_CFLAGS)					\
        $(COVERAGE_CFLAGS)					\
        $(NULL)

x2go_auth_check_LDADD =						\
        $(LIBSSH_LIBS)						\
        $(NULL)

x2go_auth_check_LDFLAGS =					\
        $(COVERAGE_LDFLAGS)					\
        $(NULL)