Makefile 989 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Makefile for the kernel security code
  3. #
  4. obj-$(CONFIG_KEYS) += keys/
  5. subdir-$(CONFIG_SECURITY_SELINUX) += selinux
  6. subdir-$(CONFIG_SECURITY_SMACK) += smack
  7. subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
  8. subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
  9. subdir-$(CONFIG_SECURITY_YAMA) += yama
  10. subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
  11. # always enable default capabilities
  12. obj-y += commoncap.o
  13. obj-$(CONFIG_MMU) += min_addr.o
  14. # Object file lists
  15. obj-$(CONFIG_SECURITY) += security.o
  16. obj-$(CONFIG_SECURITYFS) += inode.o
  17. obj-$(CONFIG_SECURITY_SELINUX) += selinux/
  18. obj-$(CONFIG_SECURITY_SMACK) += smack/
  19. obj-$(CONFIG_AUDIT) += lsm_audit.o
  20. obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
  21. obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
  22. obj-$(CONFIG_SECURITY_YAMA) += yama/
  23. obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
  24. obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
  25. # Object integrity file lists
  26. subdir-$(CONFIG_INTEGRITY) += integrity
  27. obj-$(CONFIG_INTEGRITY) += integrity/