]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # BSD LICENSE |
2 | # | |
3 | # Copyright 2014 6WIND S.A. | |
4 | # | |
5 | # Redistribution and use in source and binary forms, with or without | |
6 | # modification, are permitted provided that the following conditions | |
7 | # are met: | |
8 | # | |
9 | # - Redistributions of source code must retain the above copyright | |
10 | # notice, this list of conditions and the following disclaimer. | |
11 | # | |
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 | # | |
17 | # - Neither the name of 6WIND S.A. nor the names of its | |
18 | # contributors may be used to endorse or promote products derived | |
19 | # from this software without specific prior written permission. | |
20 | # | |
21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
24 | # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
25 | # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
26 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
27 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
28 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
29 | # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | |
30 | # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
31 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
32 | # OF THE POSSIBILITY OF SUCH DAMAGE. | |
33 | ||
34 | include $(RTE_SDK)/mk/rte.vars.mk | |
35 | ||
36 | # library name | |
37 | LIB = librte_kvargs.a | |
38 | ||
39 | CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 | |
40 | ||
41 | EXPORT_MAP := rte_kvargs_version.map | |
42 | ||
43 | LIBABIVER := 1 | |
44 | ||
45 | # all source are stored in SRCS-y | |
46 | SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) := rte_kvargs.c | |
47 | ||
48 | # install includes | |
49 | INCS := rte_kvargs.h | |
50 | SYMLINK-$(CONFIG_RTE_LIBRTE_KVARGS)-include := $(INCS) | |
51 | ||
52 | # this lib needs eal | |
53 | DEPDIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += lib/librte_eal | |
54 | ||
55 | include $(RTE_SDK)/mk/rte.lib.mk |