X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fioam%2FCMakeLists.txt;h=3f465591e445592ab55928e92603416cf145245c;hb=eb6c7999477cfbca77223be3ef7f11528da9f093;hp=ed8bd196aba119cd9dbece1da641c026df0effa1;hpb=612dd6a955e44d2c0fed1801fb8de585ca695c63;p=vpp.git diff --git a/src/plugins/ioam/CMakeLists.txt b/src/plugins/ioam/CMakeLists.txt index ed8bd196aba..3f465591e44 100644 --- a/src/plugins/ioam/CMakeLists.txt +++ b/src/plugins/ioam/CMakeLists.txt @@ -11,27 +11,24 @@ # See the License for the specific language governing permissions and # limitations under the License. -add_vpp_plugin(ioam_plugin +add_vpp_plugin(ioam + SOURCES # iOAM Proof of Transit - lib-pot/pot.api lib-pot/pot_util.c encap/ip6_ioam_pot.c lib-pot/pot_api.c # iOAM trace export for IPv6 - export/ioam_export.api export/ioam_export.c export/node.c export/ioam_export_thread.c # iOAM Trace - lib-trace/trace.api lib-trace/trace_util.c encap/ip6_ioam_trace.c lib-trace/trace_api.c # VxLAN-GPE - lib-vxlan-gpe/ioam_vxlan_gpe.api lib-vxlan-gpe/ioam_encap.c lib-vxlan-gpe/ioam_decap.c lib-vxlan-gpe/ioam_transit.c @@ -39,7 +36,6 @@ add_vpp_plugin(ioam_plugin lib-vxlan-gpe/vxlan_gpe_api.c lib-vxlan-gpe/vxlan_gpe_ioam_trace.c lib-vxlan-gpe/vxlan_gpe_ioam.c - export-vxlan-gpe/vxlan_gpe_ioam_export.api export-vxlan-gpe/vxlan_gpe_ioam_export.c export-vxlan-gpe/vxlan_gpe_node.c export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c @@ -59,41 +55,63 @@ add_vpp_plugin(ioam_plugin analyse/ioam_summary_export.c # iOAM record cache and rewrite - ip6/ioam_cache.api ip6/ioam_cache.c ip6/ioam_cache_node.c ip6/ioam_cache_tunnel_select_node.c # udp ping - udp-ping/udp_ping.api udp-ping/udp_ping_node.c udp-ping/udp_ping_util.c udp-ping/udp_ping_export.c udp-ping/udp_ping_api.c -) -add_vpp_api_test_plugin(ioam_pot_test_plugin + API_FILES lib-pot/pot.api - lib-pot/pot_test.c -) - -add_vpp_api_test_plugin(ioam_export_test_plugin export/ioam_export.api - export/ioam_export_test.c -) - -add_vpp_api_test_plugin(ioam_trace_test_plugin lib-trace/trace.api - lib-trace/trace_test.c -) - -add_vpp_api_test_plugin(ioam_vxlan_gpe_test_plugin lib-vxlan-gpe/ioam_vxlan_gpe.api - lib-vxlan-gpe/vxlan_gpe_test.c -) - -add_vpp_api_test_plugin(ioam_udp_ping_test_plugin + export-vxlan-gpe/vxlan_gpe_ioam_export.api + ip6/ioam_cache.api udp-ping/udp_ping.api + + INSTALL_HEADERS + lib-pot/pot_all_api_h.h + lib-pot/pot_msg_enum.h + lib-pot/pot_util.h + lib-pot/math64.h + export/ioam_export_all_api_h.h + export/ioam_export_msg_enum.h + lib-trace/trace_all_api_h.h + lib-trace/trace_msg_enum.h + lib-trace/trace_util.h + encap/ip6_ioam_trace.h + lib-trace/trace_config.h + export-common/ioam_export.h + lib-vxlan-gpe/vxlan_gpe_all_api_h.h + lib-vxlan-gpe/vxlan_gpe_msg_enum.h + lib-vxlan-gpe/vxlan_gpe_ioam_util.h + lib-vxlan-gpe/vxlan_gpe_ioam_packet.h + lib-vxlan-gpe/vxlan_gpe_ioam.h + export-vxlan-gpe/vxlan_gpe_ioam_export_all_api_h.h + export-vxlan-gpe/vxlan_gpe_ioam_export_msg_enum.h + encap/ip6_ioam_e2e.h + encap/ip6_ioam_seqno.h + lib-e2e/ioam_seqno_lib.h + ip6/ioam_cache_all_api_h.h + ip6/ioam_cache_msg_enum.h + udp-ping/udp_ping_packet.h + udp-ping/udp_ping.h + udp-ping/udp_ping_util.h + udp-ping/udp_ping_all_api_h.h + udp-ping/udp_ping_msg_enum.h + + API_TEST_SOURCES + ioam_test.c + lib-pot/pot_test.c + export/ioam_export_test.c + export-vxlan-gpe/vxlan_gpe_ioam_export_test.c + lib-trace/trace_test.c + lib-vxlan-gpe/vxlan_gpe_test.c udp-ping/udp_ping_test.c )