Debian Codegraph @

util_lib/Makefile

raw symbols SCIP
1 #
2 # Utility function library
3 #
4 UTIL_LIB_SRCS +=
5 UTIL_LIB_SRCS += util_lib/compute_ip_checksum.c
6 UTIL_LIB_SRCS += util_lib/elf_info.c
7 UTIL_LIB_SRCS += util_lib/sha256.c
8 UTIL_LIB_OBJS =$(call objify, $(UTIL_LIB_SRCS))
9 UTIL_LIB_DEPS =$(call depify, $(UTIL_LIB_OBJS))
10 UTIL_LIB = libutil.a
11
12 -include $(UTIL_LIB_DEPS)
13
14 dist += util_lib/Makefile $(UTIL_LIB_SRCS) \
15 util_lib/include/elf_info.h util_lib/include/sha256.h \
16 util_lib/include/ip_checksum.h
17 clean += $(UTIL_LIB_OBJS) $(UTIL_LIB_DEPS) $(UTIL_LIB)
18
19 $(UTIL_LIB): CPPFLAGS += -I$(srcdir)/util_lib/include
20
21 $(UTIL_LIB): $(UTIL_LIB_OBJS)
22 @$(MKDIR) -p $(@D)
23 $(AR) rs $(UTIL_LIB) $(UTIL_LIB_OBJS)
24