Move java,lua api and remaining plugins to src/
[vpp.git] / src / plugins / ioam.am
1 # Copyright (c) 2015 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14
15 ########################################
16 # iOAM Proof of Transit
17 ########################################
18
19 ioam_pot_plugin_la_SOURCES =                    \
20         ioam/lib-pot/pot_util.c                 \
21         ioam/encap/ip6_ioam_pot.c               \
22         ioam/lib-pot/pot_util.h                 \
23         ioam/lib-pot/math64.h                   \
24         ioam/lib-pot/pot_api.c
25
26 noinst_HEADERS +=                               \
27   ioam/lib-pot/pot_all_api_h.h                  \
28   ioam/lib-pot/pot_msg_enum.h                   \
29   ioam/lib-pot/pot.api.h                        \
30   ioam/lib-pot/pot_util.h                       \
31   ioam/lib-pot/math64.h
32
33 API_FILES += ioam/lib-pot/pot.api
34
35 ioam_pot_test_plugin_la_SOURCES =               \
36         ioam/lib-pot/pot_test.c                 \
37         ioam/lib-pot/pot_plugin.api.h
38
39 vppapitestplugins_LTLIBRARIES += ioam_pot_test_plugin.la
40 vppplugins_LTLIBRARIES += ioam_pot_plugin.la
41
42 ########################################
43 # iOAM trace export for IPv6
44 ########################################
45
46 ioam_export_plugin_la_SOURCES =   \
47 ioam/export/ioam_export.c         \
48 ioam/export/node.c                \
49 ioam/export/ioam_export.api.h     \
50 ioam/export/ioam_export_thread.c
51
52 noinst_HEADERS +=                       \
53   ioam/export/ioam_export_all_api_h.h   \
54   ioam/export/ioam_export_msg_enum.h    \
55   ioam/export/ioam_export.api.h
56
57 API_FILES += ioam/export/ioam_export.api
58
59 ioam_export_test_plugin_la_SOURCES =  \
60   ioam/export/ioam_export_test.c      \
61   ioam/export/ioam_export_plugin.api.h
62
63 vppapitestplugins_LTLIBRARIES += ioam_export_test_plugin.la
64 vppplugins_LTLIBRARIES += ioam_export_plugin.la
65
66 ########################################
67 # iOAM Trace
68 ########################################
69 libioam_trace_plugin_la_SOURCES =               \
70         ioam/lib-trace/trace_util.c             \
71         ioam/encap/ip6_ioam_trace.c             \
72         ioam/lib-trace/trace_util.h             \
73         ioam/lib-trace/trace_api.c
74
75 noinst_HEADERS +=                       \
76   ioam/export/ioam_export_all_api_h.h   \
77   ioam/lib-trace/trace_all_api_h.h      \
78   ioam/lib-trace/trace_msg_enum.h       \
79   ioam/lib-trace/trace.api.h            \
80   ioam/lib-trace/trace_util.h
81
82 API_FILES += ioam/lib-trace/trace.api
83
84 ioam_trace_test_plugin_la_SOURCES =             \
85         ioam/lib-trace/trace_test.c             \
86         ioam/lib-trace/trace_plugin.api.h
87
88 vppapitestplugins_LTLIBRARIES += ioam_trace_test_plugin.la
89 vppplugins_LTLIBRARIES += libioam_trace_plugin.la
90
91 ########################################
92 # VxLAN-GPE
93 ########################################
94 libioam_vxlan_gpe_plugin_la_SOURCES =                   \
95         ioam/lib-vxlan-gpe/ioam_encap.c                 \
96         ioam/lib-vxlan-gpe/ioam_decap.c                 \
97         ioam/lib-vxlan-gpe/ioam_transit.c               \
98         ioam/lib-vxlan-gpe/ioam_pop.c                   \
99         ioam/lib-vxlan-gpe/vxlan_gpe_api.c              \
100         ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c       \
101         ioam/lib-vxlan-gpe/vxlan_gpe_ioam.c             \
102         ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.c   \
103         ioam/export-vxlan-gpe/vxlan_gpe_node.c          \
104         ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h\
105         ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c
106
107 noinst_HEADERS +=                       \
108   ioam/export/ioam_export_all_api_h.h   \
109   ioam/lib-vxlan-gpe/vxlan_gpe_all_api_h.h                      \
110   ioam/lib-vxlan-gpe/vxlan_gpe_msg_enum.h                       \
111   ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api.h                       \
112   ioam/lib-vxlan-gpe/vxlan_gpe_ioam_util.h                      \
113   ioam/lib-vxlan-gpe/vxlan_gpe_ioam_packet.h                    \
114   ioam/lib-vxlan-gpe/vxlan_gpe_ioam.h           \
115   ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_all_api_h.h       \
116   ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_msg_enum.h        \
117   ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h
118
119 API_FILES += ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api
120 API_FILES += ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api
121
122 ioam_vxlan_gpe_test_plugin_la_SOURCES =         \
123         ioam/lib-vxlan-gpe/vxlan_gpe_test.c                     \
124         ioam/lib-vxlan-gpe/vxlan_gpe_plugin.api.h
125
126 vppapitestplugins_LTLIBRARIES += ioam_vxlan_gpe_test_plugin.la
127 vppplugins_LTLIBRARIES += libioam_vxlan_gpe_plugin.la
128
129 vxlan_gpe_ioam_export_test_plugin_la_SOURCES =          \
130   ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c      \
131   ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_plugin.api.h
132
133 vppapitestplugins_LTLIBRARIES += vxlan_gpe_ioam_export_test_plugin.la
134
135 ########################################
136 # iOAM E2E plugin
137 ########################################
138
139 ioam_e2e_plugin_la_SOURCES =                \
140         ioam/encap/ip6_ioam_e2e.c               \
141         ioam/encap/ip6_ioam_seqno.c             \
142         ioam/encap/ip6_ioam_seqno_analyse.c
143
144 noinst_HEADERS +=                    \
145         ioam/encap/ip6_ioam_e2e.h        \
146         ioam/encap/ip6_ioam_seqno.h
147
148 vppplugins_LTLIBRARIES += ioam_e2e_plugin.la
149
150 # vi:syntax=automake