doc: whitespace changes in licenses
[dpdk.git] / lib / librte_eal / linuxapp / kni / Makefile
1 #   BSD LICENSE
2
3 #   Copyright(c) 2010-2013 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 #
35 # module name and path
36 #
37 MODULE = rte_kni
38
39 #
40 # CFLAGS
41 #
42 MODULE_CFLAGS += -I$(SRCDIR) --param max-inline-insns-single=50
43 MODULE_CFLAGS += -I$(RTE_OUTPUT)/include -I$(SRCDIR)/ethtool/ixgbe -I$(SRCDIR)/ethtool/igb
44 MODULE_CFLAGS += -Wall -Werror
45
46 # this lib needs main eal
47 DEPDIRS-y += lib/librte_eal/linuxapp/eal
48
49 #
50 # all source are stored in SRCS-y
51 #
52 SRCS-y := ethtool/ixgbe/ixgbe_main.c
53 SRCS-y += ethtool/ixgbe/ixgbe_api.c
54 SRCS-y += ethtool/ixgbe/ixgbe_common.c
55 SRCS-y += ethtool/ixgbe/ixgbe_ethtool.c
56 SRCS-y += ethtool/ixgbe/ixgbe_82599.c
57 SRCS-y += ethtool/ixgbe/ixgbe_82598.c
58 SRCS-y += ethtool/ixgbe/ixgbe_x540.c
59 SRCS-y += ethtool/ixgbe/ixgbe_phy.c
60 SRCS-y += ethtool/ixgbe/kcompat.c
61
62 SRCS-y += ethtool/igb/e1000_82575.c
63 SRCS-y += ethtool/igb/e1000_api.c
64 SRCS-y += ethtool/igb/e1000_mac.c
65 SRCS-y += ethtool/igb/e1000_manage.c
66 SRCS-y += ethtool/igb/e1000_mbx.c
67 SRCS-y += ethtool/igb/e1000_nvm.c
68 SRCS-y += ethtool/igb/e1000_phy.c
69 SRCS-y += ethtool/igb/igb_ethtool.c
70 SRCS-y += ethtool/igb/igb_main.c
71 SRCS-y += ethtool/igb/igb_param.c
72 SRCS-y += ethtool/igb/igb_procfs.c
73 SRCS-y += ethtool/igb/igb_sysfs.c
74 SRCS-y += ethtool/igb/igb_vmdq.c
75 #SRCS-y += ethtool/igb/kcompat.c
76
77 SRCS-y += kni_misc.c
78 SRCS-y += kni_net.c
79 SRCS-y += kni_ethtool.c
80
81 include $(RTE_SDK)/mk/rte.module.mk