blob: f65426099aa625be9aac60a1a009ea860956dbb7 [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
Miklos Szeredi5915eb52008-07-03 20:56:05 +020013obj-$(CONFIG_SECURITY) += security.o capability.o inode.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014# Must precede capability.o in order to stack properly.
15obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
Miklos Szeredi5915eb52008-07-03 20:56:05 +020016obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
17obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
Serge E. Hallyn08ce5f12008-04-29 01:00:10 -070018obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o