summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/CMakeLists.txt
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-07-01 13:16:16 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-07-02 13:13:27 +0000
commit96068d6b94207435f9c9619e2ce7921ebc812ade (patch)
treef7f36f8cc2dfc70730102d72b0ea254d10f84457 /src/plugins/nat/CMakeLists.txt
parentc6eae9c079defa4812270945d614c4598db262d8 (diff)
nat: nat66 to plugin
Type: refactor Change-Id: I8c1f0c02a4522c1f9e461ddadd59938579ec00c6 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/nat/CMakeLists.txt')
-rw-r--r--src/plugins/nat/CMakeLists.txt27
1 files changed, 21 insertions, 6 deletions
diff --git a/src/plugins/nat/CMakeLists.txt b/src/plugins/nat/CMakeLists.txt
index 8803ee0819e..5ce8b8a3273 100644
--- a/src/plugins/nat/CMakeLists.txt
+++ b/src/plugins/nat/CMakeLists.txt
@@ -43,10 +43,6 @@ add_vpp_plugin(nat
nat64_in2out.c
nat64_out2in.c
nat64_db.c
- nat66.c
- nat66_cli.c
- nat66_in2out.c
- nat66_out2in.c
nat_affinity.c
nat_format.c
nat_syslog.c
@@ -60,8 +56,6 @@ add_vpp_plugin(nat
nat44_handoff.c
nat64_in2out.c
nat64_out2in.c
- nat66_in2out.c
- nat66_out2in.c
nat_det_in2out.c
nat_det_out2in.c
out2in.c
@@ -69,6 +63,7 @@ add_vpp_plugin(nat
API_FILES
nat.api
+ nat_types.api
API_TEST_SOURCES
nat_test.c
@@ -101,3 +96,23 @@ add_vpp_plugin(dslite
LINK_LIBRARIES nat
)
+
+add_vpp_plugin(nat66
+ SOURCES
+ nat_syslog.c
+ nat66/nat66.c
+ nat66/nat66_cli.c
+ nat66/nat66_api.c
+ nat66/nat66_in2out.c
+ nat66/nat66_out2in.c
+
+ MULTIARCH_SOURCES
+ nat66/nat66_in2out.c
+ nat66/nat66_out2in.c
+
+ API_FILES
+ nat66/nat66.api
+ nat_types.api
+
+ LINK_LIBRARIES nat
+)