New upstream version 18.08
[deb_dpdk.git] / lib / librte_meter / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_meter.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13
14 LDLIBS += -lm
15 LDLIBS += -lrte_eal
16
17 EXPORT_MAP := rte_meter_version.map
18
19 LIBABIVER := 2
20
21 #
22 # all source are stored in SRCS-y
23 #
24 SRCS-$(CONFIG_RTE_LIBRTE_METER) := rte_meter.c
25
26 # install includes
27 SYMLINK-$(CONFIG_RTE_LIBRTE_METER)-include := rte_meter.h
28
29 include $(RTE_SDK)/mk/rte.lib.mk