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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
14 AUTOMAKE_OPTIONS = foreign subdir-objects
17 AM_LDFLAGS = -module -shared -avoid-version
19 ########################################
20 # Virtual Carrier Grade NAT
21 ########################################
23 libvcgn_plugin_la_SOURCES = \
24 vcgn/cnat_bulk_port.c \
26 vcgn/cnat_db_scanner.c \
28 vcgn/cnat_debug_msg_handler.c \
29 vcgn/cnat_cli_handler.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 \
47 vcgn/cnat_v4_functions.c \
49 vcgn/spp_platform_trace_log.c \
52 nobase_include_HEADERS = \
55 vcgn/cnat_bulk_port_defs.h \
56 vcgn/cnat_bulk_port.h \
58 vcgn/cnat_common_api.h \
59 vcgn/cnat_config_api.h \
63 vcgn/cnat_ipv4_icmp.h \
64 vcgn/cnat_ipv4_udp.h \
66 vcgn/cnat_log_common.h \
68 vcgn/cnat_pcp_server.h \
70 vcgn/cnat_show_api.h \
71 vcgn/cnat_show_response.h \
73 vcgn/cnat_v4_ftp_alg.h \
74 vcgn/cnat_v4_functions.h \
75 vcgn/cnat_v4_pptp_alg.h \
83 vcgn/platform_common.h \
84 vcgn/platform_common_override.h \
86 vcgn/spp_platform_trace_log.h \
88 vcgn/tcp_header_definitions.h \
91 vpppluginsdir = ${libdir}/vpp_plugins
93 vppplugins_LTLIBRARIES = libvcgn_plugin.la
97 @(cd $(vpppluginsdir) && $(RM) $(vppplugins_LTLIBRARIES))