1# 2# Makefile for the kernel security code 3# 4 5obj-$(CONFIG_KEYS) += keys/ 6subdir-$(CONFIG_SECURITY_SELINUX) += selinux 7subdir-$(CONFIG_SECURITY_SMACK) += smack 8subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo 9subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor 10subdir-$(CONFIG_SECURITY_YAMA) += yama 11subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin 12 13# always enable default capabilities 14obj-y += commoncap.o 15obj-$(CONFIG_MMU) += min_addr.o 16 17# Object file lists 18obj-$(CONFIG_SECURITY) += security.o 19obj-$(CONFIG_SECURITYFS) += inode.o 20obj-$(CONFIG_SECURITY_SELINUX) += selinux/ 21obj-$(CONFIG_SECURITY_SMACK) += smack/ 22obj-$(CONFIG_AUDIT) += lsm_audit.o 23obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ 24obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ 25obj-$(CONFIG_SECURITY_YAMA) += yama/ 26obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ 27obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o 28 29# Object integrity file lists 30subdir-$(CONFIG_INTEGRITY) += integrity 31obj-$(CONFIG_INTEGRITY) += integrity/ 32