-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile.am
77 lines (67 loc) · 3.42 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# Copyright (c) 2019 Dell Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
# LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS
# FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
#
# See the Apache Version 2.0 License for specific language governing
# permissions and limitations under the License.
#
ACLOCAL_AMFLAGS=-I m4
SUBDIRS = inc
bin_SCRIPTS = scripts/bin/*
pyutilsdir=$(libdir)/opx
pyutils_SCRIPTS = scripts/lib/python/*.py
cfgdir = $(sysconfdir)/opx
cfg_SCRIPTS = scripts/*.xml
lib_LTLIBRARIES=libopx_nas_interface.la libopx_nas_meta_packet.la libopx_nas_packet_io.la
AM_CPPFLAGS=-D_FILE_OFFSET_BITS=64 -I$(top_srcdir)/inc/opx -I$(includedir)/opx
AM_CXXFLAGS=-std=c++11
AM_LDFLAGS=-shared -version-info 1:1:0 -levent
libopx_nas_interface_la_SOURCES=src/swp_util_tap.c src/nas_int_main.cpp \
src/nas_int_common_obj.cpp \
src/nas_int_ev_handlers.cpp src/nas_int_base_if.cpp \
src/lag/nas_int_lag.c src/lag/nas_int_lag_api.cpp src/lag/nas_int_lag_cps.cpp \
src/port/hal_int_utils.c src/port/nas_int_logical_cps.cpp \
src/port/nas_int_port.cpp src/port/nas_fc_intf.cpp src/port/nas_int_physical_cps.cpp \
src/stats/nas_stats_if_cps.cpp src/stats/nas_stats_vlan_cps.cpp \
src/stats/nas_stats_fc_if_cps.cpp src/stats/nas_stats_eee_cps.cpp \
src/nas_int_com_utils.cpp src/stats/nas_stats_utils.c \
src/vrf/nas_vrf_api.cpp src/vrf/nas_vrf_cps.cpp \
src/nas_mgmt_intf.cpp \
src/stats/nas_stats_bridge.cpp \
src/stats/nas_stats_tunnel.cpp \
src/stats/nas_stats_vlan_subintf.cpp \
src/stats/nas_stats_vxlan.cpp \
src/stats/nas_stats_virtual_ntwrk.cpp \
src/bridge/nas_interface_1d_bridge.cpp \
src/bridge/nas_interface_1q_bridge.cpp \
src/bridge/nas_interface_bridge_com.cpp \
src/bridge/nas_interface_bridge.cpp \
src/bridge/nas_interface_bridge_cps.cpp \
src/bridge/nas_interface_bridge_map.cpp \
src/bridge/nas_interface_bridge_utils.cpp \
src/bridge/nas_vlan_bridge_cps.cpp \
src/bridge/nas_vxlan_bridge_cps.cpp \
src/interface/nas_interface.cpp \
src/interface/nas_interface_cps.cpp \
src/interface/nas_interface_map.cpp \
src/interface/nas_interface_mgmt_cps.cpp \
src/interface/nas_interface_utils.cpp \
src/interface/nas_interface_vlan.cpp \
src/interface/nas_interface_vxlan.cpp \
src/interface/nas_interface_vxlan_cps.cpp
libopx_nas_interface_la_LIBADD=-lopx_common -lopx_nas_common -lopx_cps_api_common -lopx_logging -lopx_nas_linux -lpthread -levent -levent_pthreads
libopx_nas_meta_packet_la_SOURCES=src/packet/nas_packet_meta.c
libopx_nas_meta_packet_la_LIBADD=-lopx_common -lopx_logging
libopx_nas_packet_io_la_SOURCES=src/packet/packet_io.c
libopx_nas_packet_io_la_SOURCES+=src/packet/nas_packet_filter.cpp
libopx_nas_packet_io_la_LIBADD=-lopx_common -lopx_logging libopx_nas_interface.la libopx_nas_meta_packet.la -lopx_nas_ndi -lopx_nas_common -lopx_cps_api_common -lpthread
systemdconfdir=/lib/systemd/system
systemdconf_DATA = scripts/init/*.service