linux/security/selinux/Makefile
<<
>>
Prefs
   1#
   2# Makefile for building the SELinux module as part of the kernel tree.
   3#
   4
   5obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
   6
   7selinux-y := avc.o \
   8             hooks.o \
   9             selinuxfs.o \
  10             netlink.o \
  11             nlmsgtab.o \
  12             netif.o \
  13             netnode.o \
  14             netport.o \
  15             exports.o
  16
  17selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
  18
  19selinux-$(CONFIG_NETLABEL) += netlabel.o
  20
  21EXTRA_CFLAGS += -Isecurity/selinux -Isecurity/selinux/include
  22
  23$(obj)/avc.o: $(obj)/flask.h
  24
  25quiet_cmd_flask = GEN     $(obj)/flask.h $(obj)/av_permissions.h
  26      cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
  27
  28targets += flask.h
  29$(obj)/flask.h: $(src)/include/classmap.h FORCE
  30        $(call if_changed,flask)
  31
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.