aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-06-11 23:11:25 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-06-11 23:11:25 +0300
commitcb6aa7dd9703eb3dba275905f98de682b57d3a78 (patch)
tree4b2b6ff65c148c5e9fe035e621496fcb2302dfb8 /lib/Makefile
parentMake code ANSI C compatible (diff)
downloadkernel-cb6aa7dd9703eb3dba275905f98de682b57d3a78.tar.xz
Rework leaf makefiles to be included from top-level
- remove Makefile.all
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/Makefile b/lib/Makefile
deleted file mode 100644
index 0494a85..0000000
--- a/lib/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-include ../Makefile.config
-
-# minimal C standard library
-TARGETLIB += libk
-libk.SRCS = \
- libk/endian/little.c \
- libk/stdio/printf.c libk/stdio/fprintf.c libk/stdio/vfprintf.cpp \
- libk/stdlib/memcpy.c libk/stdlib/memset.c libk/stdlib/linked_list_allocator.c \
- libk/string/itoa.c
-
-HOSTTARGETBIN += libk/endian/test_endian_little
-libk/endian/test_endian_little.SRCS = libk/endian/test_endian_little.cc
-
-HOSTTARGETBIN += libk/stdlib/test_linked_list_allocator
-libk/stdlib/test_linked_list_allocator.SRCS = libk/stdlib/test_linked_list_allocator.cc
-
-HOSTTARGETBIN += libk/stdlib/test_mem
-libk/stdlib/test_mem.SRCS = libk/stdlib/test_mem.cc
-
-HOSTTARGETBIN += libk/string/test_string
-libk/string/test_string.SRCS = libk/string/test_string.cc
-
-TESTS += \
- libk/endian/test_endian_little \
- libk/stdlib/test_linked_list_allocator libk/stdlib/test_mem \
- libk/string/test_string
-
-# blake2s hash algorithm
-TARGETLIB += blake2
-blake2.SRCS = blake2/blake2s.c
-
-HOSTTARGETBIN += blake2/test_blake2s_selftest
-blake2/test_blake2s_selftest.SRCS = blake2/test_blake2s_selftest.cc
-
-TESTS += blake2/test_blake2s_selftest
-
-include ../rules.mk
-