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
53 if ENABLE_FLOWPROBE_PLUGIN
86 if ENABLE_MACTIME_PLUGIN
90 if ENABLE_MARVELL_PLUGIN
94 if ENABLE_MEMIF_PLUGIN
98 if ENABLE_PPPOE_PLUGIN
102 if ENABLE_SRV6AD_PLUGIN
106 if ENABLE_SRV6AM_PLUGIN
110 if ENABLE_SRV6AS_PLUGIN
134 if ENABLE_TLSMBEDTLS_PLUGIN
135 include tlsmbedtls.am
138 if ENABLE_TLSOPENSSL_PLUGIN
139 include tlsopenssl.am
142 include ../suffix-rules.mk
146 @-(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
147 @-(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES))
149 ###############################################################################
151 ###############################################################################
153 apidir = $(prefix)/share/vpp/api/plugins
154 apiincludedir = ${includedir}/vpp_plugins
157 $(patsubst %.api,%.api.json,$(API_FILES))
160 $(patsubst %.api,%.api.h,$(API_FILES))
162 CLEANFILES = $(BUILT_SOURCES) $(api_DATA)