From 855e26868ff8b9e6d00ca4d69ce6c9fdc0f2e121 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 24 Aug 2018 13:37:45 +0200 Subject: Switch to cmake Change-Id: I982b69390c55b5ffbd744f355efc0aaf425b360c Signed-off-by: Damjan Marion --- src/plugins/Makefile.am | 170 ---------------------------------- src/plugins/abf.am | 28 ------ src/plugins/acl.am | 75 --------------- src/plugins/avf.am | 70 -------------- src/plugins/cdp.am | 40 -------- src/plugins/dpdk.am | 102 --------------------- src/plugins/flowprobe.am | 37 -------- src/plugins/gbp.am | 37 -------- src/plugins/gtpu.am | 38 -------- src/plugins/igmp.am | 39 -------- src/plugins/ila.am | 20 ---- src/plugins/ioam.am | 229 ---------------------------------------------- src/plugins/ixge.am | 20 ---- src/plugins/l2e.am | 28 ------ src/plugins/lacp.am | 47 ---------- src/plugins/lb.am | 40 -------- src/plugins/mactime.am | 36 -------- src/plugins/map.am | 39 -------- src/plugins/marvell.am | 47 ---------- src/plugins/memif.am | 68 -------------- src/plugins/nat.am | 55 ----------- src/plugins/nsh.am | 45 --------- src/plugins/pppoe.am | 39 -------- src/plugins/srv6_ad.am | 22 ----- src/plugins/srv6_am.am | 22 ----- src/plugins/srv6_as.am | 23 ----- src/plugins/stn.am | 35 ------- src/plugins/tlsmbedtls.am | 21 ----- src/plugins/tlsopenssl.am | 24 ----- src/plugins/unittest.am | 22 ----- 30 files changed, 1518 deletions(-) delete mode 100644 src/plugins/Makefile.am delete mode 100644 src/plugins/abf.am delete mode 100644 src/plugins/acl.am delete mode 100644 src/plugins/avf.am delete mode 100644 src/plugins/cdp.am delete mode 100644 src/plugins/dpdk.am delete mode 100644 src/plugins/flowprobe.am delete mode 100644 src/plugins/gbp.am delete mode 100644 src/plugins/gtpu.am delete mode 100644 src/plugins/igmp.am delete mode 100644 src/plugins/ila.am delete mode 100644 src/plugins/ioam.am delete mode 100644 src/plugins/ixge.am delete mode 100644 src/plugins/l2e.am delete mode 100644 src/plugins/lacp.am delete mode 100644 src/plugins/lb.am delete mode 100644 src/plugins/mactime.am delete mode 100644 src/plugins/map.am delete mode 100644 src/plugins/marvell.am delete mode 100644 src/plugins/memif.am delete mode 100644 src/plugins/nat.am delete mode 100644 src/plugins/nsh.am delete mode 100644 src/plugins/pppoe.am delete mode 100644 src/plugins/srv6_ad.am delete mode 100644 src/plugins/srv6_am.am delete mode 100644 src/plugins/srv6_as.am delete mode 100644 src/plugins/stn.am delete mode 100644 src/plugins/tlsmbedtls.am delete mode 100644 src/plugins/tlsopenssl.am delete mode 100644 src/plugins/unittest.am (limited to 'src/plugins') diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am deleted file mode 100644 index 1000ee812a3..00000000000 --- a/src/plugins/Makefile.am +++ /dev/null @@ -1,170 +0,0 @@ - -# Copyright (c) -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -AUTOMAKE_OPTIONS = foreign subdir-objects - -AM_CFLAGS = @CPU_FLAGS@ -Wall -I${top_srcdir} -I${top_builddir} -AM_LDFLAGS = -module -shared -avoid-version -AM_LIBTOOLFLAGS = --quiet -SUFFIXES = .api.h .api .api.json -API_FILES = -BUILT_SOURCES = -vppplugins_LTLIBRARIES = -vppapitestplugins_LTLIBRARIES = -noinst_HEADERS = -noinst_LTLIBRARIES = -nobase_apiinclude_HEADERS = -nobase_include_HEADERS = - -vppapitestpluginsdir = ${libdir}/vpp_api_test_plugins -vpppluginsdir = ${libdir}/vpp_plugins - -if ENABLE_ABF_PLUGIN -include abf.am -endif - -if ENABLE_ACL_PLUGIN -include acl.am -endif - -if ENABLE_AVF_PLUGIN -include avf.am -endif - -if ENABLE_CDP_PLUGIN -include cdp.am -endif - -if ENABLE_DPDK_PLUGIN -include dpdk.am -endif - -if ENABLE_FLOWPROBE_PLUGIN -include flowprobe.am -endif - - -if ENABLE_GTPU_PLUGIN -include gtpu.am -endif - -if ENABLE_IGMP_PLUGIN -include igmp.am -endif - -if ENABLE_ILA_PLUGIN -include ila.am -endif - -if ENABLE_IOAM_PLUGIN -include ioam.am -endif - -if ENABLE_IXGE_PLUGIN -include ixge.am -endif - -if ENABLE_LACP_PLUGIN -include lacp.am -endif - -if ENABLE_LB_PLUGIN -include lb.am -endif - -if ENABLE_MACTIME_PLUGIN -include mactime.am -endif - -if ENABLE_MAP_PLUGIN -include map.am -endif - -if ENABLE_MARVELL_PLUGIN -include marvell.am -endif - -if ENABLE_MEMIF_PLUGIN -include memif.am -endif - -if ENABLE_NAT_PLUGIN -include nat.am -endif - -if ENABLE_NSH_PLUGIN -include nsh.am -endif - -if ENABLE_PPPOE_PLUGIN -include pppoe.am -endif - -if ENABLE_SRV6AD_PLUGIN -include srv6_ad.am -endif - -if ENABLE_SRV6AM_PLUGIN -include srv6_am.am -endif - -if ENABLE_SRV6AS_PLUGIN -include srv6_as.am -endif - -if ENABLE_STN_PLUGIN -include stn.am -endif - -if ENABLE_L2E_PLUGIN -include l2e.am -endif - -if ENABLE_GBP_PLUGIN -include gbp.am -endif - -if ENABLE_TLSMBEDTLS_PLUGIN -include tlsmbedtls.am -endif - -if ENABLE_TLSOPENSSL_PLUGIN -include tlsopenssl.am -endif - -if ENABLE_UNITTEST_PLUGIN -include unittest.am -endif - -include ../suffix-rules.mk - -# Remove *.la files -install-data-hook: - @-(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES)) - @-(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES)) - -############################################################################### -# API -############################################################################### - -apidir = $(prefix)/share/vpp/api/plugins -apiincludedir = ${includedir}/vpp_plugins - -api_DATA = \ - $(patsubst %.api,%.api.json,$(API_FILES)) - -BUILT_SOURCES += \ - $(patsubst %.api,%.api.h,$(API_FILES)) - -CLEANFILES = $(BUILT_SOURCES) $(api_DATA) diff --git a/src/plugins/abf.am b/src/plugins/abf.am deleted file mode 100644 index 6aef71441f3..00000000000 --- a/src/plugins/abf.am +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += abf_plugin.la - -abf_plugin_la_SOURCES = \ - abf/abf_policy.c \ - abf/abf_api.c \ - abf/abf_itf_attach.c - -API_FILES += abf/abf.api - -nobase_apiinclude_HEADERS += \ - abf/abf_all_api_h.h \ - abf/abf_msg_enum.h \ - abf/abf.api.h - -# vi:syntax=automake diff --git a/src/plugins/acl.am b/src/plugins/acl.am deleted file mode 100644 index f73fda63366..00000000000 --- a/src/plugins/acl.am +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += acl_test_plugin.la -vppplugins_LTLIBRARIES += acl_plugin.la - -acl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -acl_plugin_la_LDFLAGS += -Wl,-lm,-ldl - - - -acl_plugin_la_LIBADD = - -acl_plugin_la_SOURCES = \ - acl/acl.c \ - acl/hash_lookup.c \ - acl/lookup_context.c \ - acl/sess_mgmt_node.c \ - acl/dataplane_node.c \ - acl/public_inlines.h \ - acl/exported_types.h \ - acl/manual_fns.h \ - acl/acl_plugin.api.h - -API_FILES += acl/acl.api - -if CPU_X86_64 -acl_multiversioning_sources = \ - acl/dataplane_node.c - - -if CC_SUPPORTS_AVX2 -############################################################### -# AVX2 -############################################################### -libacl_plugin_avx2_la_SOURCES = $(acl_multiversioning_sources) -libacl_plugin_avx2_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX2_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx2 -noinst_LTLIBRARIES += libacl_plugin_avx2.la -acl_plugin_la_LIBADD += libacl_plugin_avx2.la -endif - -if CC_SUPPORTS_AVX512 -############################################################### -# AVX512 -############################################################### -libacl_plugin_avx512_la_SOURCES = $(acl_multiversioning_sources) -libacl_plugin_avx512_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX512_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx512 -noinst_LTLIBRARIES += libacl_plugin_avx512.la -acl_plugin_la_LIBADD += libacl_plugin_avx512.la -endif -endif - -nobase_apiinclude_HEADERS += \ - acl/acl_all_api_h.h \ - acl/acl_msg_enum.h \ - acl/manual_fns.h \ - acl/acl.api.h - -acl_test_plugin_la_SOURCES = acl/acl_test.c acl/acl_plugin.api.h acl/acl_all_api.h - -# vi:syntax=automake diff --git a/src/plugins/avf.am b/src/plugins/avf.am deleted file mode 100644 index 3a1ce8e6379..00000000000 --- a/src/plugins/avf.am +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright (c) 2018 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += avf_plugin.la -vppapitestplugins_LTLIBRARIES += avf_test_plugin.la - -avf_plugin_la_LIBADD = -avf_plugin_la_SOURCES = \ - avf/cli.c \ - avf/device.c \ - avf/format.c \ - avf/input.c \ - avf/output.c \ - avf/plugin.c \ - avf/avf_api.c \ - avf/avf_plugin.api.h - -avf_test_plugin_la_SOURCES = \ - avf/avf_test.c avf/avf_plugin.api.h - -noinst_HEADERS += avf/avf.h - -nobase_apiinclude_HEADERS += \ - avf/avf_all_api_h.h \ - avf/avf_msg_enum.h \ - avf/avf.api.h - -API_FILES += avf/avf.api - -if CPU_X86_64 -avf_multiversioning_sources = \ - avf/input.c \ - avf/output.c - -if CC_SUPPORTS_AVX2 -############################################################### -# AVX2 -############################################################### -libavf_plugin_avx2_la_SOURCES = $(avf_multiversioning_sources) -libavf_plugin_avx2_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX2_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx2 -noinst_LTLIBRARIES += libavf_plugin_avx2.la -avf_plugin_la_LIBADD += libavf_plugin_avx2.la -endif - -if CC_SUPPORTS_AVX512 -############################################################### -# AVX512 -############################################################### -libavf_plugin_avx512_la_SOURCES = $(avf_multiversioning_sources) -libavf_plugin_avx512_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX512_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx512 -noinst_LTLIBRARIES += libavf_plugin_avx512.la -avf_plugin_la_LIBADD += libavf_plugin_avx512.la -endif -endif - -# vi:syntax=automake diff --git a/src/plugins/cdp.am b/src/plugins/cdp.am deleted file mode 100644 index 1d9d77e1f15..00000000000 --- a/src/plugins/cdp.am +++ /dev/null @@ -1,40 +0,0 @@ - -# Copyright (c) 2011-2018 Cisco and/or its affiliates -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += cdp_test_plugin.la -vppplugins_LTLIBRARIES += cdp_plugin.la - -cdp_plugin_la_SOURCES = \ - cdp/cdp_all_api_h.h \ - cdp/cdp.c \ - cdp/cdp.h \ - cdp/cdp_input.c \ - cdp/cdp_msg_enum.h \ - cdp/cdp_node.c \ - cdp/cdp_periodic.c - -API_FILES += cdp/cdp.api - -nobase_apiinclude_HEADERS += \ - cdp/cdp_all_api_h.h \ - cdp/cdp.api.h \ - cdp/cdp.h \ - cdp/cdp_msg_enum.h \ - cdp/cdp_protocol.h - -cdp_test_plugin_la_SOURCES = \ - cdp/cdp_test.c \ - cdp/cdp.api.h - -# vi:syntax=automake diff --git a/src/plugins/dpdk.am b/src/plugins/dpdk.am deleted file mode 100644 index 01655667290..00000000000 --- a/src/plugins/dpdk.am +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += dpdk_test_plugin.la -vppplugins_LTLIBRARIES += dpdk_plugin.la - -if ENABLE_DPDK_SHARED -dpdk_plugin_la_LDFLAGS = $(AM_LDFLAGS) -ldpdk -else -dpdk_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive -endif -if WITH_AESNI_MB_LIB -dpdk_plugin_la_LDFLAGS += -Wl,--exclude-libs,libIPSec_MB.a,-l:libIPSec_MB.a -endif -if WITH_ISA_L_CRYPTO_LIB -dpdk_plugin_la_LDFLAGS += -Wl,--exclude-libs,libisal_crypto.a,-l:libisal_crypto.a -endif -dpdk_plugin_la_CFLAGS = $(AM_CFLAGS) -if WITH_LIBNUMA -dpdk_plugin_la_LDFLAGS += -Wl,-lnuma -endif - -if WITH_DPDK_MLX5_PMD -dpdk_plugin_la_LDFLAGS += -Wl,-lm,-ldl,-lmnl -else -dpdk_plugin_la_LDFLAGS += -Wl,-lm,-ldl -endif -dpdk_plugin_la_LIBADD = - -dpdk_plugin_la_SOURCES = \ - dpdk/main.c \ - dpdk/buffer.c \ - dpdk/thread.c \ - dpdk/api/dpdk_api.c \ - dpdk/device/cli.c \ - dpdk/device/common.c \ - dpdk/device/flow.c \ - dpdk/device/dpdk_priv.h \ - dpdk/device/device.c \ - dpdk/device/format.c \ - dpdk/device/init.c \ - dpdk/device/node.c \ - dpdk/hqos/hqos.c \ - dpdk/ipsec/esp_encrypt.c \ - dpdk/ipsec/esp_decrypt.c \ - dpdk/ipsec/crypto_node.c \ - dpdk/ipsec/cli.c \ - dpdk/ipsec/ipsec.c \ - dpdk/api/dpdk_plugin.api.h - -API_FILES += dpdk/api/dpdk.api - -if CPU_X86_64 -dpdk_multiversioning_sources = \ - dpdk/buffer.c \ - dpdk/device/node.c \ - dpdk/device/device.c - -if CC_SUPPORTS_AVX2 -############################################################### -# AVX2 -############################################################### -libdpdk_plugin_avx2_la_SOURCES = $(dpdk_multiversioning_sources) -libdpdk_plugin_avx2_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX2_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx2 -noinst_LTLIBRARIES += libdpdk_plugin_avx2.la -dpdk_plugin_la_LIBADD += libdpdk_plugin_avx2.la -endif - -if CC_SUPPORTS_AVX512 -############################################################### -# AVX512 -############################################################### -libdpdk_plugin_avx512_la_SOURCES = $(dpdk_multiversioning_sources) -libdpdk_plugin_avx512_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX512_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx512 -noinst_LTLIBRARIES += libdpdk_plugin_avx512.la -dpdk_plugin_la_LIBADD += libdpdk_plugin_avx512.la -endif -endif - -nobase_include_HEADERS += \ - dpdk/device/dpdk.h \ - dpdk/api/dpdk_all_api_h.h \ - dpdk/ipsec/ipsec.h - -dpdk_test_plugin_la_SOURCES = \ - dpdk/api/dpdk_test.c dpdk/api/dpdk_plugin.api.h - -# vi:syntax=automake diff --git a/src/plugins/flowprobe.am b/src/plugins/flowprobe.am deleted file mode 100644 index c56e246d219..00000000000 --- a/src/plugins/flowprobe.am +++ /dev/null @@ -1,37 +0,0 @@ - -# Copyright (c) -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += flowprobe_plugin.la -vppapitestplugins_LTLIBRARIES += flowprobe_test_plugin.la - -flowprobe_plugin_la_SOURCES = flowprobe/flowprobe.c \ - flowprobe/node.c \ - flowprobe/flowprobe_plugin.api.h - -BUILT_SOURCES += \ - flowprobe/flowprobe.api.h \ - flowprobe/flowprobe.api.json - -noinst_HEADERS += \ - flowprobe/flowprobe_all_api_h.h \ - flowprobe/flowprobe_msg_enum.h \ - flowprobe/flowprobe.api.h - -flowprobe_test_plugin_la_SOURCES = \ - flowprobe/flowprobe_test.c \ - flowprobe/flowprobe_plugin.api.h - -API_FILES += flowprobe/flowprobe.api - -# vi:syntax=automake diff --git a/src/plugins/gbp.am b/src/plugins/gbp.am deleted file mode 100644 index 7271a0de45c..00000000000 --- a/src/plugins/gbp.am +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += gbp_plugin.la - -gbp_plugin_la_SOURCES = \ - gbp/gbp_subnet.c \ - gbp/gbp_contract.c \ - gbp/gbp_endpoint.c \ - gbp/gbp_endpoint_group.c \ - gbp/gbp_classify.c \ - gbp/gbp_recirc.c \ - gbp/gbp_policy.c \ - gbp/gbp_policy_dpo.c \ - gbp/gbp_fwd.c \ - gbp/gbp_fwd_dpo.c \ - gbp/gbp_api.c - -API_FILES += gbp/gbp.api - -noinst_HEADERS += \ - gbp/gbp.h \ - gbp/gbp_all_api_h.h \ - gbp/gbp_msg_enum.h \ - gbp/gbp.api.h - -# vi:syntax=automake diff --git a/src/plugins/gtpu.am b/src/plugins/gtpu.am deleted file mode 100644 index f4cca0946e8..00000000000 --- a/src/plugins/gtpu.am +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright (c) 2016 Intel and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += gtpu_test_plugin.la -vppplugins_LTLIBRARIES += gtpu_plugin.la - -gtpu_plugin_la_SOURCES = \ - gtpu/gtpu_decap.c \ - gtpu/gtpu_encap.c \ - gtpu/gtpu.c \ - gtpu/gtpu_api.c - -BUILT_SOURCES += \ - gtpu/gtpu.api.h \ - gtpu/gtpu.api.json - -API_FILES += gtpu/gtpu.api - -nobase_apiinclude_HEADERS += \ - gtpu/gtpu_all_api_h.h \ - gtpu/gtpu_msg_enum.h \ - gtpu/gtpu.api.h - -gtpu_test_plugin_la_SOURCES = \ - gtpu/gtpu_test.c \ - gtpu/gtpu_plugin.api.h - -# vi:syntax=automake diff --git a/src/plugins/igmp.am b/src/plugins/igmp.am deleted file mode 100644 index 503d4cb14ca..00000000000 --- a/src/plugins/igmp.am +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (c) 2017 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += igmp_plugin.la - -igmp_plugin_la_SOURCES = \ - igmp/igmp.c \ - igmp/igmp_query.c \ - igmp/igmp_report.c \ - igmp/igmp_group.c \ - igmp/igmp_src.c \ - igmp/igmp_config.c \ - igmp/igmp_cli.c \ - igmp/igmp_api.c \ - igmp/igmp_input.c \ - igmp/igmp_plugin.api.h \ - igmp/igmp_timer.c \ - igmp/igmp_pkt.c \ - igmp/igmp_ssm_range.c \ - igmp/igmp_format.c - -nobase_apiinclude_HEADERS += \ - igmp/igmp_all_api_h.h \ - igmp/igmp_msg_enum.h \ - igmp/igmp.api.h - -API_FILES += igmp/igmp.api - -# vi:syntax=automake diff --git a/src/plugins/ila.am b/src/plugins/ila.am deleted file mode 100644 index d900f3eb307..00000000000 --- a/src/plugins/ila.am +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += ila_plugin.la - -ila_plugin_la_SOURCES = ila/ila.c - -noinst_HEADERS += ila/ila.h - -# vi:syntax=automake diff --git a/src/plugins/ioam.am b/src/plugins/ioam.am deleted file mode 100644 index 62109589a23..00000000000 --- a/src/plugins/ioam.am +++ /dev/null @@ -1,229 +0,0 @@ -# Copyright (c) 2015 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -######################################## -# iOAM Proof of Transit -######################################## - -IOAM_POT_SRC = \ - ioam/lib-pot/pot_util.c \ - ioam/encap/ip6_ioam_pot.c \ - ioam/lib-pot/pot_util.h \ - ioam/lib-pot/math64.h \ - ioam/lib-pot/pot_api.c - -IOAM_POT_NOINST_HDR = \ - ioam/lib-pot/pot_all_api_h.h \ - ioam/lib-pot/pot_msg_enum.h \ - ioam/lib-pot/pot.api.h \ - ioam/lib-pot/pot_util.h \ - ioam/lib-pot/math64.h - -IOAM_POT_API = ioam/lib-pot/pot.api - -######################################## -# iOAM trace export for IPv6 -######################################## - -IOAM_EXPORT_SRC = \ -ioam/export/ioam_export.c \ -ioam/export/node.c \ -ioam/export/ioam_export.api.h \ -ioam/export/ioam_export_thread.c - -IOAM_EXPORT_NOINST_HDR = \ - ioam/export/ioam_export_all_api_h.h \ - ioam/export/ioam_export_msg_enum.h \ - ioam/export/ioam_export.api.h - -IOAM_EXPORT_API = ioam/export/ioam_export.api - -######################################## -# iOAM Trace -######################################## -IOAM_TRACE_SRC = \ - ioam/lib-trace/trace_util.c \ - ioam/encap/ip6_ioam_trace.c \ - ioam/lib-trace/trace_api.c - -IOAM_TRACE_NOINST_HDR = \ - ioam/lib-trace/trace_all_api_h.h \ - ioam/lib-trace/trace_msg_enum.h \ - ioam/lib-trace/trace.api.h \ - ioam/lib-trace/trace_util.h \ - ioam/encap/ip6_ioam_trace.h \ - ioam/lib-trace/trace_config.h - -IOAM_TRACE_API = ioam/lib-trace/trace.api - -nobase_include_HEADERS += \ - ioam/lib-trace/trace_util.h \ - ioam/export-common/ioam_export.h - -######################################## -# VxLAN-GPE -######################################## -IOAM_VXLAN_GPE_SRC = \ - ioam/lib-vxlan-gpe/ioam_encap.c \ - ioam/lib-vxlan-gpe/ioam_decap.c \ - ioam/lib-vxlan-gpe/ioam_transit.c \ - ioam/lib-vxlan-gpe/ioam_pop.c \ - ioam/lib-vxlan-gpe/vxlan_gpe_api.c \ - ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c \ - ioam/lib-vxlan-gpe/vxlan_gpe_ioam.c \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.c \ - ioam/export-vxlan-gpe/vxlan_gpe_node.c \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h\ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c - -IOAM_VXLAN_GPE_NOINST_HDR = \ - ioam/lib-vxlan-gpe/vxlan_gpe_all_api_h.h \ - ioam/lib-vxlan-gpe/vxlan_gpe_msg_enum.h \ - ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api.h \ - ioam/lib-vxlan-gpe/vxlan_gpe_ioam_util.h \ - ioam/lib-vxlan-gpe/vxlan_gpe_ioam_packet.h \ - ioam/lib-vxlan-gpe/vxlan_gpe_ioam.h \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_all_api_h.h \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_msg_enum.h \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h - -IOAM_VXLAN_GPE_API = ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api -IOAM_VXLAN_GPE_API += ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api - -######################################## -# iOAM E2E -######################################## - -IOAM_E2E_SRC = \ - ioam/encap/ip6_ioam_e2e.c \ - ioam/encap/ip6_ioam_seqno.c \ - ioam/lib-e2e/ioam_seqno_lib.c - -IOAM_E2E_NOINST_HDR = \ - ioam/encap/ip6_ioam_e2e.h \ - ioam/encap/ip6_ioam_seqno.h \ - ioam/lib-e2e/ioam_seqno_lib.h - -######################################## -# ipfix collector -######################################## - -IPFIX_COLLECTOR_SRC = \ - ioam/ipfixcollector/ipfixcollector.c \ - ioam/ipfixcollector/node.c \ - ioam/ipfixcollector/ipfixcollector.h - -######################################## -# iOAM Analyse -######################################## - -IOAM_ANALYSE_SRC = \ - ioam/analyse/ip6/ip6_ioam_analyse.c \ - ioam/analyse/ip6/node.c \ - ioam/analyse/ip6/ip6_ioam_analyse.h \ - ioam/analyse/ioam_summary_export.c \ - ioam/analyse/ioam_analyse.h \ - ioam/analyse/ioam_summary_export.h - -######################################## -# iOAM record cache and rewrite -######################################## - -IOAM_IP6_MANYCAST_SRC = \ -ioam/ip6/ioam_cache.c \ -ioam/ip6/ioam_cache_node.c \ -ioam/ip6/ioam_cache_tunnel_select_node.c \ -ioam/ip6/ioam_cache.api.h - -IOAM_IP6_MANYCAST_API = ioam/ip6/ioam_cache.api - -IOAM_IP6_MANYCAST_NOINST_HDR = \ - ioam/ip6/ioam_cache_all_api_h.h \ - ioam/ip6/ioam_cache_msg_enum.h \ - ioam/ip6/ioam_cache.api.h - -# udp ping -######################################## - -UDP_PING_SRC = \ - ioam/udp-ping/udp_ping_node.c \ - ioam/udp-ping/udp_ping_util.c \ - ioam/udp-ping/udp_ping_export.c \ - ioam/udp-ping/udp_ping_api.c - -UDP_PING_NOINST_HDR = \ - ioam/udp-ping/udp_ping_packet.h \ - ioam/udp-ping/udp_ping.h \ - ioam/udp-ping/udp_ping_util.h \ - ioam/udp-ping/udp_ping_all_api_h.h \ - ioam/udp-ping/udp_ping_msg_enum.h \ - ioam/udp-ping/udp_ping.api.h - -UDP_PING_API = ioam/udp-ping/udp_ping.api -######################################## -# iOAM plugins -######################################## - -ioam_plugin_la_SOURCES = \ - $(IOAM_POT_SRC) \ - $(IOAM_EXPORT_SRC) \ - $(IOAM_TRACE_SRC) \ - $(IOAM_VXLAN_GPE_SRC) \ - $(IOAM_E2E_SRC) \ - $(IPFIX_COLLECTOR_SRC) \ - $(IOAM_ANALYSE_SRC) \ - $(IOAM_IP6_MANYCAST_SRC) \ - $(UDP_PING_SRC) - -API_FILES += \ - $(IOAM_POT_API) \ - $(IOAM_EXPORT_API) \ - $(IOAM_TRACE_API) \ - $(IOAM_VXLAN_GPE_API) \ - $(IOAM_IP6_MANYCAST_API) \ - $(UDP_PING_API) - -nobase_apiinclude_HEADERS += \ - $(IOAM_POT_NOINST_HDR) \ - $(IOAM_EXPORT_NOINST_HDR) \ - $(IOAM_TRACE_NOINST_HDR) \ - $(IOAM_VXLAN_GPE_NOINST_HDR) \ - $(IOAM_E2E_NOINST_HDR) \ - $(IOAM_IP6_MANYCAST_NOINST_HDR) \ - $(UDP_PING_NOINST_HDR) - -vppplugins_LTLIBRARIES += ioam_plugin.la - -######################################## -# iOAM plugins -######################################## - -ioam_test_plugin_la_SOURCES = \ - ioam/ioam_test.c \ - ioam/lib-pot/pot_test.c \ - ioam/lib-pot/pot_plugin.api.h \ - ioam/lib-trace/trace_test.c \ - ioam/lib-trace/trace_plugin.api.h \ - ioam/export/ioam_export_test.c \ - ioam/export/ioam_export_plugin.api.h \ - ioam/lib-vxlan-gpe/vxlan_gpe_test.c \ - ioam/lib-vxlan-gpe/vxlan_gpe_plugin.api.h \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c \ - ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_plugin.api.h \ - ioam/udp-ping/udp_ping_test.c \ - ioam/udp-ping/udp_ping_plugin.api.h - -vppapitestplugins_LTLIBRARIES += ioam_test_plugin.la - -# vi:syntax=automake diff --git a/src/plugins/ixge.am b/src/plugins/ixge.am deleted file mode 100644 index 7e61344b50f..00000000000 --- a/src/plugins/ixge.am +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += ixge_plugin.la - -ixge_plugin_la_SOURCES = ixge/ixge.c - -noinst_HEADERS += ixge/ixge.h - -# vi:syntax=automake diff --git a/src/plugins/l2e.am b/src/plugins/l2e.am deleted file mode 100644 index da2c456417b..00000000000 --- a/src/plugins/l2e.am +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += l2e_plugin.la - -l2e_plugin_la_SOURCES = \ - l2e/l2e.c \ - l2e/l2e_api.c - -API_FILES += l2e/l2e.api - -noinst_HEADERS += \ - l2e/l2e.h \ - l2e/l2e_all_api_h.h \ - l2e/l2e_msg_enum.h \ - l2e/l2e.api.h - -# vi:syntax=automake diff --git a/src/plugins/lacp.am b/src/plugins/lacp.am deleted file mode 100644 index c7e571d95fb..00000000000 --- a/src/plugins/lacp.am +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (c) 2017 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += lacp_plugin.la -vppapitestplugins_LTLIBRARIES += lacp_test_plugin.la - -lacp_plugin_la_LIBADD = -lacp_plugin_la_SOURCES = lacp/lacp.c \ - lacp/lacp_api.c \ - lacp/selection.c \ - lacp/rx_machine.c \ - lacp/tx_machine.c \ - lacp/mux_machine.c \ - lacp/ptx_machine.c \ - lacp/cli.c \ - lacp/input.c \ - lacp/node.c - -lacp_test_plugin_la_SOURCES = \ - lacp/lacp_test.c - -noinst_HEADERS += lacp/protocol.h \ - lacp/machine.h \ - lacp/rx_machine.h \ - lacp/tx_machine.h \ - lacp/mux_machine.h \ - lacp/ptx_machine.h \ - lacp/node.h - -nobase_apiinclude_HEADERS += \ - lacp/lacp_all_api_h.h \ - lacp/lacp_msg_enum.h \ - lacp/lacp.api.h - -API_FILES += lacp/lacp.api - -# vi:syntax=automake diff --git a/src/plugins/lb.am b/src/plugins/lb.am deleted file mode 100644 index f0ff6267691..00000000000 --- a/src/plugins/lb.am +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += lb_test_plugin.la -vppplugins_LTLIBRARIES += lb_plugin.la - -lb_plugin_la_SOURCES = \ - lb/lb.c \ - lb/node.c \ - lb/cli.c \ - lb/util.c \ - lb/api.c - -BUILT_SOURCES += \ - lb/lb.api.h \ - lb/lb.api.json - -API_FILES += lb/lb.api - -noinst_HEADERS += \ - lb/lb.h \ - lb/util.h \ - lb/lbhash.h \ - lb/lb.api.h - -lb_test_plugin_la_SOURCES = \ - lb/lb_test.c \ - lb/lb_plugin.api.h - -# vi:syntax=automake diff --git a/src/plugins/mactime.am b/src/plugins/mactime.am deleted file mode 100644 index 46225f6e3b1..00000000000 --- a/src/plugins/mactime.am +++ /dev/null @@ -1,36 +0,0 @@ - -# Copyright (c) -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += mactime_test_plugin.la -vppplugins_LTLIBRARIES += mactime_plugin.la - -mactime_plugin_la_SOURCES = \ - mactime/node.c \ - mactime/mactime.c \ - mactime/mactime.h \ - mactime/mactime_all_api_h.h \ - mactime/mactime_msg_enum.h - -API_FILES += mactime/mactime.api - -nobase_apiinclude_HEADERS += \ - mactime/mactime_all_api_h.h \ - mactime/mactime_msg_enum.h \ - mactime/mactime.api.h - -mactime_test_plugin_la_SOURCES = \ - mactime/mactime_test.c \ - mactime/mactime.api.h - -# vi:syntax=automake diff --git a/src/plugins/map.am b/src/plugins/map.am deleted file mode 100644 index 555d7006f49..00000000000 --- a/src/plugins/map.am +++ /dev/null @@ -1,39 +0,0 @@ - -# Copyright (c) -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += map_test_plugin.la -vppplugins_LTLIBRARIES += map_plugin.la - -map_plugin_la_SOURCES = \ - map/ip4_map.c \ - map/ip4_map_t.c \ - map/ip6_map.c \ - map/ip6_map_t.c \ - map/map_api.c \ - map/map.c \ - map/map_dpo.c - -API_FILES += map/map.api - -nobase_apiinclude_HEADERS += \ - map/map_all_api_h.h \ - map/map_msg_enum.h \ - map/map.api.h \ - map/map_dpo.h \ - map/map.h - -map_test_plugin_la_SOURCES = \ - map/map_test.c - -# vi:syntax=automake diff --git a/src/plugins/marvell.am b/src/plugins/marvell.am deleted file mode 100644 index 2204c7935c8..00000000000 --- a/src/plugins/marvell.am +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (c) 2018 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += marvell_plugin.la - -marvell_plugin_la_SOURCES = \ - marvell/plugin.c \ - marvell/pp2/cli.c \ - marvell/pp2/format.c \ - marvell/pp2/input.c \ - marvell/pp2/output.c \ - marvell/pp2/pp2.c - -marvell_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,-l:libmusdk.a - -noinst_HEADERS += marvell/pp2/pp2.h - -#AUTOMAKE_OPTIONS = foreign subdir-objects - -#AM_CFLAGS = -Wall -#AM_LDFLAGS = -module -shared -avoid-version - -#vpppluginsdir = ${libdir}/vpp_plugins - -#vppplugins_LTLIBRARIES = mrvl_device_plugin.la - - -#mrvl_device_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,-lmusdk -#-Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive - -# Remove *.la files -#install-data-hook: -# @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES)) - -#CLEANFILES = $(BUILT_SOURCES) - -# vi:syntax=automake diff --git a/src/plugins/memif.am b/src/plugins/memif.am deleted file mode 100644 index e7deb7dac7a..00000000000 --- a/src/plugins/memif.am +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright (c) 2017 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += memif_plugin.la -vppapitestplugins_LTLIBRARIES += memif_test_plugin.la - -memif_plugin_la_LIBADD = -memif_plugin_la_SOURCES = memif/memif.c \ - memif/memif_api.c \ - memif/cli.c \ - memif/node.c \ - memif/device.c \ - memif/socket.c \ - memif/memif_plugin.api.h - -memif_test_plugin_la_SOURCES = \ - memif/memif_test.c memif/memif_plugin.api.h - -noinst_HEADERS += memif/memif.h - -nobase_apiinclude_HEADERS += \ - memif/memif_all_api_h.h \ - memif/memif_msg_enum.h \ - memif/memif.api.h - -API_FILES += memif/memif.api - -if CPU_X86_64 -memif_multiversioning_sources = \ - memif/node.c \ - memif/device.c - -if CC_SUPPORTS_AVX2 -############################################################### -# AVX2 -############################################################### -memif_plugin_avx2_la_SOURCES = $(memif_multiversioning_sources) -memif_plugin_avx2_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX2_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx2 -noinst_LTLIBRARIES += memif_plugin_avx2.la -memif_plugin_la_LIBADD += memif_plugin_avx2.la -endif - -if CC_SUPPORTS_AVX512 -############################################################### -# AVX512 -############################################################### -memif_plugin_avx512_la_SOURCES = $(memif_multiversioning_sources) -memif_plugin_avx512_la_CFLAGS = \ - $(AM_CFLAGS) @CPU_AVX512_FLAGS@ \ - -DCLIB_MARCH_VARIANT=avx512 -noinst_LTLIBRARIES += memif_plugin_avx512.la -memif_plugin_la_LIBADD += memif_plugin_avx512.la -endif -endif - -# vi:syntax=automake diff --git a/src/plugins/nat.am b/src/plugins/nat.am deleted file mode 100644 index ce3e5a2d3ae..00000000000 --- a/src/plugins/nat.am +++ /dev/null @@ -1,55 +0,0 @@ - -# Copyright (c) -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += nat_test_plugin.la -vppplugins_LTLIBRARIES += nat_plugin.la - -nat_plugin_la_SOURCES = nat/nat.c \ - nat/nat_api.c \ - nat/in2out.c \ - nat/out2in.c \ - nat/nat_plugin.api.h \ - nat/nat_ipfix_logging.c \ - nat/nat_det.c \ - nat/nat_reass.c \ - nat/nat_dpo.c \ - nat/nat44_cli.c \ - nat/nat64.c \ - nat/nat64_cli.c \ - nat/nat64_in2out.c \ - nat/nat64_out2in.c \ - nat/nat64_db.c \ - nat/dslite_dpo.c \ - nat/dslite.c \ - nat/dslite_in2out.c \ - nat/dslite_out2in.c \ - nat/dslite_cli.c \ - nat/dslite_ce_encap.c \ - nat/dslite_ce_decap.c \ - nat/nat66.c \ - nat/nat66_cli.c \ - nat/nat66_in2out.c \ - nat/nat66_out2in.c - -API_FILES += nat/nat.api - -nobase_apiinclude_HEADERS += \ - nat/nat_all_api_h.h \ - nat/nat_msg_enum.h \ - nat/nat.api.h - -nat_test_plugin_la_SOURCES = \ - nat/nat_test.c nat/nat_plugin.api.h - -# vi:syntax=automake diff --git a/src/plugins/nsh.am b/src/plugins/nsh.am deleted file mode 100644 index fb1d558587a..00000000000 --- a/src/plugins/nsh.am +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright (c) 2016 Intel and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += nsh_test_plugin.la -vppplugins_LTLIBRARIES += nsh_plugin.la - -nsh_plugin_la_SOURCES = \ - nsh/nsh.c \ - nsh/nsh_pop.c \ - nsh/nsh_output.c \ - nsh/nsh-md2-ioam/nsh_md2_ioam.c \ - nsh/nsh-md2-ioam/nsh_md2_ioam_api.c \ - nsh/nsh-md2-ioam/md2_ioam_transit.c \ - nsh/nsh-md2-ioam/nsh_md2_ioam_trace.c \ - nsh/nsh-md2-ioam/export-nsh-md2-ioam/nsh_md2_ioam_export.c \ - nsh/nsh-md2-ioam/export-nsh-md2-ioam/nsh_md2_ioam_export_thread.c \ - nsh/nsh-md2-ioam/export-nsh-md2-ioam/nsh_md2_ioam_node.c - -BUILT_SOURCES += \ - nsh/nsh_packet.h \ - nsh/nsh.api.h \ - nsh/nsh.api.json \ - nsh/nsh-md2-ioam/nsh_md2_ioam.h \ - nsh/nsh-md2-ioam/nsh_md2_ioam_util.h - -API_FILES += nsh/nsh.api - -nobase_apiinclude_HEADERS += \ - nsh/nsh.api.h - -nsh_test_plugin_la_SOURCES = \ - nsh/nsh_test.c \ - nsh/nsh_plugin.api.h - -# vi:syntax=automake diff --git a/src/plugins/pppoe.am b/src/plugins/pppoe.am deleted file mode 100644 index 5db9b7ab92b..00000000000 --- a/src/plugins/pppoe.am +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (c) 2017 Intel and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppapitestplugins_LTLIBRARIES += pppoe_test_plugin.la -vppplugins_LTLIBRARIES += pppoe_plugin.la - -pppoe_plugin_la_SOURCES = \ - pppoe/pppoe_decap.c \ - pppoe/pppoe_cp.c \ - pppoe/pppoe_cp_node.c \ - pppoe/pppoe.c \ - pppoe/pppoe_api.c - -BUILT_SOURCES += \ - pppoe/pppoe.api.h \ - pppoe/pppoe.api.json - -API_FILES += pppoe/pppoe.api - -nobase_apiinclude_HEADERS += \ - pppoe/pppoe_all_api_h.h \ - pppoe/pppoe_msg_enum.h \ - pppoe/pppoe.api.h - -pppoe_test_plugin_la_SOURCES = \ - pppoe/pppoe_test.c \ - pppoe/pppoe_plugin.api.h - -# vi:syntax=automake diff --git a/src/plugins/srv6_ad.am b/src/plugins/srv6_ad.am deleted file mode 100644 index ea1297b7aaa..00000000000 --- a/src/plugins/srv6_ad.am +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += srv6ad_plugin.la - -srv6ad_plugin_la_SOURCES = \ - srv6-ad/ad.c \ - srv6-ad/node.c - -noinst_HEADERS += srv6-ad/ad.h - -# vi:syntax=automake diff --git a/src/plugins/srv6_am.am b/src/plugins/srv6_am.am deleted file mode 100644 index 5ae7daca55a..00000000000 --- a/src/plugins/srv6_am.am +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += srv6am_plugin.la - -srv6am_plugin_la_SOURCES = \ - srv6-am/am.c \ - srv6-am/node.c - -noinst_HEADERS += srv6-am/am.h - -# vi:syntax=automake diff --git a/src/plugins/srv6_as.am b/src/plugins/srv6_as.am deleted file mode 100644 index 09a41b9239e..00000000000 --- a/src/plugins/srv6_as.am +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += srv6as_plugin.la - -srv6as_plugin_la_SOURCES = \ - srv6-as/as.c \ - srv6-as/node.c - -noinst_HEADERS += srv6-as/as.h - -# vi:syntax=automake - diff --git a/src/plugins/stn.am b/src/plugins/stn.am deleted file mode 100644 index 5e755e2db4e..00000000000 --- a/src/plugins/stn.am +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2016 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += stn_plugin.la -vppapitestplugins_LTLIBRARIES += stn_test_plugin.la - -stn_plugin_la_SOURCES = \ - stn/stn.c \ - stn/stn_api.c \ - stn/stn_plugin.api.h - -stn_test_plugin_la_SOURCES = \ - stn/stn_test.c \ - stn/stn_plugin.api.h - -noinst_HEADERS += stn/stn.h - -nobase_apiinclude_HEADERS += \ - stn/stn_all_api_h.h \ - stn/stn_msg_enum.h \ - stn/stn.api.h - -API_FILES += stn/stn.api - -# vi:syntax=automake diff --git a/src/plugins/tlsmbedtls.am b/src/plugins/tlsmbedtls.am deleted file mode 100644 index 5d1cf2b99f7..00000000000 --- a/src/plugins/tlsmbedtls.am +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2018 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -vppplugins_LTLIBRARIES += tlsmbedtls_plugin.la - -tlsmbedtls_plugin_la_SOURCES = tlsmbedtls/tls_mbedtls.c -tlsmbedtls_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lmbedtls -lmbedx509 -lmbedcrypto -tlsmbedtls_plugin_la_CFLAGS = $(AM_CFLAGS) - -# vi:syntax=automake diff --git a/src/plugins/tlsopenssl.am b/src/plugins/tlsopenssl.am deleted file mode 100644 index 88a20921f91..00000000000 --- a/src/plugins/tlsopenssl.am +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) 2018 Cisco Systems, Inc. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -vppplugins_LTLIBRARIES += tlsopenssl_plugin.la - -tlsopenssl_plugin_la_SOURCES = \ - tlsopenssl/tls_openssl.c \ - tlsopenssl/tls_async.c \ - tlsopenssl/tls_openssl.h -tlsopenssl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lssl -lcrypto -tlsopenssl_plugin_la_CFLAGS = $(AM_CFLAGS) - -# vi:syntax=automake diff --git a/src/plugins/unittest.am b/src/plugins/unittest.am deleted file mode 100644 index 3fba00ff85b..00000000000 --- a/src/plugins/unittest.am +++ /dev/null @@ -1,22 +0,0 @@ - -# Copyright (c) -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -vppplugins_LTLIBRARIES += unittest_plugin.la - -unittest_plugin_la_SOURCES = \ - unittest/unittest.c \ - unittest/tcp_test.c \ - unittest/bihash_test.c - -# vi:syntax=automake -- cgit 1.2.3-korg