summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-04-06 16:57:26 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-04-18 15:22:16 +0200
commit29a04f54a6c06545d2fdcc8821fa161085f453c1 (patch)
treec75586d460441809f923ace1d7615a20e9cd835f /Makefile.am
parent19876b4cfed86f79c43ba8d6e57f6383deb43e6f (diff)
downloadNetworkManager-29a04f54a6c06545d2fdcc8821fa161085f453c1.tar.gz
build: autotools: link NM against n-acd
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3242157116..bbfd1d56b1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1210,6 +1210,28 @@ noinst_LTLIBRARIES += \
###############################################################################
+shared_libcsiphash_la_CPPFLAGS = $(src_cppflags)
+shared_libcsiphash_la_SOURCES = \
+ shared/c-siphash/src/c-siphash.c \
+ shared/c-siphash/src/c-siphash.h
+
+shared_libnacd_la_CFLAGS = -std=gnu99
+shared_libnacd_la_CPPFLAGS = \
+ $(src_cppflags) \
+ -I $(srcdir)/shared/c-list/src \
+ -I $(srcdir)/shared/c-siphash/src
+shared_libnacd_la_SOURCES = \
+ shared/n-acd/src/n-acd.c \
+ shared/n-acd/src/n-acd.h
+
+noinst_LTLIBRARIES += \
+ shared/libcsiphash.la \
+ shared/libnacd.la
+
+EXTRA_DIST += shared/c-list/src/c-list.h
+
+###############################################################################
+
src_libsystemd_nm_la_cppflags = \
-I$(srcdir)/shared \
-I$(builddir)/shared \
@@ -1636,6 +1658,8 @@ src_libNetworkManager_la_SOURCES = \
src_libNetworkManager_la_LIBADD = \
src/libNetworkManagerBase.la \
src/libsystemd-nm.la \
+ shared/libcsiphash.la \
+ shared/libnacd.la \
$(GLIB_LIBS) \
$(LIBUDEV_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \