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 10 11# always enable default capabilities 12obj-y += commoncap.o 13obj-$(CONFIG_MMU) += min_addr.o 14 15# Object file lists 16obj-$(CONFIG_SECURITY) += security.o capability.o 17obj-$(CONFIG_SECURITYFS) += inode.o 18# Must precede capability.o in order to stack properly. 19obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o 20obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o 21obj-$(CONFIG_AUDIT) += lsm_audit.o 22obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o 23obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o 24obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o 25 26# Object integrity file lists 27subdir-$(CONFIG_INTEGRITY) += integrity 28obj-$(CONFIG_INTEGRITY) += integrity/built-in.o 29