2 # Makefile for building the SELinux module as part of the kernel tree.
5 obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
17 selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
19 selinux-$(CONFIG_NETLABEL) += netlabel.o
21 EXTRA_CFLAGS += -Isecurity/selinux -Isecurity/selinux/include
23 $(obj)/avc.o: $(obj)/flask.h
25 quiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h
26 cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
29 $(obj)/flask.h: $(src)/include/classmap.h FORCE
30 $(call if_changed,flask)