blob: c05c127fff9a795d9b3c21d7c1a510c6b7a5a4cc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel security code
3#
4
5obj-$(CONFIG_KEYS) += keys/
6subdir-$(CONFIG_SECURITY_SELINUX) += selinux
Casey Schauflere114e472008-02-04 22:29:50 -08007subdir-$(CONFIG_SECURITY_SMACK) += smack
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Miklos Szeredi5915eb52008-07-03 20:56:05 +02009# always enable default capabilities
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-y += commoncap.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12# Object file lists
Eric Parisda318942008-08-22 11:35:57 -040013obj-$(CONFIG_SECURITY) += security.o capability.o
14obj-$(CONFIG_SECURITYFS) += inode.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015# Must precede capability.o in order to stack properly.
16obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
Miklos Szeredi5915eb52008-07-03 20:56:05 +020017obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
18obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
Serge E. Hallyn08ce5f12008-04-29 01:00:10 -070019obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o