vhost: use API to make RARP packet
[dpdk.git] / lib / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 DIRS-y += librte_compat
7 DIRS-$(CONFIG_RTE_LIBRTE_EAL) += librte_eal
8 DIRS-$(CONFIG_RTE_LIBRTE_PCI) += librte_pci
9 DEPDIRS-librte_pci := librte_eal
10 DIRS-$(CONFIG_RTE_LIBRTE_RING) += librte_ring
11 DEPDIRS-librte_ring := librte_eal
12 DIRS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += librte_mempool
13 DEPDIRS-librte_mempool := librte_eal librte_ring
14 DIRS-$(CONFIG_RTE_LIBRTE_MBUF) += librte_mbuf
15 DEPDIRS-librte_mbuf := librte_eal librte_mempool
16 DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += librte_timer
17 DEPDIRS-librte_timer := librte_eal
18 DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
19 DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
20 DEPDIRS-librte_cmdline := librte_eal
21 DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether
22 DEPDIRS-librte_ether := librte_net librte_eal librte_mempool librte_ring
23 DEPDIRS-librte_ether += librte_mbuf
24 DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev
25 DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf
26 DEPDIRS-librte_cryptodev += librte_kvargs
27 DIRS-$(CONFIG_RTE_LIBRTE_SECURITY) += librte_security
28 DEPDIRS-librte_security := librte_eal librte_mempool librte_ring librte_mbuf
29 DEPDIRS-librte_security += librte_ether
30 DEPDIRS-librte_security += librte_cryptodev
31 DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev
32 DEPDIRS-librte_eventdev := librte_eal librte_ring librte_ether librte_hash
33 DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
34 DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ether \
35                         librte_net
36 DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
37 DEPDIRS-librte_hash := librte_eal librte_ring
38 DIRS-$(CONFIG_RTE_LIBRTE_EFD) += librte_efd
39 DEPDIRS-librte_efd := librte_eal librte_ring librte_hash
40 DIRS-$(CONFIG_RTE_LIBRTE_LPM) += librte_lpm
41 DEPDIRS-librte_lpm := librte_eal
42 DIRS-$(CONFIG_RTE_LIBRTE_ACL) += librte_acl
43 DEPDIRS-librte_acl := librte_eal
44 DIRS-$(CONFIG_RTE_LIBRTE_MEMBER) += librte_member
45 DEPDIRS-librte_member := librte_eal librte_hash
46 DIRS-$(CONFIG_RTE_LIBRTE_NET) += librte_net
47 DEPDIRS-librte_net := librte_mbuf librte_eal
48 DIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += librte_ip_frag
49 DEPDIRS-librte_ip_frag := librte_eal librte_mempool librte_mbuf librte_ether
50 DEPDIRS-librte_ip_frag += librte_hash
51 DIRS-$(CONFIG_RTE_LIBRTE_GRO) += librte_gro
52 DEPDIRS-librte_gro := librte_eal librte_mbuf librte_ether librte_net
53 DIRS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += librte_jobstats
54 DEPDIRS-librte_jobstats := librte_eal
55 DIRS-$(CONFIG_RTE_LIBRTE_METRICS) += librte_metrics
56 DEPDIRS-librte_metrics := librte_eal
57 DIRS-$(CONFIG_RTE_LIBRTE_BITRATE) += librte_bitratestats
58 DEPDIRS-librte_bitratestats := librte_eal librte_metrics librte_ether
59 DIRS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += librte_latencystats
60 DEPDIRS-librte_latencystats := librte_eal librte_metrics librte_ether librte_mbuf
61 DIRS-$(CONFIG_RTE_LIBRTE_POWER) += librte_power
62 DEPDIRS-librte_power := librte_eal
63 DIRS-$(CONFIG_RTE_LIBRTE_METER) += librte_meter
64 DEPDIRS-librte_meter := librte_eal
65 DIRS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += librte_flow_classify
66 DEPDIRS-librte_flow_classify :=  librte_net librte_table librte_acl
67 DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += librte_sched
68 DEPDIRS-librte_sched := librte_eal librte_mempool librte_mbuf librte_net
69 DEPDIRS-librte_sched += librte_timer
70 DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs
71 DEPDIRS-librte_kvargs := librte_eal
72 DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += librte_distributor
73 DEPDIRS-librte_distributor := librte_eal librte_mbuf librte_ether
74 DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port
75 DEPDIRS-librte_port := librte_eal librte_mempool librte_mbuf librte_ether
76 DEPDIRS-librte_port += librte_ip_frag librte_sched
77 ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
78 DEPDIRS-librte_port += librte_kni
79 endif
80 DIRS-$(CONFIG_RTE_LIBRTE_TABLE) += librte_table
81 DEPDIRS-librte_table := librte_eal librte_mempool librte_mbuf
82 DEPDIRS-librte_table += librte_port librte_lpm librte_hash
83 ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)
84 DEPDIRS-librte_table += librte_acl
85 endif
86 DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += librte_pipeline
87 DEPDIRS-librte_pipeline := librte_eal librte_mempool librte_mbuf
88 DEPDIRS-librte_pipeline += librte_table librte_port
89 DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += librte_reorder
90 DEPDIRS-librte_reorder := librte_eal librte_mempool librte_mbuf
91 DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += librte_pdump
92 DEPDIRS-librte_pdump := librte_eal librte_mempool librte_mbuf librte_ether
93 DIRS-$(CONFIG_RTE_LIBRTE_GSO) += librte_gso
94 DEPDIRS-librte_gso := librte_eal librte_mbuf librte_ether librte_net
95 DEPDIRS-librte_gso += librte_mempool
96
97 ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
98 DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni
99 endif
100 DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ether
101 DEPDIRS-librte_kni += librte_pci
102
103 include $(RTE_SDK)/mk/rte.subdir.mk