blob: 00afd85f1edb903544ae9d3f365f0e6df7ac397b [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
Paul Moore224dfbd2008-01-29 08:38:13 -05007selinux-y := avc.o \
8 hooks.o \
9 selinuxfs.o \
10 netlink.o \
11 nlmsgtab.o \
12 netif.o \
13 netnode.o \
14 exports.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Trent Jaegerd28d1e02005-12-13 23:12:40 -080016selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
17
Paul Moore5778eab2007-02-28 15:14:22 -050018selinux-$(CONFIG_NETLABEL) += netlabel.o
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020EXTRA_CFLAGS += -Isecurity/selinux/include
21