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