blob: dc3502e30b19f0a4d729aa5b1a0450e8f9e34bf3 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for building the SELinux module as part of the kernel tree.
3#
4
5obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
6
Darrel Goeddel376bd9c2006-02-24 15:44:05 -06007selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o netif.o exports.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Trent Jaegerd28d1e02005-12-13 23:12:40 -08009selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
10
Paul Moore5778eab2007-02-28 15:14:22 -050011selinux-$(CONFIG_NETLABEL) += netlabel.o
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013EXTRA_CFLAGS += -Isecurity/selinux/include
14