security: introduce security API and framework
[dpdk.git] / lib / Makefile
1 #   BSD LICENSE
2 #
3 #   Copyright(c) 2010-2017 Intel Corporation. All rights reserved.
4 #   All rights reserved.
5 #
6 #   Redistribution and use in source and binary forms, with or without
7 #   modification, are permitted provided that the following conditions
8 #   are met:
9 #
10 #     * Redistributions of source code must retain the above copyright
11 #       notice, this list of conditions and the following disclaimer.
12 #     * Redistributions in binary form must reproduce the above copyright
13 #       notice, this list of conditions and the following disclaimer in
14 #       the documentation and/or other materials provided with the
15 #       distribution.
16 #     * Neither the name of Intel Corporation nor the names of its
17 #       contributors may be used to endorse or promote products derived
18 #       from this software without specific prior written permission.
19 #
20 #   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 #   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 #   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 #   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 #   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 #   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 #   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 #   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 #   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32 include $(RTE_SDK)/mk/rte.vars.mk
33
34 DIRS-y += librte_compat
35 DIRS-$(CONFIG_RTE_LIBRTE_EAL) += librte_eal
36 DIRS-$(CONFIG_RTE_LIBRTE_RING) += librte_ring
37 DEPDIRS-librte_ring := librte_eal
38 DIRS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += librte_mempool
39 DEPDIRS-librte_mempool := librte_eal librte_ring
40 DIRS-$(CONFIG_RTE_LIBRTE_MBUF) += librte_mbuf
41 DEPDIRS-librte_mbuf := librte_eal librte_mempool
42 DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += librte_timer
43 DEPDIRS-librte_timer := librte_eal
44 DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
45 DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
46 DEPDIRS-librte_cmdline := librte_eal
47 DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether
48 DEPDIRS-librte_ether := librte_net librte_eal librte_mempool librte_ring
49 DEPDIRS-librte_ether += librte_mbuf
50 DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev
51 DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf
52 DEPDIRS-librte_cryptodev += librte_kvargs
53 DIRS-$(CONFIG_RTE_LIBRTE_SECURITY) += librte_security
54 DEPDIRS-librte_security := librte_eal librte_mempool librte_ring librte_mbuf
55 DEPDIRS-librte_security += librte_ether
56 DEPDIRS-librte_security += librte_cryptodev
57 DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev
58 DEPDIRS-librte_eventdev := librte_eal librte_ring librte_ether librte_hash
59 DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
60 DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ether
61 DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
62 DEPDIRS-librte_hash := librte_eal librte_ring
63 DIRS-$(CONFIG_RTE_LIBRTE_EFD) += librte_efd
64 DEPDIRS-librte_efd := librte_eal librte_ring librte_hash
65 DIRS-$(CONFIG_RTE_LIBRTE_LPM) += librte_lpm
66 DEPDIRS-librte_lpm := librte_eal
67 DIRS-$(CONFIG_RTE_LIBRTE_ACL) += librte_acl
68 DEPDIRS-librte_acl := librte_eal
69 DIRS-$(CONFIG_RTE_LIBRTE_MEMBER) += librte_member
70 DEPDIRS-librte_member := librte_eal librte_hash
71 DIRS-$(CONFIG_RTE_LIBRTE_NET) += librte_net
72 DEPDIRS-librte_net := librte_mbuf librte_eal
73 DIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += librte_ip_frag
74 DEPDIRS-librte_ip_frag := librte_eal librte_mempool librte_mbuf librte_ether
75 DEPDIRS-librte_ip_frag += librte_hash
76 DIRS-$(CONFIG_RTE_LIBRTE_GRO) += librte_gro
77 DEPDIRS-librte_gro := librte_eal librte_mbuf librte_ether librte_net
78 DIRS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += librte_jobstats
79 DEPDIRS-librte_jobstats := librte_eal
80 DIRS-$(CONFIG_RTE_LIBRTE_METRICS) += librte_metrics
81 DEPDIRS-librte_metrics := librte_eal
82 DIRS-$(CONFIG_RTE_LIBRTE_BITRATE) += librte_bitratestats
83 DEPDIRS-librte_bitratestats := librte_eal librte_metrics librte_ether
84 DIRS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += librte_latencystats
85 DEPDIRS-librte_latencystats := librte_eal librte_metrics librte_ether librte_mbuf
86 DIRS-$(CONFIG_RTE_LIBRTE_POWER) += librte_power
87 DEPDIRS-librte_power := librte_eal
88 DIRS-$(CONFIG_RTE_LIBRTE_METER) += librte_meter
89 DEPDIRS-librte_meter := librte_eal
90 DIRS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += librte_flow_classify
91 DEPDIRS-librte_flow_classify :=  librte_net librte_table librte_acl
92 DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += librte_sched
93 DEPDIRS-librte_sched := librte_eal librte_mempool librte_mbuf librte_net
94 DEPDIRS-librte_sched += librte_timer
95 DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs
96 DEPDIRS-librte_kvargs := librte_eal
97 DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += librte_distributor
98 DEPDIRS-librte_distributor := librte_eal librte_mbuf librte_ether
99 DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port
100 DEPDIRS-librte_port := librte_eal librte_mempool librte_mbuf librte_ether
101 DEPDIRS-librte_port += librte_ip_frag librte_sched
102 ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
103 DEPDIRS-librte_port += librte_kni
104 endif
105 DIRS-$(CONFIG_RTE_LIBRTE_TABLE) += librte_table
106 DEPDIRS-librte_table := librte_eal librte_mempool librte_mbuf
107 DEPDIRS-librte_table += librte_port librte_lpm librte_hash
108 ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)
109 DEPDIRS-librte_table += librte_acl
110 endif
111 DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += librte_pipeline
112 DEPDIRS-librte_pipeline := librte_eal librte_mempool librte_mbuf
113 DEPDIRS-librte_pipeline += librte_table librte_port
114 DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += librte_reorder
115 DEPDIRS-librte_reorder := librte_eal librte_mempool librte_mbuf
116 DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += librte_pdump
117 DEPDIRS-librte_pdump := librte_eal librte_mempool librte_mbuf librte_ether
118 DIRS-$(CONFIG_RTE_LIBRTE_GSO) += librte_gso
119 DEPDIRS-librte_gso := librte_eal librte_mbuf librte_ether librte_net
120 DEPDIRS-librte_gso += librte_mempool
121
122 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
123 DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni
124 endif
125 DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ether
126
127 include $(RTE_SDK)/mk/rte.subdir.mk