aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: f5f33798df9ef4fe626dee16986f4c38e91aa109 (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
pamlibdir = $(PAMMODULEDIR)
pamlib_LTLIBRARIES = pam_x2go.la

pam_x2go_la_SOURCES = \
	auth-check-path.c auth-check-path.h

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

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

pkglibexec_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)