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

pamlibdir = $(PAMMODULEDIR)
pamlib_LTLIBRARIES = pam_freerdp.la

pam_freerdp_la_SOURCES = \
	pam-freerdp.c

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

pam_freerdp_la_LIBADD = \
	-lpam

pam_freerdp_la_CFLAGS = \
	-Wall -Werror \
	-DAUTH_CHECK="\"$(pkglibexecdir)/freerdp-auth-check\"" \
	$(COVERAGE_CFLAGS)

pkglibexec_PROGRAMS = \
	freerdp-auth-check

freerdp_auth_check_SOURCES = \
	freerdp-auth-check.c
freerdp_auth_check_CFLAGS = \
	$(FREERDP_CFLAGS) \
	$(COVERAGE_CFLAGS)
freerdp_auth_check_LDADD = \
	$(FREERDP_LIBS)
freerdp_auth_check_LDFLAGS = \
	$(COVERAGE_LDFLAGS)