1 # SPDX-License-Identifier: GPL-2.0-only 2 all: test vsock_perf 3 test: vsock_test vsock_diag_test vsock_uring_t 4 vsock_test: vsock_test.o vsock_test_zerocopy.o 5 vsock_diag_test: vsock_diag_test.o timeout.o c 6 vsock_perf: vsock_perf.o msg_zerocopy_common.o 7 8 vsock_uring_test: LDLIBS = -luring 9 vsock_uring_test: control.o util.o vsock_uring 10 11 CFLAGS += -g -O2 -Werror -Wall -I. -I../../inc 12 .PHONY: all test clean 13 clean: 14 ${RM} *.o *.d vsock_test vsock_diag_te 15 -include *.d 16 17 VSOCK_INSTALL_PATH ?= 18 19 install: all 20 ifdef VSOCK_INSTALL_PATH 21 mkdir -p $(VSOCK_INSTALL_PATH) 22 install -m 744 vsock_test $(VSOCK_INST 23 install -m 744 vsock_perf $(VSOCK_INST 24 install -m 744 vsock_diag_test $(VSOCK 25 install -m 744 vsock_uring_test $(VSOC 26 else 27 $(error Error: set VSOCK_INSTALL_PATH 28 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.