graph: define API
[dpdk.git] / lib / librte_graph / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2020 Marvell International Ltd.
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # library name
8 LIB = librte_graph.a
9
10 CFLAGS += -O3
11 CFLAGS += $(WERROR_FLAGS)
12 LDLIBS += -lrte_eal
13
14 EXPORT_MAP := rte_graph_version.map
15
16 # all source are stored in SRCS-y
17 SRCS-$(CONFIG_RTE_LIBRTE_GRAPH) += graph.c
18
19 # install header files
20 SYMLINK-$(CONFIG_RTE_LIBRTE_GRAPH)-include += rte_graph.h
21
22 include $(RTE_SDK)/mk/rte.lib.mk