aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am12
-rw-r--r--src/pam-freerdp.c2
2 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4eb3aa0..efc3adc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
pamlibdir = $(PAMMODULEDIR)
pamlib_LTLIBRARIES = pam_freerdp2.la
@@ -18,6 +20,11 @@ pam_freerdp2_la_CFLAGS = \
pam_freerdp2_la_LIBADD = \
$(builddir)/libfreerdp2core.la
+pam_freerdp2includedir = $(includedir)/security/
+pam_freerdp2include_HEADERS = \
+ $(top_srcdir)/include/pam-freerdp2.h \
+ $(NULL)
+
noinst_LTLIBRARIES = \
libfreerdp2core.la
@@ -29,9 +36,14 @@ libfreerdp2core_la_CFLAGS = \
$(COVERAGE_CFLAGS)
libfreerdp2core_la_LIBADD = \
-lpam
+libfreerdp2core_la_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ $(NULL)
libfreerdp2core_la_LDFLAGS = \
$(COVERAGE_LDFLAGS)
+
+
pkglibexec_PROGRAMS = \
freerdp2-auth-check
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 908c54d..e331732 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -36,6 +36,8 @@
#include <security/pam_modutil.h>
#include <security/pam_appl.h>
+#include "pam-freerdp2.h"
+
#include "pam-freerdp-children.h"
#include "auth-check-path.h"