#
# Makefile for building the Kylin security execute contrl module as part of the kernel tree.
#

obj-$(CONFIG_SECURITY_KYSEC) := kysec_exectl.o

kysec_exectl-y := kysec.o kysecfs.o sm3.o htable.o netlink.o kysec_auth.o netctl.o kmod_protect.o

ifeq ($(CONFIG_SECURITY_KYSEC_PROCESS_PROTECT),y)
kysec_exectl-y += process_protect.o
endif

ccflags-y += -Isecurity/kysec

