writeback: split writeback_inodes_wb
[linux-2.6/next.git] / security / selinux / Makefile
blobf013982df417bd1bd930dfab19c911ec21ad7d85
2 # Makefile for building the SELinux module as part of the kernel tree.
5 obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
7 selinux-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
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
28 targets += flask.h
29 $(obj)/flask.h: $(src)/include/classmap.h FORCE
30 $(call if_changed,flask)