VPP-362 Implement dumping of LISP adjacencies
[vpp.git] / plugins / vcgn-plugin / Makefile.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 AUTOMAKE_OPTIONS = foreign subdir-objects
15
16 AM_CFLAGS = -Wall
17 AM_LDFLAGS = -module -shared -avoid-version
18
19 ########################################
20 # Virtual Carrier Grade NAT
21 ########################################
22
23 libvcgn_plugin_la_SOURCES =                                     \
24         vcgn/cnat_bulk_port.c                                   \
25         vcgn/cnat_config.c                                      \
26         vcgn/cnat_db_scanner.c                                  \
27         vcgn/cnat_db_v2.c                                       \
28         vcgn/cnat_debug_msg_handler.c                           \
29         vcgn/cnat_cli_handler.c                                 \
30         vcgn/cnat_global.c                                      \
31         vcgn/cnat_ipv4_udp_inside_input.c                       \
32         vcgn/cnat_ipv4_udp_inside_input_exceptions.c            \
33         vcgn/cnat_ipv4_udp_outside_input.c                      \
34         vcgn/cnat_ipv4_tcp_inside_input.c                       \
35         vcgn/cnat_ipv4_tcp_inside_input_exceptions.c            \
36         vcgn/cnat_ipv4_tcp_outside_input.c                      \
37         vcgn/cnat_ipv4_icmp_query_inside_input.c                \
38         vcgn/cnat_ipv4_icmp_query_inside_input_exception.c      \
39         vcgn/cnat_ipv4_icmp_query_outside_input.c               \
40         vcgn/cnat_ipv4_icmp_error_inside_input.c                \
41         vcgn/cnat_ipv4_icmp_error_outside_input.c               \
42         vcgn/cnat_logging.c                                     \
43         vcgn/cnat_ports.c                                       \
44         vcgn/cnat_util.c                                        \
45         vcgn/cnat_show.c                                        \
46         vcgn/cnat_syslog.c                                      \
47         vcgn/cnat_v4_functions.c                                \
48         vcgn/index_list.c                                       \
49         vcgn/spp_platform_trace_log.c                           \
50         vcgn/vcgn_classify.c
51
52 nobase_include_HEADERS =                        \
53         vcgn/cgn_bitmap.h                       \
54         vcgn/cgse_defs.h                        \
55         vcgn/cnat_bulk_port_defs.h              \
56         vcgn/cnat_bulk_port.h                   \
57         vcgn/cnat_cli.h                         \
58         vcgn/cnat_common_api.h                  \
59         vcgn/cnat_config_api.h                  \
60         vcgn/cnat_config.h                      \
61         vcgn/cnat_db.h                          \
62         vcgn/cnat_global.h                      \
63         vcgn/cnat_ipv4_icmp.h                   \
64         vcgn/cnat_ipv4_udp.h                    \
65         vcgn/cnat_log_api.h                     \
66         vcgn/cnat_log_common.h                  \
67         vcgn/cnat_logging.h                     \
68         vcgn/cnat_pcp_server.h                  \
69         vcgn/cnat_ports.h                       \
70         vcgn/cnat_show_api.h                    \
71         vcgn/cnat_show_response.h               \
72         vcgn/cnat_syslog.h                      \
73         vcgn/cnat_v4_ftp_alg.h                  \
74         vcgn/cnat_v4_functions.h                \
75         vcgn/cnat_v4_pptp_alg.h                 \
76         vcgn/cnat_va_db.h                       \
77         vcgn/dslite_db.h                        \
78         vcgn/dslite_defs.h                      \
79         vcgn/index_list.h                       \
80         vcgn/nat64_db.h                         \
81         vcgn/nat64_defs.h                       \
82         vcgn/nat64_tcp_sm.h                     \
83         vcgn/platform_common.h                  \
84         vcgn/platform_common_override.h         \
85         vcgn/spp_ctx.h                          \
86         vcgn/spp_platform_trace_log.h           \
87         vcgn/spp_timers.h                       \
88         vcgn/tcp_header_definitions.h           \
89         vcgn/vcgn_db.h
90
91 vpppluginsdir = ${libdir}/vpp_plugins
92
93 vppplugins_LTLIBRARIES = libvcgn_plugin.la
94
95 # Remove *.la files
96 install-data-hook:
97         @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))