From f77fe62a5c25c43915dfb33a3c948dd282efd366 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 4 May 2018 15:22:19 +0200 Subject: Re-layout Makefile.am files. --- src/Makefile.am | 88 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 38 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 49d5639..c33cf95 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,43 +3,55 @@ NULL = pamlibdir = $(PAMMODULEDIR) pamlib_LTLIBRARIES = pam_x2go.la -pam_x2go_la_SOURCES = \ - auth-check-path.c auth-check-path.h \ - pam-x2go.c \ - pam-x2go-children.c - -pam_x2go_la_LDFLAGS = \ - -no-undefined \ - -module \ - -avoid-version \ - $(COVERAGE_LDFLAGS) - -pam_x2go_la_CFLAGS = \ - -Wall -Werror \ - -DAUTH_CHECK="\"$(libexecdir)/x2go-auth-check\"" \ - $(COVERAGE_CFLAGS) - -pam_x2go_la_CPPFLAGS = \ - -I$(top_srcdir)/include \ - $(NULL) - -pam_x2go_la_LIBADD = \ - -lpam +pam_x2go_la_SOURCES = \ + auth-check-path.c auth-check-path.h \ + pam-x2go.c \ + pam-x2go-children.c \ + $(NULL) + +pam_x2go_la_LDFLAGS = \ + -no-undefined \ + -module \ + -avoid-version \ + $(COVERAGE_LDFLAGS) \ + $(NULL) + +pam_x2go_la_CFLAGS = \ + -Wall -Werror \ + -DAUTH_CHECK="\"$(libexecdir)/x2go-auth-check\"" \ + $(COVERAGE_CFLAGS) \ + $(NULL) + +pam_x2go_la_CPPFLAGS = \ + -I$(top_srcdir)/include \ + $(NULL) + +pam_x2go_la_LIBADD = \ + -lpam \ + $(NULL) pam_x2goincludedir = $(includedir)/security/ -pam_x2goinclude_HEADERS = \ - $(top_srcdir)/include/pam-x2go.h \ - $(NULL) - -libexec_PROGRAMS = \ - x2go-auth-check - -x2go_auth_check_SOURCES = \ - x2go-auth-check.c -x2go_auth_check_CFLAGS = \ - $(LIBSSH_CFLAGS) \ - $(COVERAGE_CFLAGS) -x2go_auth_check_LDADD = \ - $(LIBSSH_LIBS) -x2go_auth_check_LDFLAGS = \ - $(COVERAGE_LDFLAGS) +pam_x2goinclude_HEADERS = \ + $(top_srcdir)/include/pam-x2go.h \ + $(NULL) + +libexec_PROGRAMS = \ + x2go-auth-check \ + $(NULL) + +x2go_auth_check_SOURCES = \ + x2go-auth-check.c \ + $(NULL) + +x2go_auth_check_CFLAGS = \ + $(LIBSSH_CFLAGS) \ + $(COVERAGE_CFLAGS) \ + $(NULL) + +x2go_auth_check_LDADD = \ + $(LIBSSH_LIBS) \ + $(NULL) + +x2go_auth_check_LDFLAGS = \ + $(COVERAGE_LDFLAGS) \ + $(NULL) -- cgit v1.2.3