Merge branch 'topic/oss' into for-linus
[pandora-kernel.git] / security / Makefile
1 #
2 # Makefile for the kernel security code
3 #
4
5 obj-$(CONFIG_KEYS)                      += keys/
6 subdir-$(CONFIG_SECURITY_SELINUX)       += selinux
7 subdir-$(CONFIG_SECURITY_SMACK)         += smack
8 subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
9
10 # always enable default capabilities
11 obj-y           += commoncap.o min_addr.o
12
13 # Object file lists
14 obj-$(CONFIG_SECURITY)                  += security.o capability.o
15 obj-$(CONFIG_SECURITYFS)                += inode.o
16 # Must precede capability.o in order to stack properly.
17 obj-$(CONFIG_SECURITY_SELINUX)          += selinux/built-in.o
18 obj-$(CONFIG_SECURITY_SMACK)            += smack/built-in.o
19 ifeq ($(CONFIG_AUDIT),y)
20 obj-$(CONFIG_SECURITY_SMACK)            += lsm_audit.o
21 endif
22 obj-$(CONFIG_SECURITY_TOMOYO)           += tomoyo/built-in.o
23 obj-$(CONFIG_SECURITY_ROOTPLUG)         += root_plug.o
24 obj-$(CONFIG_CGROUP_DEVICE)             += device_cgroup.o
25
26 # Object integrity file lists
27 subdir-$(CONFIG_IMA)                    += integrity/ima
28 obj-$(CONFIG_IMA)                       += integrity/ima/built-in.o