| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# First run: make -C ../../../.. headers_install |
| 4 |
|
| 5 |
CFLAGS += -Wall -O2 $(KHDR_INCLUDES) |
| 6 |
LOCAL_HDRS += common.h |
| 7 |
|
| 8 |
TEST_GEN_PROGS := lsm_get_self_attr_test lsm_list_modules_test \ |
| 9 |
lsm_set_self_attr_test |
| 10 |
|
| 11 |
include ../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 |
|
| 17 |
EXTRA_CLEAN = $(OUTPUT)/common.o |