Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1 | # Copyright (c) 2015 Cisco and/or its affiliates. |
| 2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | # you may not use this file except in compliance with the License. |
| 4 | # You may obtain a copy of the License at: |
| 5 | # |
| 6 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | # |
| 8 | # Unless required by applicable law or agreed to in writing, software |
| 9 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. |
| 13 | |
Damjan Marion | 724f64c | 2017-01-11 11:11:00 +0100 | [diff] [blame] | 14 | lib_LTLIBRARIES += libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 15 | |
Dave Barach | 473f461 | 2018-05-29 17:06:45 -0400 | [diff] [blame] | 16 | BUILT_SOURCES += vppinfra/config.h |
| 17 | |
| 18 | vppinfra/config.h: |
| 19 | @echo "/** Autogenerated by Autotools **/" > $@ |
| 20 | @echo "#ifndef included_clib_config_h" >> $@ |
| 21 | @echo "#define included_clib_config_h" >> $@ |
| 22 | @echo "#ifndef CLIB_LOG2_CACHE_LINE_BYTES " >> $@ |
| 23 | @echo "#define CLIB_LOG2_CACHE_LINE_BYTES " @LOG2_CACHE_LINE_BYTES@ >> $@ |
| 24 | @echo "#endif " >> $@ |
| 25 | @echo "#endif " >> $@ |
| 26 | |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 27 | TESTS = |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 28 | |
| 29 | if ENABLE_TESTS |
| 30 | TESTS += test_bihash_template \ |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 31 | test_bihash_vec88 \ |
| 32 | test_cuckoo_bihash \ |
| 33 | test_cuckoo_template\ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 34 | test_dlist \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 35 | test_elf \ |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 36 | test_elog \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 37 | test_fifo \ |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 38 | test_flowhash_template \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 39 | test_format \ |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 40 | test_fpool \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 41 | test_hash \ |
| 42 | test_heap \ |
| 43 | test_longjmp \ |
| 44 | test_macros \ |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 45 | test_maplog \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 46 | test_mheap \ |
| 47 | test_pool_iterate \ |
| 48 | test_ptclosure \ |
| 49 | test_random \ |
| 50 | test_random_isaac \ |
| 51 | test_serialize \ |
| 52 | test_slist \ |
| 53 | test_socket \ |
| 54 | test_time \ |
Dave Barach | a98c403 | 2018-06-06 10:52:08 -0400 | [diff] [blame] | 55 | test_time_range \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 56 | test_timing_wheel \ |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 57 | test_tw_timer \ |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 58 | test_valloc \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 59 | test_vec \ |
Neale Ranns | 32e1c01 | 2016-11-22 17:07:28 +0000 | [diff] [blame] | 60 | test_zvec |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 61 | endif |
| 62 | |
| 63 | noinst_PROGRAMS = $(TESTS) |
| 64 | check_PROGRAMS = $(TESTS) |
| 65 | |
| 66 | test_bihash_template_SOURCES = vppinfra/test_bihash_template.c |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 67 | test_bihash_vec88_SOURCES = vppinfra/test_bihash_vec88.c |
Klement Sekera | 470a011 | 2017-03-08 05:21:24 +0100 | [diff] [blame] | 68 | test_cuckoo_template_SOURCES = vppinfra/test_cuckoo_template.c |
| 69 | test_cuckoo_bihash_SOURCES = vppinfra/test_cuckoo_bihash.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 70 | test_dlist_SOURCES = vppinfra/test_dlist.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 71 | test_elf_SOURCES = vppinfra/test_elf.c |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 72 | test_elog_SOURCES = vppinfra/test_elog.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 73 | test_fifo_SOURCES = vppinfra/test_fifo.c |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 74 | test_flowhash_template_SOURCES = vppinfra/test_flowhash_template.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 75 | test_format_SOURCES = vppinfra/test_format.c |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 76 | test_fpool_SOURCES = vppinfra/test_fpool.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 77 | test_hash_SOURCES = vppinfra/test_hash.c |
| 78 | test_heap_SOURCES = vppinfra/test_heap.c |
| 79 | test_longjmp_SOURCES = vppinfra/test_longjmp.c |
| 80 | test_macros_SOURCES = vppinfra/test_macros.c |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 81 | test_maplog_SOURCES = vppinfra/test_maplog.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 82 | test_mheap_SOURCES = vppinfra/test_mheap.c |
| 83 | test_pool_iterate_SOURCES = vppinfra/test_pool_iterate.c |
| 84 | test_ptclosure_SOURCES = vppinfra/test_ptclosure.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 85 | test_random_isaac_SOURCES = vppinfra/test_random_isaac.c |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 86 | test_random_SOURCES = vppinfra/test_random.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 87 | test_serialize_SOURCES = vppinfra/test_serialize.c |
| 88 | test_slist_SOURCES = vppinfra/test_slist.c |
| 89 | test_socket_SOURCES = vppinfra/test_socket.c |
| 90 | test_time_SOURCES = vppinfra/test_time.c |
Dave Barach | a98c403 | 2018-06-06 10:52:08 -0400 | [diff] [blame] | 91 | test_time_range_SOURCES = vppinfra/test_time_range.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 92 | test_timing_wheel_SOURCES = vppinfra/test_timing_wheel.c |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 93 | test_tw_timer_SOURCES = vppinfra/test_tw_timer.c |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 94 | test_valloc_SOURCES = vppinfra/test_valloc.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 95 | test_vec_SOURCES = vppinfra/test_vec.c |
| 96 | test_zvec_SOURCES = vppinfra/test_zvec.c |
| 97 | |
| 98 | # All unit tests use ASSERT for failure |
| 99 | # So we'll need -DDEBUG to enable ASSERTs |
| 100 | test_bihash_template_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 101 | test_bihash_vec88_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Klement Sekera | 470a011 | 2017-03-08 05:21:24 +0100 | [diff] [blame] | 102 | test_cuckoo_template_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 103 | test_cuckoo_bihash_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 104 | test_dlist_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 105 | test_elf_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 106 | test_elog_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 107 | test_fifo_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 108 | test_flowhash_template_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 109 | test_format_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 110 | test_fpool_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 111 | test_hash_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 112 | test_heap_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 113 | test_longjmp_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 114 | test_macros_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 115 | test_maplog_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 116 | test_mheap_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 117 | test_pool_iterate_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 118 | test_ptclosure_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 119 | test_random_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 120 | test_random_isaac_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 121 | test_serialize_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 122 | test_slist_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 123 | test_socket_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 124 | test_time_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 125 | test_timing_wheel_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 126 | test_tw_timer_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 127 | test_valloc_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 128 | test_vec_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 129 | test_zvec_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 130 | |
| 131 | test_bihash_template_LDADD = libvppinfra.la |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 132 | test_bihash_vec88_LDADD = libvppinfra.la |
Klement Sekera | 470a011 | 2017-03-08 05:21:24 +0100 | [diff] [blame] | 133 | test_cuckoo_template_LDADD = libvppinfra.la |
| 134 | test_cuckoo_bihash_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 135 | test_dlist_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 136 | test_elf_LDADD = libvppinfra.la |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 137 | test_elog_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 138 | test_fifo_LDADD = libvppinfra.la |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 139 | test_flowhash_template_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 140 | test_format_LDADD = libvppinfra.la |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 141 | test_fpool_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 142 | test_hash_LDADD = libvppinfra.la |
| 143 | test_heap_LDADD = libvppinfra.la |
| 144 | test_longjmp_LDADD = libvppinfra.la |
| 145 | test_macros_LDADD = libvppinfra.la |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 146 | test_maplog_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 147 | test_mheap_LDADD = libvppinfra.la |
| 148 | test_pool_iterate_LDADD = libvppinfra.la |
| 149 | test_ptclosure_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 150 | test_random_isaac_LDADD = libvppinfra.la |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 151 | test_random_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 152 | test_serialize_LDADD = libvppinfra.la |
| 153 | test_slist_LDADD = libvppinfra.la |
| 154 | test_socket_LDADD = libvppinfra.la |
| 155 | test_time_LDADD = libvppinfra.la -lm |
Dave Barach | a98c403 | 2018-06-06 10:52:08 -0400 | [diff] [blame] | 156 | test_time_range_LDADD = libvppinfra.la -lm |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 157 | test_timing_wheel_LDADD = libvppinfra.la -lm |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 158 | test_tw_timer_LDADD = libvppinfra.la |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 159 | test_valloc_LDADD = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 160 | test_vec_LDADD = libvppinfra.la |
| 161 | test_zvec_LDADD = libvppinfra.la |
| 162 | |
| 163 | test_bihash_template_LDFLAGS = -static |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 164 | test_bihash_vec88_LDFLAGS = -static |
Klement Sekera | 470a011 | 2017-03-08 05:21:24 +0100 | [diff] [blame] | 165 | test_cuckoo_template_LDFLAGS = -static |
| 166 | test_cuckoo_bihash_LDFLAGS = -static -lpthread |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 167 | test_dlist_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 168 | test_elf_LDFLAGS = -static |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 169 | test_elog_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 170 | test_fifo_LDFLAGS = -static |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 171 | test_flowhash_template_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 172 | test_format_LDFLAGS = -static |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 173 | test_fpool_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 174 | test_hash_LDFLAGS = -static |
| 175 | test_heap_LDFLAGS = -static |
| 176 | test_longjmp_LDFLAGS = -static |
| 177 | test_macros_LDFLAGS = -static |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 178 | test_maplog_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 179 | test_mheap_LDFLAGS = -static |
| 180 | test_pool_iterate_LDFLAGS = -static |
| 181 | test_ptclosure_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 182 | test_random_isaac_LDFLAGS = -static |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 183 | test_random_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 184 | test_serialize_LDFLAGS = -static |
| 185 | test_slist_LDFLAGS = -static |
| 186 | test_socket_LDFLAGS = -static |
| 187 | test_time_LDFLAGS = -static |
Dave Barach | a98c403 | 2018-06-06 10:52:08 -0400 | [diff] [blame] | 188 | test_time_range_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 189 | test_timing_wheel_LDFLAGS = -static |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 190 | test_tw_timer_LDFLAGS = -static |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 191 | test_valloc_LDFLAGS = -static |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 192 | test_vec_LDFLAGS = -static |
| 193 | test_zvec_LDFLAGS = -static |
| 194 | |
| 195 | # noinst_PROGRAMS += test_vhash |
| 196 | # test_vhash_SOURCES = vppinfra/test_vhash.c vppinfra/vhash.c |
| 197 | # test_vhash_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 198 | # test_vhash_LDADD = libvppinfra.la |
| 199 | # test_vhash_LDFLAGS = -static |
| 200 | |
| 201 | nobase_include_HEADERS = \ |
| 202 | vppinfra/asm_mips.h \ |
| 203 | vppinfra/asm_x86.h \ |
| 204 | vppinfra/bihash_8_8.h \ |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 205 | vppinfra/bihash_vec8_8.h \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 206 | vppinfra/bihash_16_8.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 207 | vppinfra/bihash_24_8.h \ |
Damjan Marion | 18c458e | 2018-07-13 19:17:57 +0200 | [diff] [blame] | 208 | vppinfra/bihash_40_8.h \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 209 | vppinfra/bihash_48_8.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 210 | vppinfra/bihash_template.h \ |
| 211 | vppinfra/bihash_template.c \ |
| 212 | vppinfra/bitmap.h \ |
| 213 | vppinfra/bitops.h \ |
| 214 | vppinfra/byte_order.h \ |
| 215 | vppinfra/cache.h \ |
Dave Barach | 473f461 | 2018-05-29 17:06:45 -0400 | [diff] [blame] | 216 | vppinfra/config.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 217 | vppinfra/clib.h \ |
Klement Sekera | 58eb866 | 2017-06-09 06:06:49 +0200 | [diff] [blame] | 218 | vppinfra/clib_error.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 219 | vppinfra/cpu.h \ |
Damjan Marion | 0f68c79 | 2017-04-26 13:05:05 +0200 | [diff] [blame] | 220 | vppinfra/crc32.h \ |
Steven | 0d88301 | 2018-05-11 11:06:23 -0700 | [diff] [blame] | 221 | vppinfra/lb_hash_hash.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 222 | vppinfra/dlist.h \ |
| 223 | vppinfra/elf.h \ |
| 224 | vppinfra/elf_clib.h \ |
| 225 | vppinfra/elog.h \ |
| 226 | vppinfra/fheap.h \ |
| 227 | vppinfra/error.h \ |
| 228 | vppinfra/error_bootstrap.h \ |
| 229 | vppinfra/fifo.h \ |
Damjan Marion | 56dd543 | 2017-09-08 19:52:02 +0200 | [diff] [blame] | 230 | vppinfra/file.h \ |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 231 | vppinfra/flowhash_template.h \ |
| 232 | vppinfra/flowhash_8_8.h \ |
| 233 | vppinfra/flowhash_24_16.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 234 | vppinfra/format.h \ |
| 235 | vppinfra/graph.h \ |
| 236 | vppinfra/hash.h \ |
| 237 | vppinfra/heap.h \ |
Damjan Marion | 01914ce | 2017-09-14 19:04:50 +0200 | [diff] [blame] | 238 | vppinfra/linux/sysfs.h \ |
| 239 | vppinfra/linux/syscall.h \ |
Damjan Marion | 1927da2 | 2017-03-27 17:08:20 +0200 | [diff] [blame] | 240 | vppinfra/lock.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 241 | vppinfra/longjmp.h \ |
| 242 | vppinfra/macros.h \ |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 243 | vppinfra/maplog.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 244 | vppinfra/math.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 245 | vppinfra/mem.h \ |
| 246 | vppinfra/memcpy_sse3.h \ |
Damjan Marion | fad3fb3 | 2017-12-14 09:30:11 +0100 | [diff] [blame] | 247 | vppinfra/memcpy_avx2.h \ |
| 248 | vppinfra/memcpy_avx512.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 249 | vppinfra/mhash.h \ |
| 250 | vppinfra/mheap.h \ |
| 251 | vppinfra/mheap_bootstrap.h \ |
| 252 | vppinfra/os.h \ |
| 253 | vppinfra/pipeline.h \ |
| 254 | vppinfra/pool.h \ |
| 255 | vppinfra/ptclosure.h \ |
| 256 | vppinfra/random.h \ |
| 257 | vppinfra/random_buffer.h \ |
| 258 | vppinfra/random_isaac.h \ |
| 259 | vppinfra/serialize.h \ |
| 260 | vppinfra/slist.h \ |
| 261 | vppinfra/smp.h \ |
| 262 | vppinfra/socket.h \ |
| 263 | vppinfra/sparse_vec.h \ |
| 264 | vppinfra/string.h \ |
| 265 | vppinfra/time.h \ |
Dave Barach | a98c403 | 2018-06-06 10:52:08 -0400 | [diff] [blame] | 266 | vppinfra/time_range.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 267 | vppinfra/timing_wheel.h \ |
| 268 | vppinfra/timer.h \ |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 269 | vppinfra/tw_timer_2t_1w_2048sl.h \ |
| 270 | vppinfra/tw_timer_16t_2w_512sl.h \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 271 | vppinfra/tw_timer_16t_1w_2048sl.h \ |
Dave Barach | 4af9ba1 | 2017-06-07 15:18:23 -0400 | [diff] [blame] | 272 | vppinfra/tw_timer_4t_3w_256sl.h \ |
| 273 | vppinfra/tw_timer_1t_3w_1024sl_ov.h \ |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 274 | vppinfra/tw_timer_template.h \ |
Gabriel Ganne | 613c79f | 2017-02-15 11:37:53 +0100 | [diff] [blame] | 275 | vppinfra/tw_timer_template.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 276 | vppinfra/types.h \ |
| 277 | vppinfra/unix.h \ |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 278 | vppinfra/valloc.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 279 | vppinfra/vec.h \ |
| 280 | vppinfra/vec_bootstrap.h \ |
| 281 | vppinfra/vector.h \ |
| 282 | vppinfra/vector_altivec.h \ |
Damjan Marion | c576622 | 2018-04-16 00:18:34 +0200 | [diff] [blame] | 283 | vppinfra/vector_avx2.h \ |
| 284 | vppinfra/vector_avx512.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 285 | vppinfra/vector_funcs.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 286 | vppinfra/vector_neon.h \ |
Damjan Marion | 927b071 | 2018-02-20 08:33:50 +0100 | [diff] [blame] | 287 | vppinfra/vector_sse42.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 288 | vppinfra/valgrind.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 289 | vppinfra/xxhash.h \ |
| 290 | vppinfra/xy.h \ |
| 291 | vppinfra/zvec.h |
| 292 | |
| 293 | CLIB_CORE = \ |
| 294 | vppinfra/asm_x86.c \ |
| 295 | vppinfra/backtrace.c \ |
| 296 | vppinfra/bihash_8_8.h \ |
Dave Barach | 310518e | 2017-10-30 09:42:54 -0400 | [diff] [blame] | 297 | vppinfra/bihash_vec8_8.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 298 | vppinfra/bihash_24_8.h \ |
| 299 | vppinfra/bihash_template.h \ |
| 300 | vppinfra/cpu.c \ |
| 301 | vppinfra/elf.c \ |
| 302 | vppinfra/elog.c \ |
| 303 | vppinfra/error.c \ |
| 304 | vppinfra/fifo.c \ |
| 305 | vppinfra/fheap.c \ |
Pierre Pfister | 953f551 | 2018-01-12 09:41:16 +0100 | [diff] [blame] | 306 | vppinfra/flowhash_8_8.h \ |
| 307 | vppinfra/flowhash_24_16.h \ |
| 308 | vppinfra/flowhash_template.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 309 | vppinfra/format.c \ |
Dave Barach | b7f1faa | 2017-08-29 11:43:37 -0400 | [diff] [blame] | 310 | vppinfra/pool.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 311 | vppinfra/graph.c \ |
| 312 | vppinfra/hash.c \ |
| 313 | vppinfra/heap.c \ |
| 314 | vppinfra/longjmp.S \ |
| 315 | vppinfra/macros.c \ |
| 316 | vppinfra/mhash.c \ |
| 317 | vppinfra/mheap.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 318 | vppinfra/mem_mheap.c \ |
| 319 | vppinfra/ptclosure.c \ |
| 320 | vppinfra/random.c \ |
| 321 | vppinfra/random_buffer.c \ |
| 322 | vppinfra/random_isaac.c \ |
| 323 | vppinfra/serialize.c \ |
| 324 | vppinfra/slist.c \ |
| 325 | vppinfra/std-formats.c \ |
| 326 | vppinfra/string.c \ |
| 327 | vppinfra/time.c \ |
Dave Barach | a98c403 | 2018-06-06 10:52:08 -0400 | [diff] [blame] | 328 | vppinfra/time_range.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 329 | vppinfra/timing_wheel.c \ |
Dave Barach | 8e8f98c | 2017-02-03 11:58:53 -0500 | [diff] [blame] | 330 | vppinfra/tw_timer_template.h \ |
| 331 | vppinfra/tw_timer_2t_1w_2048sl.h \ |
| 332 | vppinfra/tw_timer_2t_1w_2048sl.c \ |
| 333 | vppinfra/tw_timer_16t_2w_512sl.h \ |
| 334 | vppinfra/tw_timer_16t_2w_512sl.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 335 | vppinfra/tw_timer_16t_1w_2048sl.h \ |
| 336 | vppinfra/tw_timer_16t_1w_2048sl.c \ |
Dave Barach | 4af9ba1 | 2017-06-07 15:18:23 -0400 | [diff] [blame] | 337 | vppinfra/tw_timer_4t_3w_256sl.h \ |
| 338 | vppinfra/tw_timer_4t_3w_256sl.c \ |
| 339 | vppinfra/tw_timer_1t_3w_1024sl_ov.h \ |
| 340 | vppinfra/tw_timer_1t_3w_1024sl_ov.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 341 | vppinfra/unformat.c \ |
Dave Barach | 8d6ef60 | 2018-01-30 14:12:31 -0500 | [diff] [blame] | 342 | vppinfra/valloc.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 343 | vppinfra/vec.c \ |
| 344 | vppinfra/vector.c \ |
| 345 | vppinfra/zvec.c |
| 346 | |
| 347 | # Core plus Unix additions |
| 348 | libvppinfra_la_SOURCES = \ |
| 349 | $(CLIB_CORE) \ |
| 350 | vppinfra/elf_clib.c \ |
Damjan Marion | 01914ce | 2017-09-14 19:04:50 +0200 | [diff] [blame] | 351 | vppinfra/linux/mem.c \ |
| 352 | vppinfra/linux/sysfs.c \ |
Dave Barach | e9d9170 | 2017-11-29 16:59:01 -0500 | [diff] [blame] | 353 | vppinfra/maplog.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 354 | vppinfra/socket.c \ |
| 355 | vppinfra/timer.c \ |
| 356 | vppinfra/unix-formats.c \ |
| 357 | vppinfra/unix-misc.c |
| 358 | |
| 359 | bin_PROGRAMS = elftool |
| 360 | |
| 361 | elftool_SOURCES = tools/elftool/elftool.c |
| 362 | elftool_CPPFLAGS = $(AM_CPPFLAGS) |
| 363 | elftool_LDADD = libvppinfra.la -lpthread -lrt -lm |
| 364 | |
| 365 | # vi:syntax=automake |