Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net...
[cascardo/linux.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 subdir-$(CONFIG_SECURITY_APPARMOR)      += apparmor
10 subdir-$(CONFIG_SECURITY_YAMA)          += yama
11 subdir-$(CONFIG_SECURITY_LOADPIN)       += loadpin
12
13 # always enable default capabilities
14 obj-y                                   += commoncap.o
15 obj-$(CONFIG_MMU)                       += min_addr.o
16
17 # Object file lists
18 obj-$(CONFIG_SECURITY)                  += security.o
19 obj-$(CONFIG_SECURITYFS)                += inode.o
20 obj-$(CONFIG_SECURITY_SELINUX)          += selinux/
21 obj-$(CONFIG_SECURITY_SMACK)            += smack/
22 obj-$(CONFIG_AUDIT)                     += lsm_audit.o
23 obj-$(CONFIG_SECURITY_TOMOYO)           += tomoyo/
24 obj-$(CONFIG_SECURITY_APPARMOR)         += apparmor/
25 obj-$(CONFIG_SECURITY_YAMA)             += yama/
26 obj-$(CONFIG_SECURITY_LOADPIN)          += loadpin/
27 obj-$(CONFIG_CGROUP_DEVICE)             += device_cgroup.o
28
29 # Object integrity file lists
30 subdir-$(CONFIG_INTEGRITY)              += integrity
31 obj-$(CONFIG_INTEGRITY)                 += integrity/