summaryrefslogtreecommitdiff
path: root/lib/util/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-26 16:45:52 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-08 19:17:35 +0200
commit2087cc237cd0fe1ed29ebf891648bacb46f4833b (patch)
treeede4ba232bea36d8fc670ce360514927a2400bc7 /lib/util/Makemodule.am
parentaed35c78c6a51a4b4c37ebda5643d2246842fb74 (diff)
Cleanup: move libutil headers to sub directory
Move all the libutil stuff from the toplevel include/ to a util/ sub directory and fix up the includes that make use of them. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util/Makemodule.am')
-rw-r--r--lib/util/Makemodule.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am
index c66c786..01ffa31 100644
--- a/lib/util/Makemodule.am
+++ b/lib/util/Makemodule.am
@@ -1,11 +1,12 @@
-libutil_a_SOURCES = include/util.h include/str_table.h include/hash_table.h
+libutil_a_SOURCES = include/util/util.h include/util/str_table.h
+libutil_a_SOURCES += include/util/hash_table.h
libutil_a_SOURCES += lib/util/str_table.c lib/util/alloc.c
-libutil_a_SOURCES += lib/util/rbtree.c include/rbtree.h
-libutil_a_SOURCES += lib/util/array.c include/array.h
+libutil_a_SOURCES += lib/util/rbtree.c include/util/rbtree.h
+libutil_a_SOURCES += lib/util/array.c include/util/array.h
libutil_a_SOURCES += lib/util/xxhash.c lib/util/hash_table.c
libutil_a_SOURCES += lib/util/fast_urem_by_const.h
-libutil_a_SOURCES += include/threadpool.h
-libutil_a_SOURCES += include/w32threadwrap.h
+libutil_a_SOURCES += include/util/threadpool.h
+libutil_a_SOURCES += include/util/w32threadwrap.h
libutil_a_SOURCES += lib/util/threadpool_serial.c
libutil_a_SOURCES += lib/util/is_memory_zero.c
libutil_a_CFLAGS = $(AM_CFLAGS)
@@ -27,7 +28,7 @@ endif
endif
if CUSTOM_ALLOC
-libutil_a_SOURCES += lib/util/mempool.c include/mempool.h
+libutil_a_SOURCES += lib/util/mempool.c include/util/mempool.h
endif
noinst_LIBRARIES += libutil.a