New upstream version 18.08
[deb_dpdk.git] / drivers / bus / vdev / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_bus_vdev.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
14
15 # versioning export map
16 EXPORT_MAP := rte_bus_vdev_version.map
17
18 # library version
19 LIBABIVER := 1
20
21 SRCS-y += vdev.c
22
23 LDLIBS += -lrte_eal
24
25 #
26 # Export include files
27 #
28 SYMLINK-y-include += rte_bus_vdev.h
29
30 include $(RTE_SDK)/mk/rte.lib.mk