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 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_SECURITY_TOMOYO) += tomoyo/built-in.o 20obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o 21obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o 22 23# Object integrity file lists 24subdir-$(CONFIG_IMA) += integrity/ima 25obj-$(CONFIG_IMA) += integrity/ima/built-in.o 26