Makefile 496 B

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