Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the kernel security code |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_KEYS) += keys/ |
| 6 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
Casey Schaufler | e114e47 | 2008-02-04 22:29:50 -0800 | [diff] [blame] | 7 | subdir-$(CONFIG_SECURITY_SMACK) += smack |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 9 | # always enable default capabilities |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | obj-y += commoncap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | # Object file lists |
Eric Paris | da31894 | 2008-08-22 11:35:57 -0400 | [diff] [blame] | 13 | obj-$(CONFIG_SECURITY) += security.o capability.o |
| 14 | obj-$(CONFIG_SECURITYFS) += inode.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | # Must precede capability.o in order to stack properly. |
| 16 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o |
| 18 | obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o |
Serge E. Hallyn | 08ce5f1 | 2008-04-29 01:00:10 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
Mimi Zohar | 3323eec | 2009-02-04 09:06:58 -0500 | [diff] [blame^] | 20 | |
| 21 | # Object integrity file lists |
| 22 | subdir-$(CONFIG_IMA) += integrity/ima |
| 23 | obj-$(CONFIG_IMA) += integrity/ima/built-in.o |