Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[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
12 obj-$(CONFIG_MMU)                       += min_addr.o
13
14 # Object file lists
15 obj-$(CONFIG_SECURITY)                  += security.o capability.o
16 obj-$(CONFIG_SECURITYFS)                += inode.o
17 # Must precede capability.o in order to stack properly.
18 obj-$(CONFIG_SECURITY_SELINUX)          += selinux/built-in.o
19 obj-$(CONFIG_SECURITY_SMACK)            += smack/built-in.o
20 obj-$(CONFIG_AUDIT)                     += lsm_audit.o
21 obj-$(CONFIG_SECURITY_TOMOYO)           += tomoyo/built-in.o
22 obj-$(CONFIG_CGROUP_DEVICE)             += device_cgroup.o
23
24 # Object integrity file lists
25 subdir-$(CONFIG_IMA)                    += integrity/ima
26 obj-$(CONFIG_IMA)                       += integrity/ima/built-in.o