summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/lsm/Makefile
blob: 3f80c0bc093de8800ebd110e71c45dc836535359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-License-Identifier: GPL-2.0
#
# First run: make -C ../../../.. headers_install

CFLAGS += -Wall -O2 $(KHDR_INCLUDES)
LOCAL_HDRS += common.h

TEST_GEN_PROGS := lsm_get_self_attr_test lsm_list_modules_test \
		  lsm_set_self_attr_test

include ../lib.mk

$(OUTPUT)/lsm_get_self_attr_test: lsm_get_self_attr_test.c common.c
$(OUTPUT)/lsm_set_self_attr_test: lsm_set_self_attr_test.c common.c
$(OUTPUT)/lsm_list_modules_test: lsm_list_modules_test.c common.c

EXTRA_CLEAN = $(OUTPUT)/common.o