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
49 if ENABLE_FLOWPROBE_PLUGIN
74 if ENABLE_KUBEPROXY_PLUGIN
86 if ENABLE_MARVELL_PLUGIN
90 if ENABLE_MEMIF_PLUGIN
94 if ENABLE_PPPOE_PLUGIN
98 if ENABLE_SRV6AD_PLUGIN
102 if ENABLE_SRV6AM_PLUGIN
106 if ENABLE_SRV6AS_PLUGIN
126 if ENABLE_TLSMBEDTLS_PLUGIN
127 include tlsmbedtls.am
130 if ENABLE_TLSOPENSSL_PLUGIN
131 include tlsopenssl.am
134 include ../suffix-rules.mk
138 @-(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
139 @-(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES))
141 ###############################################################################
143 ###############################################################################
145 apidir = $(prefix)/share/vpp/api/plugins
146 apiincludedir = ${includedir}/vpp_plugins
149 $(patsubst %.api,%.api.json,$(API_FILES))
152 $(patsubst %.api,%.api.h,$(API_FILES))
154 CLEANFILES = $(BUILT_SOURCES) $(api_DATA)