aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am81
1 files changed, 40 insertions, 41 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4950ea9..f1c7cde 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,59 +4,58 @@ pamlibdir = $(PAMMODULEDIR)
pamlib_LTLIBRARIES = pam_freerdp2.la
pam_freerdp2_la_SOURCES = \
- auth-check-path.c auth-check-path.h
+ auth-check-path.c auth-check-path.h \
+ pam-freerdp2.c \
+ pam-freerdp2-children.c \
+ $(NULL)
-pam_freerdp2_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version \
- $(COVERAGE_LDFLAGS)
+pam_freerdp2_la_LDFLAGS = \
+ -no-undefined \
+ -module \
+ -avoid-version \
+ $(COVERAGE_LDFLAGS) \
+ $(NULL)
-pam_freerdp2_la_CFLAGS = \
- -Wall -Werror \
- -DAUTH_CHECK="\"$(pkglibexecdir)/freerdp2-auth-check\"" \
- $(COVERAGE_CFLAGS)
+pam_freerdp2_la_CFLAGS = \
+ -Wall -Werror \
+ -DAUTH_CHECK="\"$(pkglibexecdir)/freerdp2-auth-check\"" \
+ $(COVERAGE_CFLAGS) \
+ $(NULL)
+
+pam_freerdp2_la_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ $(NULL)
pam_freerdp2_la_LIBADD = \
- $(builddir)/libfreerdp2core.la
+ -lpam \
+ $(NULL)
pam_freerdp2includedir = $(includedir)/security/
pam_freerdp2include_HEADERS = \
$(top_srcdir)/include/pam-freerdp2.h \
$(NULL)
-noinst_LTLIBRARIES = \
- libfreerdp2core.la
-
-libfreerdp2core_la_SOURCES = \
- pam-freerdp2.c \
- pam-freerdp2-children.c
-libfreerdp2core_la_CFLAGS = \
- -Wall -Werror \
- $(COVERAGE_CFLAGS)
-libfreerdp2core_la_LIBADD = \
- -lpam
-libfreerdp2core_la_CPPFLAGS = \
- -I$(top_srcdir)/include \
+pkglibexec_PROGRAMS = \
+ freerdp2-auth-check \
$(NULL)
-libfreerdp2core_la_LDFLAGS = \
- $(COVERAGE_LDFLAGS)
+freerdp2_auth_check_SOURCES = \
+ freerdp2-auth-check.c \
+ $(NULL)
+freerdp2_auth_check_CFLAGS = \
+ $(FREERDP2_CFLAGS) \
+ $(WINPR2_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ $(NULL)
-pkglibexec_PROGRAMS = \
- freerdp2-auth-check
+freerdp2_auth_check_LDADD = \
+ $(FREERDP2_LIBS) \
+ $(WINPR2_LIBS) \
+ $(NULL)
-freerdp2_auth_check_SOURCES = \
- freerdp2-auth-check.c
-freerdp2_auth_check_CFLAGS = \
- $(FREERDP2_CFLAGS) \
- $(WINPR2_CFLAGS) \
- $(COVERAGE_CFLAGS)
-freerdp2_auth_check_LDADD = \
- $(FREERDP2_LIBS) \
- $(WINPR2_LIBS)
-freerdp2_auth_check_LDFLAGS = \
- $(FREERDP2_LDFLAGS) \
- $(WINPR2_LDFLAGS) \
- $(COVERAGE_LDFLAGS)
+freerdp2_auth_check_LDFLAGS = \
+ $(FREERDP2_LDFLAGS) \
+ $(WINPR2_LDFLAGS) \
+ $(COVERAGE_LDFLAGS) \
+ $(NULL)