1# SPDX-License-Identifier: GPL-2.0
2#
3# First run: make -C ../../../.. headers_install
4
5CFLAGS += -Wall -O2 $(KHDR_INCLUDES)
6LOCAL_HDRS += common.h
7
8TEST_GEN_PROGS := lsm_get_self_attr_test lsm_list_modules_test \
9		  lsm_set_self_attr_test
10
11include ../lib.mk
12
13$(OUTPUT)/lsm_get_self_attr_test: lsm_get_self_attr_test.c common.c
14$(OUTPUT)/lsm_set_self_attr_test: lsm_set_self_attr_test.c common.c
15$(OUTPUT)/lsm_list_modules_test: lsm_list_modules_test.c common.c
16
17EXTRA_CLEAN = $(OUTPUT)/common.o
18