2 # Copyright (c) <current-year> <your-organization>
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 AUTOMAKE_OPTIONS = foreign subdir-objects
17 AM_CFLAGS = @CPU_FLAGS@ -Wall -I${top_srcdir} -I${top_builddir}
18 AM_LDFLAGS = -module -shared -avoid-version
19 AM_LIBTOOLFLAGS = --quiet
20 SUFFIXES = .api.h .api .api.json
23 vppplugins_LTLIBRARIES =
24 vppapitestplugins_LTLIBRARIES =
27 nobase_apiinclude_HEADERS =
28 nobase_include_HEADERS =
30 vppapitestpluginsdir = ${libdir}/vpp_api_test_plugins
31 vpppluginsdir = ${libdir}/vpp_plugins
41 if ENABLE_FLOWPROBE_PLUGIN
62 if ENABLE_KUBEPROXY_PLUGIN
70 if ENABLE_MARVELL_PLUGIN
74 if ENABLE_MEMIF_PLUGIN
78 if ENABLE_PPPOE_PLUGIN
82 if ENABLE_SIXRD_PLUGIN
86 if ENABLE_SRV6AD_PLUGIN
90 if ENABLE_SRV6AM_PLUGIN
94 if ENABLE_SRV6AS_PLUGIN
114 if ENABLE_TLSMBEDTLS_PLUGIN
115 include tlsmbedtls.am
118 include ../suffix-rules.mk
122 @-(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
123 @-(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES))
125 ###############################################################################
127 ###############################################################################
129 apidir = $(prefix)/share/vpp/api/plugins
130 apiincludedir = ${includedir}/vpp_plugins
133 $(patsubst %.api,%.api.json,$(API_FILES))
136 $(patsubst %.api,%.api.h,$(API_FILES))
138 CLEANFILES = $(BUILT_SOURCES) $(api_DATA)