Move headers under include/
[lttng-modules.git] / lib / Kbuild
index aee52a2f270a49948b58cc8b9fdc4ef076060564..c03ac4e360925ff8d4b288d9a1a8921b1410f62b 100644 (file)
@@ -1,6 +1,10 @@
-MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))
+# SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
 
-include $(MAKEFILEDIR)/../Makefile.ABI.workarounds
+TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/..
+
+include $(TOP_LTTNG_MODULES_DIR)/Kbuild.common
+
+ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)/include
 
 obj-$(CONFIG_LTTNG) += lttng-lib-ring-buffer.o
 
@@ -11,7 +15,6 @@ lttng-lib-ring-buffer-objs := \
   ringbuffer/ring_buffer_vfs.o \
   ringbuffer/ring_buffer_splice.o \
   ringbuffer/ring_buffer_mmap.o \
-  prio_heap/lttng_prio_heap.o \
-  ../wrapper/splice.o
+  prio_heap/lttng_prio_heap.o
 
 # vim:syntax=make
This page took 0.023702 seconds and 4 git commands to generate.