From 6ca6a4e2f83c343a614cd702dd9c8d9427e3972b Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 27 Jun 2023 22:46:23 +0200 Subject: [PATCH] confd: Restructure list of source files We were now at the point where it was completely impossible to see which files are actually built. Bring back some order, making future diffs easier to understand. --- src/confd/src/confd/Makefile.am | 35 +++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/src/confd/src/confd/Makefile.am b/src/confd/src/confd/Makefile.am index 892766fb..c13e22e7 100644 --- a/src/confd/src/confd/Makefile.am +++ b/src/confd/src/confd/Makefile.am @@ -4,10 +4,33 @@ AM_CPPFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE -DYANG plugindir = $(srpdplugindir) plugin_LTLIBRARIES = confd-plugin.la -confd_plugin_la_CFLAGS = $(augeas_CFLAGS) $(jansson_CFLAGS) $(libite_CFLAGS) $(sysrepo_CFLAGS) $(CFLAGS) -confd_plugin_la_LIBADD = $(augeas_LIBS) $(jansson_LIBS) $(libite_LIBS) $(sysrepo_LIBS) confd_plugin_la_LDFLAGS = -module -avoid-version -shared -confd_plugin_la_SOURCES = core.c core.h ../lib/helpers.c ../lib/helpers.h srx_val.c srx_val.h \ - ietf-system.c ietf-interfaces.c systemv.c systemv.h ../lib/lyx.c ../lib/lyx.h dagger.c dagger.h \ - infix-dhcp.c infix-factory.c ../lib/srx_module.c ../lib/srx_module.h \ - ../lib/common.h + +confd_plugin_la_CFLAGS = \ + $(augeas_CFLAGS) \ + $(jansson_CFLAGS) \ + $(libite_CFLAGS) \ + $(sysrepo_CFLAGS) \ + $(CFLAGS) + +confd_plugin_la_LIBADD = \ + $(augeas_LIBS) \ + $(jansson_LIBS) \ + $(libite_LIBS) \ + $(sysrepo_LIBS) + +confd_plugin_la_SOURCES = \ + ietf-interfaces.c \ + ietf-system.c \ + infix-dhcp.c \ + infix-factory.c \ + \ + ../lib/common.h \ + ../lib/helpers.c ../lib/helpers.h \ + ../lib/lyx.c ../lib/lyx.h \ + ../lib/srx_module.c ../lib/srx_module.h \ + \ + core.c core.h \ + dagger.c dagger.h \ + srx_val.c srx_val.h \ + systemv.c systemv.h