mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
build: compile the c-rbtree library
This commit is contained in:
parent
51776b297e
commit
88072c6621
16
Makefile.am
16
Makefile.am
|
@ -1347,6 +1347,22 @@ shared_libcsiphash_la_SOURCES = \
|
|||
|
||||
###############################################################################
|
||||
|
||||
noinst_LTLIBRARIES += shared/libcrbtree.la
|
||||
|
||||
shared_libcrbtree_la_CFLAGS = $(AM_CFLAGS) -std=c11
|
||||
|
||||
shared_libcrbtree_la_CPPFLAGS = \
|
||||
$(CODE_COVERAGE_CFLAGS) \
|
||||
$(SANITIZER_LIB_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_libcrbtree_la_SOURCES = \
|
||||
shared/c-rbtree/src/c-rbtree.c \
|
||||
shared/c-rbtree/src/c-rbtree.h \
|
||||
shared/c-rbtree/src/c-rbtree-private.h
|
||||
|
||||
###############################################################################
|
||||
|
||||
noinst_LTLIBRARIES += shared/libnacd.la
|
||||
|
||||
shared_libnacd_la_CFLAGS = -std=gnu99
|
||||
|
|
|
@ -10,6 +10,19 @@ shared_c_siphash_dep = declare_dependency(
|
|||
link_with: shared_c_siphash,
|
||||
)
|
||||
|
||||
shared_c_rbtree = static_library(
|
||||
'c-rbtree',
|
||||
c_args: '-std=c11',
|
||||
sources: files('c-rbtree/src/c-rbtree.c',
|
||||
'c-rbtree/src/c-rbtree.h',
|
||||
'c-rbtree/src/c-rbtree-private.h'),
|
||||
)
|
||||
|
||||
shared_c_rbtree_dep = declare_dependency(
|
||||
include_directories: shared_inc,
|
||||
link_with: shared_c_rbtree,
|
||||
)
|
||||
|
||||
shared_n_acd = static_library(
|
||||
'n-acd',
|
||||
sources: 'n-acd/src/n-acd.c',
|
||||
|
|
Loading…
Reference in a new issue