aboutsummaryrefslogtreecommitdiff
path: root/lib/libuvmem/Makefile
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-12-21 17:41:34 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-12-02 03:41:13 +0000
commit1ecf01065b45018de3901c8bf89d703af737feeb (patch)
treebbdedb5898d40eb143c2bc620144e990ceeaa4a9 /lib/libuvmem/Makefile
parent305e33d4c6edd735590909161ff0847e73e68b66 (diff)
libuvmem: usermode port of vmem(9)
The quantum cache is disabled, there is no uma. Intent is to use this for resource allocation in bhyve(8), for start. Addition of -luvmem to bhyve linking was done to test changes to share/mk. Reviewed by: bnovkov, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27220
Diffstat (limited to 'lib/libuvmem/Makefile')
-rw-r--r--lib/libuvmem/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libuvmem/Makefile b/lib/libuvmem/Makefile
new file mode 100644
index 000000000000..9d13eabd277c
--- /dev/null
+++ b/lib/libuvmem/Makefile
@@ -0,0 +1,17 @@
+PACKAGE= runtime
+
+LIB= uvmem
+SRCS= subr_vmem.c
+
+SHLIB_MAJOR= 1
+LIBADD+= pthread
+CFLAGS.clang+=-Wno-thread-safety-analysis
+
+SYMBOL_MAPS= ${.CURDIR}/Symbol.map
+VERSION_DEF= ${SRCTOP}/lib/libc/Versions.def
+
+.include <src.opts.mk>
+
+.PATH: ${SRCTOP}/sys/kern
+
+.include <bsd.lib.mk>