-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile.am
71 lines (64 loc) · 2.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
# Copyright (c) 2018 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
lib_LTLIBRARIES=libopx_nas_acl.la
COMMON_HARDEN_FLAGS=-fexceptions -fstack-protector-strong -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security -Werror
C_HARDEN_FLAGS=-Wimplicit-function-declaration
LD_HARDEN_FLAGS=-Wl,-z,defs -Wl,-z,now
libopx_nas_acl_la_SOURCES=\
src/nas_acl_action.cpp \
src/nas_acl_counter.cpp \
src/nas_acl_cps_acl_pool.cpp \
src/nas_acl_cps_acl_profile.cpp \
src/nas_acl_cps_action.cpp \
src/nas_acl_cps_action_map.cpp \
src/nas_acl_cps_counter.cpp \
src/nas_acl_cps.cpp \
src/nas_acl_cps_entry.cpp \
src/nas_acl_cps_filter.cpp \
src/nas_acl_cps_filter_map.cpp \
src/nas_acl_cps_range.cpp \
src/nas_acl_cps_stats.cpp \
src/nas_acl_cps_table.cpp \
src/nas_acl_cps_trap.cpp \
src/nas_acl_cps_utils.cpp \
src/nas_acl_entry.cpp \
src/nas_acl_filter.cpp \
src/nas_acl_init.cpp \
src/nas_acl_range.cpp \
src/nas_acl_switch.cpp \
src/nas_acl_switch_list.cpp \
src/nas_acl_table.cpp \
src/nas_acl_trap.cpp \
src/nas_acl_utl.cpp \
src/nas_udf.cpp \
src/nas_udf_cps_group.cpp \
src/nas_udf_cps_match.cpp \
src/nas_udf_cps_udf.cpp \
src/nas_udf_group.cpp \
src/nas_acl_cps_trapgrp.cpp \
src/nas_acl_trapgrp.cpp \
src/nas_udf_match.cpp
libopx_nas_acl_la_CPPFLAGS= -D_FILE_OFFSET_BITS=64 -I$(top_srcdir)/inc/opx -I$(includedir)/opx $(COMMON_HARDEN_FLAGS) -fPIC
libopx_nas_acl_la_CXXFLAGS=-std=c++11
libopx_nas_acl_la_CFLAGS= $(C_HARDEN_FLAGS)
libopx_nas_acl_la_LDFLAGS=-shared -version-info 1:1:0 $(LD_HARDEN_FLAGS)
libopx_nas_acl_la_LIBADD=-lopx_common -lopx_nas_ndi -lopx_cps_api_common -lopx_logging -lopx_nas_linux -lopx_nas_common
systemdconfdir=/lib/systemd/system
systemdconf_DATA = scripts/init/*.service