aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 701b9ff..e5b04b2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,4 +14,15 @@ pam_freerdp_la_LIBADD = \
-lpam
pam_freerdp_la_CFLAGS = \
- -Wall -Werror
+ -Wall -Werror \
+ -DAUTH_CHECK="\"$(pkglibexecdir)/freerdp-auth-check\""
+
+pkglibexec_PROGRAMS = \
+ freerdp-auth-check
+
+freerdp_auth_check_SOURCES = \
+ freerdp-auth-check.c
+freerdp_auth_check_CFLAGS = \
+ $(FREERDP_CFLAGS)
+freerdp_auth_check_LDADD = \
+ $(FREERDP_LIBS)