common: compile libhashtable as C++
[lttng-tools.git] / src / common / hashtable / Makefile.am
index 62e22c117036c6c9fb752893811025687624c6cf..b14254b34f051a5cf5c1289a64c400b36691efee 100644 (file)
@@ -1,13 +1,12 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
+# SPDX-License-Identifier: GPL-2.0-only
 
 noinst_LTLIBRARIES = libhashtable.la
 
-libhashtable_la_SOURCES = hashtable.c hashtable.h \
-                         utils.c utils.h \
-                         rculfhash-internal.h urcu-flavor.h \
-                         rculfhash.h rculfhash.c \
-                         rculfhash-mm-chunk.c \
-                         rculfhash-mm-mmap.c \
-                         rculfhash-mm-order.c
+libhashtable_la_SOURCES = \
+       hashtable.cpp \
+       hashtable.h \
+       hashtable-symbols.h \
+        utils.cpp \
+       utils.h
 
-libhashtable_la_LIBADD = -lurcu-common -lurcu
+libhashtable_la_LIBADD = $(URCU_LIBS) $(URCU_CDS_LIBS)
This page took 0.02478 seconds and 4 git commands to generate.