IPIP: Add IP{v4,v6} over IP{v4,v6} configured tunnel support.
[vpp.git] / src / plugins / Makefile.am
1
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:
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14
15 AUTOMAKE_OPTIONS = foreign subdir-objects
16
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
21 API_FILES =
22 BUILT_SOURCES =
23 vppplugins_LTLIBRARIES =
24 vppapitestplugins_LTLIBRARIES =
25 noinst_HEADERS =
26 noinst_LTLIBRARIES =
27 nobase_apiinclude_HEADERS =
28 nobase_include_HEADERS =
29
30 vppapitestpluginsdir = ${libdir}/vpp_api_test_plugins
31 vpppluginsdir = ${libdir}/vpp_plugins
32
33 if ENABLE_ACL_PLUGIN
34 include acl.am
35 endif
36
37 if ENABLE_CDP_PLUGIN
38 include cdp.am
39 endif
40
41 if ENABLE_DPDK_PLUGIN
42 include dpdk.am
43 endif
44
45 if ENABLE_FLOWPROBE_PLUGIN
46 include flowprobe.am
47 endif
48
49
50 if ENABLE_GTPU_PLUGIN
51 include gtpu.am
52 endif
53
54 if ENABLE_ILA_PLUGIN
55 include ila.am
56 endif
57
58 if ENABLE_IOAM_PLUGIN
59 include ioam.am
60 endif
61
62 if ENABLE_IXGE_PLUGIN
63 include ixge.am
64 endif
65
66 if ENABLE_KUBEPROXY_PLUGIN
67 include kubeproxy.am
68 endif
69
70 if ENABLE_LB_PLUGIN
71 include lb.am
72 endif
73
74 if ENABLE_MARVELL_PLUGIN
75 include marvell.am
76 endif
77
78 if ENABLE_MEMIF_PLUGIN
79 include memif.am
80 endif
81
82 if ENABLE_PPPOE_PLUGIN
83 include pppoe.am
84 endif
85
86 if ENABLE_SRV6AD_PLUGIN
87 include srv6_ad.am
88 endif
89
90 if ENABLE_SRV6AM_PLUGIN
91 include srv6_am.am
92 endif
93
94 if ENABLE_SRV6AS_PLUGIN
95 include srv6_as.am
96 endif
97
98 if ENABLE_NAT_PLUGIN
99 include nat.am
100 endif
101
102 if ENABLE_STN_PLUGIN
103 include stn.am
104 endif
105
106 if ENABLE_L2E_PLUGIN
107 include l2e.am
108 endif
109
110 if ENABLE_GBP_PLUGIN
111 include gbp.am
112 endif
113
114 if ENABLE_TLSMBEDTLS_PLUGIN
115 include tlsmbedtls.am
116 endif
117
118 include ../suffix-rules.mk
119
120 # Remove *.la files
121 install-data-hook:
122         @-(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))
123         @-(cd $(vppapitestpluginsdir) && $(RM) $(vppapitestplugins_LTLIBRARIES))
124
125 ###############################################################################
126 # API
127 ###############################################################################
128
129 apidir = $(prefix)/share/vpp/api/plugins
130 apiincludedir = ${includedir}/vpp_plugins
131
132 api_DATA = \
133         $(patsubst %.api,%.api.json,$(API_FILES))
134
135 BUILT_SOURCES += \
136         $(patsubst %.api,%.api.h,$(API_FILES))
137
138 CLEANFILES = $(BUILT_SOURCES) $(api_DATA)