lib_LTLIBRARIES += libvppinfra.la
+BUILT_SOURCES += vppinfra/config.h
+
+vppinfra/config.h:
+ @echo "/** Autogenerated by Autotools **/" > $@
+ @echo "#ifndef included_clib_config_h" >> $@
+ @echo "#define included_clib_config_h" >> $@
+ @echo "#ifndef CLIB_LOG2_CACHE_LINE_BYTES " >> $@
+ @echo "#define CLIB_LOG2_CACHE_LINE_BYTES " @LOG2_CACHE_LINE_BYTES@ >> $@
+ @echo "#endif " >> $@
+ @echo "#endif " >> $@
+
TESTS =
if ENABLE_TESTS
test_longjmp \
test_macros \
test_maplog \
- test_md5 \
test_mheap \
test_pool_iterate \
test_ptclosure \
test_slist \
test_socket \
test_time \
+ test_time_range \
test_timing_wheel \
test_tw_timer \
test_valloc \
test_longjmp_SOURCES = vppinfra/test_longjmp.c
test_macros_SOURCES = vppinfra/test_macros.c
test_maplog_SOURCES = vppinfra/test_maplog.c
-test_md5_SOURCES = vppinfra/test_md5.c
test_mheap_SOURCES = vppinfra/test_mheap.c
test_pool_iterate_SOURCES = vppinfra/test_pool_iterate.c
test_ptclosure_SOURCES = vppinfra/test_ptclosure.c
test_slist_SOURCES = vppinfra/test_slist.c
test_socket_SOURCES = vppinfra/test_socket.c
test_time_SOURCES = vppinfra/test_time.c
+test_time_range_SOURCES = vppinfra/test_time_range.c
test_timing_wheel_SOURCES = vppinfra/test_timing_wheel.c
test_tw_timer_SOURCES = vppinfra/test_tw_timer.c
test_valloc_SOURCES = vppinfra/test_valloc.c
test_longjmp_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
test_macros_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
test_maplog_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
-test_md5_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
test_mheap_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
test_pool_iterate_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
test_ptclosure_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG
test_longjmp_LDADD = libvppinfra.la
test_macros_LDADD = libvppinfra.la
test_maplog_LDADD = libvppinfra.la
-test_md5_LDADD = libvppinfra.la
test_mheap_LDADD = libvppinfra.la
test_pool_iterate_LDADD = libvppinfra.la
test_ptclosure_LDADD = libvppinfra.la
test_slist_LDADD = libvppinfra.la
test_socket_LDADD = libvppinfra.la
test_time_LDADD = libvppinfra.la -lm
+test_time_range_LDADD = libvppinfra.la -lm
test_timing_wheel_LDADD = libvppinfra.la -lm
test_tw_timer_LDADD = libvppinfra.la
test_valloc_LDADD = libvppinfra.la
test_longjmp_LDFLAGS = -static
test_macros_LDFLAGS = -static
test_maplog_LDFLAGS = -static
-test_md5_LDFLAGS = -static
test_mheap_LDFLAGS = -static
test_pool_iterate_LDFLAGS = -static
test_ptclosure_LDFLAGS = -static
test_slist_LDFLAGS = -static
test_socket_LDFLAGS = -static
test_time_LDFLAGS = -static
+test_time_range_LDFLAGS = -static
test_timing_wheel_LDFLAGS = -static
test_tw_timer_LDFLAGS = -static
test_valloc_LDFLAGS = -static
vppinfra/bitops.h \
vppinfra/byte_order.h \
vppinfra/cache.h \
+ vppinfra/config.h \
vppinfra/clib.h \
vppinfra/clib_error.h \
vppinfra/cpu.h \
vppinfra/crc32.h \
+ vppinfra/lb_hash_hash.h \
vppinfra/dlist.h \
vppinfra/elf.h \
vppinfra/elf_clib.h \
vppinfra/macros.h \
vppinfra/maplog.h \
vppinfra/math.h \
- vppinfra/md5.h \
vppinfra/mem.h \
vppinfra/memcpy_sse3.h \
vppinfra/memcpy_avx2.h \
vppinfra/sparse_vec.h \
vppinfra/string.h \
vppinfra/time.h \
+ vppinfra/time_range.h \
vppinfra/timing_wheel.h \
vppinfra/timer.h \
vppinfra/tw_timer_2t_1w_2048sl.h \
vppinfra/vec_bootstrap.h \
vppinfra/vector.h \
vppinfra/vector_altivec.h \
+ vppinfra/vector_avx2.h \
+ vppinfra/vector_avx512.h \
vppinfra/vector_funcs.h \
vppinfra/vector_neon.h \
vppinfra/vector_sse42.h \
vppinfra/macros.c \
vppinfra/mhash.c \
vppinfra/mheap.c \
- vppinfra/md5.c \
vppinfra/mem_mheap.c \
vppinfra/ptclosure.c \
vppinfra/random.c \
vppinfra/std-formats.c \
vppinfra/string.c \
vppinfra/time.c \
+ vppinfra/time_range.c \
vppinfra/timing_wheel.c \
vppinfra/tw_timer_template.h \
vppinfra/tw_timer_2t_1w_2048sl.h \