11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the kernel security code 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 51da177e4SLinus Torvaldsobj-$(CONFIG_KEYS) += keys/ 61da177e4SLinus Torvaldssubdir-$(CONFIG_SECURITY_SELINUX) += selinux 7e114e473SCasey Schauflersubdir-$(CONFIG_SECURITY_SMACK) += smack 800d7d6f8SKentaro Takedasubdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo 9f9ad1af5SJohn Johansensubdir-$(CONFIG_SECURITY_APPARMOR) += apparmor 102d514487SKees Cooksubdir-$(CONFIG_SECURITY_YAMA) += yama 111da177e4SLinus Torvalds 125915eb53SMiklos Szeredi# always enable default capabilities 136e141546SDavid Howellsobj-y += commoncap.o 146e141546SDavid Howellsobj-$(CONFIG_MMU) += min_addr.o 151da177e4SLinus Torvalds 161da177e4SLinus Torvalds# Object file lists 17da31894eSEric Parisobj-$(CONFIG_SECURITY) += security.o capability.o 18da31894eSEric Parisobj-$(CONFIG_SECURITYFS) += inode.o 19*e0c2de2bSSam Ravnborgobj-$(CONFIG_SECURITY_SELINUX) += selinux/ 20*e0c2de2bSSam Ravnborgobj-$(CONFIG_SECURITY_SMACK) += smack/ 212bf49690SThomas Liuobj-$(CONFIG_AUDIT) += lsm_audit.o 22*e0c2de2bSSam Ravnborgobj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ 23*e0c2de2bSSam Ravnborgobj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ 24*e0c2de2bSSam Ravnborgobj-$(CONFIG_SECURITY_YAMA) += yama/ 2508ce5f16SSerge E. Hallynobj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o 263323eec9SMimi Zohar 273323eec9SMimi Zohar# Object integrity file lists 28f381c272SMimi Zoharsubdir-$(CONFIG_INTEGRITY) += integrity 29*e0c2de2bSSam Ravnborgobj-$(CONFIG_INTEGRITY) += integrity/ 30