X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra.am;h=533bacd6f63db790547553369e48fac87afb036a;hb=52851e6aa9304054fd1059c8dd284abf8e532bf2;hp=836c7213d6287a178e650670a6148d99fa08775d;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vppinfra.am b/src/vppinfra.am index 836c7213d62..533bacd6f63 100644 --- a/src/vppinfra.am +++ b/src/vppinfra.am @@ -11,13 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -libvppinfradir = ${libdir} - -if WITH_UNIX - libvppinfra_LTLIBRARIES = libvppinfra.la -endif - -lib_LIBRARIES = +lib_LTLIBRARIES += libvppinfra.la TESTS = @@ -43,10 +37,13 @@ TESTS += test_bihash_template \ test_socket \ test_time \ test_timing_wheel \ + test_tw_timer \ test_vec \ - test_zvec + test_zvec endif +TESTS += test_bihash_template + noinst_PROGRAMS = $(TESTS) check_PROGRAMS = $(TESTS) @@ -71,6 +68,7 @@ test_slist_SOURCES = vppinfra/test_slist.c test_socket_SOURCES = vppinfra/test_socket.c test_time_SOURCES = vppinfra/test_time.c test_timing_wheel_SOURCES = vppinfra/test_timing_wheel.c +test_tw_timer_SOURCES = vppinfra/test_tw_timer.c test_vec_SOURCES = vppinfra/test_vec.c test_zvec_SOURCES = vppinfra/test_zvec.c @@ -97,6 +95,7 @@ test_serialize_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG test_slist_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG test_time_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG test_timing_wheel_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG +test_tw_timer_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG test_vec_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG test_zvec_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG @@ -121,6 +120,7 @@ test_slist_LDADD = libvppinfra.la test_socket_LDADD = libvppinfra.la test_time_LDADD = libvppinfra.la -lm test_timing_wheel_LDADD = libvppinfra.la -lm +test_tw_timer_LDADD = libvppinfra.la test_vec_LDADD = libvppinfra.la test_zvec_LDADD = libvppinfra.la @@ -145,6 +145,7 @@ test_slist_LDFLAGS = -static test_socket_LDFLAGS = -static test_time_LDFLAGS = -static test_timing_wheel_LDFLAGS = -static +test_tw_timer_LDFLAGS = -static test_vec_LDFLAGS = -static test_zvec_LDFLAGS = -static @@ -158,7 +159,9 @@ nobase_include_HEADERS = \ vppinfra/asm_mips.h \ vppinfra/asm_x86.h \ vppinfra/bihash_8_8.h \ + vppinfra/bihash_16_8.h \ vppinfra/bihash_24_8.h \ + vppinfra/bihash_48_8.h \ vppinfra/bihash_template.h \ vppinfra/bihash_template.c \ vppinfra/bitmap.h \ @@ -166,7 +169,9 @@ nobase_include_HEADERS = \ vppinfra/byte_order.h \ vppinfra/cache.h \ vppinfra/clib.h \ + vppinfra/clib_error.h \ vppinfra/cpu.h \ + vppinfra/crc32.h \ vppinfra/dlist.h \ vppinfra/elf.h \ vppinfra/elf_clib.h \ @@ -179,6 +184,7 @@ nobase_include_HEADERS = \ vppinfra/graph.h \ vppinfra/hash.h \ vppinfra/heap.h \ + vppinfra/lock.h \ vppinfra/longjmp.h \ vppinfra/macros.h \ vppinfra/math.h \ @@ -205,6 +211,13 @@ nobase_include_HEADERS = \ vppinfra/time.h \ vppinfra/timing_wheel.h \ vppinfra/timer.h \ + vppinfra/tw_timer_2t_1w_2048sl.h \ + vppinfra/tw_timer_16t_2w_512sl.h \ + vppinfra/tw_timer_16t_1w_2048sl.h \ + vppinfra/tw_timer_4t_3w_256sl.h \ + vppinfra/tw_timer_1t_3w_1024sl_ov.h \ + vppinfra/tw_timer_template.h \ + vppinfra/tw_timer_template.c \ vppinfra/types.h \ vppinfra/unix.h \ vppinfra/vec.h \ @@ -253,6 +266,17 @@ CLIB_CORE = \ vppinfra/string.c \ vppinfra/time.c \ vppinfra/timing_wheel.c \ + vppinfra/tw_timer_template.h \ + vppinfra/tw_timer_2t_1w_2048sl.h \ + vppinfra/tw_timer_2t_1w_2048sl.c \ + vppinfra/tw_timer_16t_2w_512sl.h \ + vppinfra/tw_timer_16t_2w_512sl.c \ + vppinfra/tw_timer_16t_1w_2048sl.h \ + vppinfra/tw_timer_16t_1w_2048sl.c \ + vppinfra/tw_timer_4t_3w_256sl.h \ + vppinfra/tw_timer_4t_3w_256sl.c \ + vppinfra/tw_timer_1t_3w_1024sl_ov.h \ + vppinfra/tw_timer_1t_3w_1024sl_ov.c \ vppinfra/unformat.c \ vppinfra/vec.c \ vppinfra/vector.c \