1 # Copyright (c) 2018 Cisco Systems, Inc.
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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
14 vppplugins_LTLIBRARIES += avf_plugin.la
16 avf_plugin_la_LIBADD =
17 avf_plugin_la_SOURCES = \
25 noinst_HEADERS += avf/avf.h
28 avf_multiversioning_files = \
33 ###############################################################
35 ###############################################################
36 libavf_plugin_avx2_la_SOURCES = $(avf_multiversioning_files)
37 libavf_plugin_avx2_la_CFLAGS = \
38 $(AM_CFLAGS) @CPU_AVX2_FLAGS@ \
39 -DCLIB_MULTIARCH_VARIANT=avx2
40 noinst_LTLIBRARIES += libavf_plugin_avx2.la
41 avf_plugin_la_LIBADD += libavf_plugin_avx2.la
45 ###############################################################
47 ###############################################################
48 libavf_plugin_avx512_la_SOURCES = $(avf_multiversioning_files)
49 libavf_plugin_avx512_la_CFLAGS = \
50 $(AM_CFLAGS) @CPU_AVX512_FLAGS@ \
51 -DCLIB_MULTIARCH_VARIANT=avx512
52 noinst_LTLIBRARIES += libavf_plugin_avx512.la
53 avf_plugin_la_LIBADD += libavf_plugin_avx512.la