]> git.proxmox.com Git - ceph.git/blame - ceph/src/dpdk/drivers/net/enic/Makefile
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / dpdk / drivers / net / enic / Makefile
CommitLineData
7c673cae
FG
1#
2# Copyright 2008-2014 Cisco Systems, Inc. All rights reserved.
3# Copyright 2007 Nuova Systems, Inc. All rights reserved.
4#
5# Copyright (c) 2014, Cisco Systems, Inc.
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions
10# are met:
11#
12# 1. Redistributions of source code must retain the above copyright
13# notice, this list of conditions and the following disclaimer.
14#
15# 2. Redistributions in binary form must reproduce the above copyright
16# notice, this list of conditions and the following disclaimer in
17# the documentation and/or other materials provided with the
18# distribution.
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
23# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31# POSSIBILITY OF SUCH DAMAGE.
32
33include $(RTE_SDK)/mk/rte.vars.mk
34
35#
36# library name
37#
38LIB = librte_pmd_enic.a
39
40EXPORT_MAP := rte_pmd_enic_version.map
41
42LIBABIVER := 1
43
44CFLAGS += -I$(SRCDIR)/base/
45CFLAGS += -I$(SRCDIR)
46CFLAGS += -O3
47CFLAGS += $(WERROR_FLAGS) -Wno-strict-aliasing
48
49VPATH += $(SRCDIR)/src
50
51#
52# all source are stored in SRCS-y
53#
54SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic_ethdev.c
55SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic_main.c
56SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic_rxtx.c
57SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic_clsf.c
58SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic_res.c
59SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += base/vnic_cq.c
60SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += base/vnic_wq.c
61SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += base/vnic_dev.c
62SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += base/vnic_intr.c
63SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += base/vnic_rq.c
64SRCS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += base/vnic_rss.c
65
66# this lib depends upon:
67DEPDIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += lib/librte_eal lib/librte_ether
68DEPDIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += lib/librte_mempool lib/librte_mbuf
69DEPDIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += lib/librte_net
70DEPDIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += lib/librte_hash
71
72include $(RTE_SDK)/mk/rte.lib.mk