diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:56:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:56:35 +0000 |
commit | eba0cfa6b0bef4f2e73c8630a7efa3944df8b0f8 (patch) | |
tree | 74c37eede1f0634cc5de1c63c934edaa1630c6bc /util_lib/Makefile | |
parent | Initial commit. (diff) | |
download | kexec-tools-eba0cfa6b0bef4f2e73c8630a7efa3944df8b0f8.tar.xz kexec-tools-eba0cfa6b0bef4f2e73c8630a7efa3944df8b0f8.zip |
Adding upstream version 1:2.0.27.upstream/1%2.0.27upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | util_lib/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/util_lib/Makefile b/util_lib/Makefile new file mode 100644 index 0000000..4a6213a --- /dev/null +++ b/util_lib/Makefile @@ -0,0 +1,24 @@ +# +# Utility function library +# +UTIL_LIB_SRCS += +UTIL_LIB_SRCS += util_lib/compute_ip_checksum.c +UTIL_LIB_SRCS += util_lib/elf_info.c +UTIL_LIB_SRCS += util_lib/sha256.c +UTIL_LIB_OBJS =$(call objify, $(UTIL_LIB_SRCS)) +UTIL_LIB_DEPS =$(call depify, $(UTIL_LIB_OBJS)) +UTIL_LIB = libutil.a + +-include $(UTIL_LIB_DEPS) + +dist += util_lib/Makefile $(UTIL_LIB_SRCS) \ + util_lib/include/elf_info.h util_lib/include/sha256.h \ + util_lib/include/ip_checksum.h +clean += $(UTIL_LIB_OBJS) $(UTIL_LIB_DEPS) $(UTIL_LIB) + +$(UTIL_LIB): CPPFLAGS += -I$(srcdir)/util_lib/include + +$(UTIL_LIB): $(UTIL_LIB_OBJS) + @$(MKDIR) -p $(@D) + $(AR) rs $(UTIL_LIB) $(UTIL_LIB_OBJS) + |