mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
Not all customers want Container support in their Ínfix builds. This patch adds build-time support for detecting if podman is enabled in the configuration. - Klish container commands have been broken out to their own xml file - infix-interfaces have been given a 'containers' feature - ietf-interfces.c enables 'containers' feature on an #ifdef - infix-container.c is only built if --enable-containers Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
AM_CPPFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE -DYANG_PATH_=\"$(YANGDIR)\"
|
|
CLEANFILES = $(rauc_installer_sources)
|
|
plugindir = $(srpdplugindir)
|
|
plugin_LTLIBRARIES = confd-plugin.la
|
|
|
|
confd_plugin_la_LDFLAGS = -module -avoid-version -shared
|
|
|
|
confd_plugin_la_CFLAGS = \
|
|
$(augeas_CFLAGS) \
|
|
$(glib_CFLAGS) \
|
|
$(jansson_CFLAGS) \
|
|
$(libite_CFLAGS) \
|
|
$(sysrepo_CFLAGS) \
|
|
$(libsrx_CFLAGS) \
|
|
$(CFLAGS)
|
|
|
|
confd_plugin_la_LIBADD = \
|
|
$(augeas_LIBS) \
|
|
$(glib_LIBS) \
|
|
$(jansson_LIBS) \
|
|
$(libite_LIBS) \
|
|
$(sysrepo_LIBS) \
|
|
$(libsrx_LIBS)
|
|
|
|
confd_plugin_la_SOURCES = \
|
|
core.c core.h \
|
|
dagger.c dagger.h \
|
|
ietf-interfaces.c \
|
|
ietf-system.c \
|
|
ietf-factory-default.c \
|
|
ietf-routing.c \
|
|
infix-dhcp.c \
|
|
infix-services.c \
|
|
infix-factory.c \
|
|
infix-system-software.c \
|
|
ietf-hardware.c
|
|
|
|
if CONTAINERS
|
|
confd_plugin_la_SOURCES += infix-containers.c
|
|
endif
|
|
|
|
rauc_installer_sources = \
|
|
rauc-installer.c rauc-installer.h
|
|
|
|
BUILT_SOURCES = $(rauc_installer_sources)
|
|
EXTRA_DIST = de.pengutronix.rauc.Installer.xml
|
|
|
|
$(rauc_installer_sources): de.pengutronix.rauc.Installer.xml
|
|
$(AM_V_GEN) gdbus-codegen \
|
|
--generate-c-code rauc-installer \
|
|
--c-generate-autocleanup all \
|
|
--c-namespace Rauc \
|
|
--interface-prefix de.pengutronix.rauc. \
|
|
$<
|
|
|
|
nodist_confd_plugin_la_SOURCES = $(rauc_installer_sources)
|