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

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

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

pam_x2go_la_LIBADD = \
	-lpam

libexec_PROGRAMS = \
	x2go-auth-check

x2go_auth_check_SOURCES = \
	x2go-auth-check.c
x2go_auth_check_CFLAGS = \
	$(LIBSSH_CFLAGS) \
	$(COVERAGE_CFLAGS)
x2go_auth_check_LDADD = \
	$(LIBSSH_LIBS)
x2go_auth_check_LDFLAGS = \
	$(COVERAGE_LDFLAGS)