From 5b58804662e795411c5223a737b36318fecdfc8d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 7 May 2018 16:39:56 +0200 Subject: Makefile.am: Re-layout format. --- src/Makefile.am | 117 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 69 insertions(+), 48 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 823efdd..6270105 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,27 +1,36 @@ -pkglibexec_PROGRAMS = \ - remote-logon-service +NULL = -EXTRA_DIST = \ - org.ArcticaProject.RemoteLogon.xml +pkglibexec_PROGRAMS = \ + remote-logon-service \ + $(NULL) -noinst_LTLIBRARIES = \ - libservers.la \ - libgenerated.la +EXTRA_DIST = \ + org.ArcticaProject.RemoteLogon.xml \ + $(NULL) + +noinst_LTLIBRARIES = \ + libservers.la \ + libgenerated.la \ + $(NULL) ################################ # libgenerated ################################ -libgenerated_la_SOURCES = \ - remote-logon.c \ - remote-logon.h -libgenerated_la_CFLAGS = \ - $(SERVICE_CFLAGS) +libgenerated_la_SOURCES = \ + remote-logon.c \ + remote-logon.h \ + $(NULL) + +libgenerated_la_CFLAGS = \ + $(SERVICE_CFLAGS) \ + $(NULL) + $(libgenerated_la_SOURCES): org.ArcticaProject.RemoteLogon.xml - gdbus-codegen \ - --interface-prefix org.ArcticaProject \ - --generate-c remote-logon \ - $^ + gdbus-codegen \ + --interface-prefix org.ArcticaProject \ + --generate-c remote-logon \ + $^ BUILT_SOURCES = $(libgenerated_la_SOURCES) CLEANFILES = $(BUILT_SOURCES) @@ -30,40 +39,52 @@ CLEANFILES = $(BUILT_SOURCES) # libservers ################################ -libservers_la_SOURCES = \ - citrix-server.c \ - citrix-server.h \ - rdp-server.c \ - rdp-server.h \ - x2go-server.c \ - x2go-server.h \ - uccs-server.c \ - uccs-server.h \ - defines.h \ - server.c \ - server.h \ - crypt.c \ - crypt.h -libservers_la_CFLAGS = \ - -DUCCS_QUERY_TOOL="\"remote-logon-config-agent\"" \ - $(SERVICE_CFLAGS) \ - $(COVERAGE_CFLAGS) -libservers_la_LDFLAGS = \ - $(COVERAGE_LDFLAGS) $(GCRYPT_LIBS) -lm +libservers_la_SOURCES = \ + citrix-server.c \ + citrix-server.h \ + rdp-server.c \ + rdp-server.h \ + x2go-server.c \ + x2go-server.h \ + uccs-server.c \ + uccs-server.h \ + defines.h \ + server.c \ + server.h \ + crypt.c \ + crypt.h \ + $(NULL) + +libservers_la_CFLAGS = \ + -DUCCS_QUERY_TOOL="\"remote-logon-config-agent\"" \ + $(SERVICE_CFLAGS) \ + $(COVERAGE_CFLAGS) \ + $(NULL) + +libservers_la_LDFLAGS = \ + $(COVERAGE_LDFLAGS) $(GCRYPT_LIBS) -lm \ + $(NULL) ################################ # remote-logon-service ################################ -remote_logon_service_CFLAGS = \ - -DDEFAULT_CONFIG_FILE="\"$(sysconfdir)/remote-logon-service.conf\"" \ - $(SERVICE_CFLAGS) \ - $(COVERAGE_CFLAGS) -remote_logon_service_LDADD = \ - $(builddir)/libservers.la \ - $(builddir)/libgenerated.la \ - $(SERVICE_LIBS) -remote_logon_service_LDFLAGS = \ - $(COVERAGE_LDFLAGS) -remote_logon_service_SOURCES = \ - main.c +remote_logon_service_CFLAGS = \ + -DDEFAULT_CONFIG_FILE="\"$(sysconfdir)/remote-logon-service.conf\"" \ + $(SERVICE_CFLAGS) \ + $(COVERAGE_CFLAGS) \ + $(NULL) + +remote_logon_service_LDADD = \ + $(builddir)/libservers.la \ + $(builddir)/libgenerated.la \ + $(SERVICE_LIBS) \ + $(NULL) + +remote_logon_service_LDFLAGS = \ + $(COVERAGE_LDFLAGS) \ + $(NULL) + +remote_logon_service_SOURCES = \ + main.c \ + $(NULL) -- cgit v1.2.3