nat: use correct data types for memory sizes
[vpp.git] / src / plugins / nat / CMakeLists.txt
1 # Copyright (c) 2018 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 set(CMAKE_VERBOSE_MAKEFILE ON)
15
16 add_vpp_library(nat
17   SOURCES
18   lib/alloc.c
19
20   INSTALL_HEADERS
21   lib/alloc.h
22 )
23
24 add_vpp_plugin(nat
25   SOURCES
26   nat.c
27   nat_api.c
28   in2out.c
29   in2out_ed.c
30   out2in.c
31   out2in_ed.c
32   nat_ipfix_logging.c
33   nat_det.c
34   nat_det_in2out.c
35   nat_det_out2in.c
36   nat_dpo.c
37   nat44_cli.c
38   nat44_handoff.c
39   nat44_hairpinning.c
40   nat44_classify.c
41   nat64.c
42   nat64_cli.c
43   nat64_in2out.c
44   nat64_out2in.c
45   nat64_db.c
46   nat66.c
47   nat66_cli.c
48   nat66_in2out.c
49   nat66_out2in.c
50   nat_affinity.c
51   nat_format.c
52   nat_syslog.c
53   nat_ha.c
54
55   MULTIARCH_SOURCES
56   in2out.c
57   in2out_ed.c
58   nat44_classify.c
59   nat44_hairpinning.c
60   nat44_handoff.c
61   nat64_in2out.c
62   nat64_out2in.c
63   nat66_in2out.c
64   nat66_out2in.c
65   nat_det_in2out.c
66   nat_det_out2in.c
67   out2in.c
68   out2in_ed.c
69
70   API_FILES
71   nat.api
72
73   API_TEST_SOURCES
74   nat_test.c
75
76   INSTALL_HEADERS
77   nat_all_api_h.h
78   nat_msg_enum.h
79 )
80
81 add_vpp_plugin(dslite
82   SOURCES
83   nat_syslog.c
84   dslite/dslite_api.c
85   dslite/dslite_dpo.c
86   dslite/dslite.c
87   dslite/dslite_in2out.c
88   dslite/dslite_out2in.c
89   dslite/dslite_cli.c
90   dslite/dslite_ce_encap.c
91   dslite/dslite_ce_decap.c
92
93   MULTIARCH_SOURCES
94   dslite/dslite_ce_decap.c
95   dslite/dslite_ce_encap.c
96   dslite/dslite_in2out.c
97   dslite/dslite_out2in.c
98
99   API_FILES
100   dslite/dslite.api
101
102   LINK_LIBRARIES nat
103 )