[WATCHDOG] Merge code clean-up's from Alan Cox.
[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
9 # always enable default capabilities
10 obj-y           += commoncap.o
11
12 # Object file lists
13 obj-$(CONFIG_SECURITY)                  += security.o capability.o inode.o
14 # Must precede capability.o in order to stack properly.
15 obj-$(CONFIG_SECURITY_SELINUX)          += selinux/built-in.o
16 obj-$(CONFIG_SECURITY_SMACK)            += smack/built-in.o
17 obj-$(CONFIG_SECURITY_ROOTPLUG)         += root_plug.o
18 obj-$(CONFIG_CGROUP_DEVICE)             += device_cgroup.o