Files
xdp-project-bpf-examples/AF_XDP-interaction/Makefile
Jesper Dangaard Brouer 446653f4b4 AF_XDP-interaction: Add option for real-time priority
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2021-11-16 20:12:04 +01:00

20 lines
500 B
Makefile

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
USER_TARGETS := af_xdp_user
BPF_TARGETS := af_xdp_kern
# Define C-code objects USER_TARGETS needs
USER_TARGETS_OBJS := common_params.o common_user_bpf_xdp.o
USER_TARGETS_OBJS += hashmap.o lib_xsk_extend.o
USER_TARGETS_OBJS += ethtool_utils.o
# The USER_TARGETS_OBJS have a dependency of this header file
USER_TARGETS_OBJS_DEPS += common_defines.h
LDLIBS += -lpthread
LDLIBS += -lrt
LIB_DIR = ../lib
include $(LIB_DIR)/common.mk