Switch to cmake

Change-Id: I982b69390c55b5ffbd744f355efc0aaf425b360c
Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
Damjan Marion
2018-08-24 13:37:45 +02:00
parent edc4387602
commit 855e26868f
57 changed files with 76 additions and 4736 deletions

View File

@ -21,10 +21,6 @@ STARTUP_DIR?=$(PWD)
MACHINE=$(shell uname -m) MACHINE=$(shell uname -m)
SUDO?=sudo SUDO?=sudo
ifeq ($(findstring $(MAKECMDGOALS),verify pkg-deb pkg-rpm test test-debug),)
export vpp_uses_cmake?=yes
endif
,:=, ,:=,
define disable_plugins define disable_plugins
$(if $(1), \ $(if $(1), \
@ -92,6 +88,7 @@ RPM_DEPENDS += numactl-devel
RPM_DEPENDS += check check-devel RPM_DEPENDS += check check-devel
RPM_DEPENDS += boost boost-devel RPM_DEPENDS += boost boost-devel
RPM_DEPENDS += selinux-policy selinux-policy-devel RPM_DEPENDS += selinux-policy selinux-policy-devel
RPM_DEPENDS += cmake3 ninja-build
ifeq ($(OS_ID)-$(OS_VERSION_ID),fedora-25) ifeq ($(OS_ID)-$(OS_VERSION_ID),fedora-25)
RPM_DEPENDS += subunit subunit-devel RPM_DEPENDS += subunit subunit-devel
@ -111,6 +108,7 @@ else
RPM_DEPENDS += openssl-devel RPM_DEPENDS += openssl-devel
RPM_DEPENDS += python-devel python-ply RPM_DEPENDS += python-devel python-ply
RPM_DEPENDS += python-virtualenv RPM_DEPENDS += python-virtualenv
RPM_DEPENDS += devtoolset-7
RPM_DEPENDS_GROUPS = 'Development Tools' RPM_DEPENDS_GROUPS = 'Development Tools'
endif endif
@ -289,6 +287,7 @@ endif
@sudo -E apt-get $(APT_ARGS) $(CONFIRM) $(FORCE) install $(DEB_DEPENDS) @sudo -E apt-get $(APT_ARGS) $(CONFIRM) $(FORCE) install $(DEB_DEPENDS)
else ifneq ("$(wildcard /etc/redhat-release)","") else ifneq ("$(wildcard /etc/redhat-release)","")
@sudo -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS) @sudo -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
@sudo -E yum install $(CONFIRM) centos-release-scl-rh
@sudo -E yum install $(CONFIRM) $(RPM_DEPENDS) @sudo -E yum install $(CONFIRM) $(RPM_DEPENDS)
@sudo -E debuginfo-install $(CONFIRM) glibc openssl-libs mbedtls-devel zlib @sudo -E debuginfo-install $(CONFIRM) glibc openssl-libs mbedtls-devel zlib
else ifeq ($(filter opensuse-tumbleweed,$(OS_ID)),$(OS_ID)) else ifeq ($(filter opensuse-tumbleweed,$(OS_ID)),$(OS_ID))
@ -548,6 +547,7 @@ verify: install-dep $(BR)/.deps.ok dpdk-install-dev
$(call banner,"Building $(PKG) packages") $(call banner,"Building $(PKG) packages")
@make pkg-$(PKG) @make pkg-$(PKG)
ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04) ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04)
$(call banner,"Running tests")
@make COMPRESS_FAILED_TEST_LOGS=yes RETRIES=3 test @make COMPRESS_FAILED_TEST_LOGS=yes RETRIES=3 test
endif endif

View File

@ -12,46 +12,7 @@
# limitations under the License. # limitations under the License.
vpp_source = src vpp_source = src
ifneq ($(vpp_uses_cmake),yes)
ifeq ($($(PLATFORM)_dpdk_shared_lib),yes)
vpp_configure_args = --enable-dpdk-shared
else
vpp_configure_args =
endif
# Platform dependent configure flags
vpp_configure_args += $(vpp_configure_args_$(PLATFORM))
vpp_CPPFLAGS =
vpp_LDFLAGS =
ifneq ($($(PLATFORM)_uses_dpdk),no)
ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
vpp_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
vpp_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
else
vpp_configure_depend += dpdk-install
vpp_CPPFLAGS += $(call installed_includes_fn, dpdk)/dpdk
vpp_LDFLAGS += $(call installed_libs_fn, dpdk)
vpp_CPPFLAGS += -I/usr/include/dpdk
endif
ifeq ($($(PLATFORM)_uses_dpdk_mlx5_pmd),yes)
vpp_configure_args += --with-dpdk-mlx5-pmd
endif
ifeq ($($(PLATFORM)_uses_dpdk_mlx4_pmd),yes)
vpp_configure_args += --with-dpdk-mlx4-pmd
endif
else
vpp_configure_args += --disable-dpdk-plugin
endif
ifeq ($($(PLATFORM)_enable_tests),yes)
vpp_configure_args += --enable-tests
endif
else
ifneq ($(shell which cmake3),) ifneq ($(shell which cmake3),)
CMAKE?=cmake3 CMAKE?=cmake3
else else
@ -77,4 +38,3 @@ vpp_configure = \
#vpp_make_args = --no-print-directory #vpp_make_args = --no-print-directory
vpp_build = $(CMAKE) --build $(PACKAGE_BUILD_DIR) vpp_build = $(CMAKE) --build $(PACKAGE_BUILD_DIR)
vpp_install = $(CMAKE) --build $(PACKAGE_BUILD_DIR) -- install | grep -v 'Set runtime path' vpp_install = $(CMAKE) --build $(PACKAGE_BUILD_DIR) -- install | grep -v 'Set runtime path'
endif

View File

@ -71,10 +71,6 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
echo ../../src/scripts/vppctl_completion /etc/bash_completion.d \ echo ../../src/scripts/vppctl_completion /etc/bash_completion.d \
>> deb/debian/vpp.install ; \ >> deb/debian/vpp.install ; \
\ \
: move dictionary of vppctl commands ; \
echo ../../src/scripts/vppctl-cmd-list /usr/share/vpp \
>> deb/debian/vpp.install ; \
\
: add log directory ; \ : add log directory ; \
echo /var/log/vpp/ \ echo /var/log/vpp/ \
>> deb/debian/vpp.dirs ; \ >> deb/debian/vpp.dirs ; \

View File

@ -23,9 +23,6 @@ vpp_native_tools = vppapigen
vpp_uses_dpdk = yes vpp_uses_dpdk = yes
# use cmake as an alternative to autotools
# vpp_uses_cmake = yes
# Uncoment to enable building unit tests # Uncoment to enable building unit tests
# vpp_enable_tests = yes # vpp_enable_tests = yes

View File

@ -213,8 +213,6 @@ for file in $(find %{_vpp_install_dir}/vpp/share/vpp/api -type f -name '*.api.j
do do
install -p -m 644 $file %{buildroot}%{_datadir}/vpp/api install -p -m 644 $file %{buildroot}%{_datadir}/vpp/api
done done
install -p -m 644 %{_vpp_build_dir}/../src/scripts/vppctl_completion %{buildroot}%{_sysconfdir}/bash_completion.d
install -p -m 644 %{_vpp_build_dir}/../src/scripts/vppctl-cmd-list %{buildroot}%{_datadir}/vpp
# Lua bindings # Lua bindings
mkdir -p -m755 %{buildroot}%{_datadir}/doc/vpp/examples/lua/examples/cli mkdir -p -m755 %{buildroot}%{_datadir}/doc/vpp/examples/lua/examples/cli
@ -321,8 +319,6 @@ export NO_BRP_CHECK_RPATH=true
%dir %{_sysconfdir}/vpp %dir %{_sysconfdir}/vpp
%config %{_sysconfdir}/sysctl.d/80-vpp.conf %config %{_sysconfdir}/sysctl.d/80-vpp.conf
%config %{_sysconfdir}/vpp/startup.conf %config %{_sysconfdir}/vpp/startup.conf
%{_sysconfdir}/bash_completion.d/vppctl_completion
%{_datadir}/vpp/vppctl-cmd-list
%license LICENSE %license LICENSE
%files -n %{lname} %files -n %{lname}

View File

@ -208,8 +208,6 @@ for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/vpp/share/vpp/api -type
do do
install -p -m 644 $file %{buildroot}/usr/share/vpp/api install -p -m 644 $file %{buildroot}/usr/share/vpp/api
done done
install -p -m 644 %{_mu_build_dir}/../src/scripts/vppctl_completion %{buildroot}/etc/bash_completion.d
install -p -m 644 %{_mu_build_dir}/../src/scripts/vppctl-cmd-list %{buildroot}/usr/share/vpp
# Lua bindings # Lua bindings
mkdir -p -m755 %{buildroot}/usr/share/doc/vpp/examples/lua/examples/cli mkdir -p -m755 %{buildroot}/usr/share/doc/vpp/examples/lua/examples/cli
@ -384,8 +382,6 @@ fi
%exclude %{_libdir}/vpp_api_test_plugins %exclude %{_libdir}/vpp_api_test_plugins
%{_libdir}/* %{_libdir}/*
/usr/share/vpp/api/* /usr/share/vpp/api/*
/etc/bash_completion.d/vppctl_completion
/usr/share/vpp/vppctl-cmd-list
%files api-lua %files api-lua
%defattr(644,root,root,644) %defattr(644,root,root,644)

View File

@ -110,3 +110,4 @@ pr("Linker flags" "${CMAKE_LINKER_FLAGS}")
pr("Target processor" "${CMAKE_SYSTEM_PROCESSOR}") pr("Target processor" "${CMAKE_SYSTEM_PROCESSOR}")
pr("Build type" "${CMAKE_BUILD_TYPE}") pr("Build type" "${CMAKE_BUILD_TYPE}")
pr("Install prefix" "${CMAKE_INSTALL_PREFIX}") pr("Install prefix" "${CMAKE_INSTALL_PREFIX}")

View File

@ -1,99 +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.
###############################################################################
# Global Defines
###############################################################################
AUTOMAKE_OPTIONS = foreign subdir-objects
ACLOCAL_AMFLAGS = -I m4
AM_LIBTOOLFLAGS = --quiet
AM_CFLAGS = @CPU_FLAGS@ -Wall
AM_CXXFLAGS = -Wall -std=gnu++11
SUBDIRS = .
SUFFIXES = .api.h .api .api.json
API_FILES =
noinst_HEADERS =
dist_bin_SCRIPTS =
lib_LTLIBRARIES =
BUILT_SOURCES =
CLEANFILES =
install-data-local:
@echo "Building vppctl command list..."
@DIR_SEARCH="$(srcdir)" ; \
DIR_EXCLUDE="examples" ; \
GREP_TIME=`time (grep -wIr "\.path = " $$DIR_SEARCH --exclude-dir=$$DIR_EXCLUDE \
| cut -d '"' -f2 | sort -u > $(srcdir)/scripts/vppctl-cmd-list) 2>&1` ; \
GREP_TIME=`echo $$GREP_TIME | awk '{print $$2}'` ; \
echo "Command list built, Time taken: $$GREP_TIME"
###############################################################################
# Components
###############################################################################
include vppinfra.am
include vppapigen.am
if ENABLE_PERFTOOL
include perftool.am
endif
if ENABLE_G2
include g2.am
endif
if ENABLE_SVM
include svm.am
endif
if ENABLE_VLIB
include vlib.am
endif
if ENABLE_SVM
if ENABLE_VLIB
include vlib-api.am
include vnet.am
include vpp.am
include vpp-api-test.am
include vcl.am
SUBDIRS += plugins
SUBDIRS += vpp-api/vapi
if ENABLE_PAPI
include vpp-api.am
SUBDIRS += vpp-api/python
endif
###############################################################################
# API
###############################################################################
include suffix-rules.mk
# Set the suffix list
apidir = $(prefix)/share/vpp/api/core
api_DATA = \
$(patsubst %.api,%.api.json,$(API_FILES))
BUILT_SOURCES += \
$(patsubst %.api,%.api.h,$(API_FILES))
endif # if ENABLE_VLIB
endif # if ENABLE_SVM
CLEANFILES += $(BUILT_SOURCES) $(api_DATA)

File diff suppressed because it is too large Load Diff

View File

@ -1,32 +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.
bin_PROGRAMS += g2
g2_SOURCES = \
tools/g2/clib.c \
tools/g2/cpel.c \
tools/g2/cpel.h \
tools/g2/events.c \
tools/g2/g2.h \
tools/g2/main.c \
tools/g2/menu1.c \
tools/g2/pointsel.c \
tools/g2/props.c \
tools/g2/props.h \
tools/g2/g2version.c \
tools/g2/view1.c
g2_LDADD = $(g2_LIBS) libvppinfra.la -lpthread -lm
# vi:syntax=automake

View File

@ -1,44 +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.
bin_PROGRAMS += c2cpel cpelatency cpeldump cpelinreg cpelstate elog_merge
lib_LTLIBRARIES += libcperf.la
libcperf_la_SOURCES = \
tools/perftool/delsvec.c \
tools/perftool/linreg.c \
tools/perftool/props.c \
tools/perftool/cpel_util.c
PERFTOOL_LIBS = libcperf.la libvppinfra.la -lm
c2cpel_SOURCES = tools/perftool/c2cpel.c
c2cpel_LDADD = $(PERFTOOL_LIBS)
cpelatency_SOURCES = tools/perftool/cpelatency.c
cpelatency_LDADD = $(PERFTOOL_LIBS)
cpeldump_SOURCES = tools/perftool/cpeldump.c
cpeldump_LDADD = $(PERFTOOL_LIBS)
cpelinreg_SOURCES = tools/perftool/cpelinreg.c
cpelinreg_LDADD = $(PERFTOOL_LIBS)
cpelstate_SOURCES = tools/perftool/cpelstate.c
cpelstate_LDADD = $(PERFTOOL_LIBS)
elog_merge_SOURCES = tools/perftool/elog_merge.c
elog_merge_LDADD = $(PERFTOOL_LIBS)
# vi:syntax=automake

View File

@ -1,170 +0,0 @@
# Copyright (c) <current-year> <your-organization>
# 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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,37 +0,0 @@
# Copyright (c) <current-year> <your-organization>
# 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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,36 +0,0 @@
# Copyright (c) <current-year> <your-organization>
# 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

View File

@ -1,39 +0,0 @@
# Copyright (c) <current-year> <your-organization>
# 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

View File

@ -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

Some files were not shown because too many files have changed in this diff Show More