From 2c02f3a8cfe3616a1469ac9949833deecfea4698 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 15 Jun 2016 16:00:42 +0200 Subject: [PATCH] shared/tests: build "nm-utils/nm-vpn-plugin-utils.c" For testing, add a build target to build those files too. --- libnm/tests/Makefile.am | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/libnm/tests/Makefile.am b/libnm/tests/Makefile.am index d2944c4cad..1c65f72340 100644 --- a/libnm/tests/Makefile.am +++ b/libnm/tests/Makefile.am @@ -39,3 +39,27 @@ test_secret_agent_SOURCES = \ $(top_builddir)/shared/nm-test-libnm-utils.h \ test-secret-agent.c endif + +############################################################################### + +noinst_LTLIBRARIES = \ + libnm-vpn-plugin-utils-test.la + +libnm_vpn_plugin_utils_test_la_SOURCES = \ + $(top_srcdir)/shared/nm-utils/nm-vpn-plugin-utils.c \ + $(top_srcdir)/shared/nm-utils/nm-vpn-plugin-utils.h \ + $(NULL) + +libnm_vpn_plugin_utils_test_la_CFLAGS = \ + $(GLIB_CFLAGS) \ + -I$(top_srcdir)/shared \ + -I$(top_srcdir)/libnm-core \ + -I$(top_srcdir)/libnm \ + $(NULL) + +libnm_vpn_plugin_utils_test_la_LIBADD = \ + $(GLIB_LIBS) \ + $(NULL) + +############################################################################### +