aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-05 17:31:32 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-05 17:31:32 +0200
commite415405912a5f8eab5378311114b491930f22a5e (patch)
treefcce1a2634a112676ca8e6a49d9831e1dd075181 /src
parentb3374120b17933c7afcd19103b28d676563f1f14 (diff)
downloadlibpam-freerdp2-e415405912a5f8eab5378311114b491930f22a5e.tar.gz
libpam-freerdp2-e415405912a5f8eab5378311114b491930f22a5e.tar.bz2
libpam-freerdp2-e415405912a5f8eab5378311114b491930f22a5e.zip
src/Makefile.am: Simplify slightly and tab'ify.
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)