blob: d47fc5e545e08c873bf769fe54f90cff9c952b8d [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 \
Paul Moore3e112172008-04-10 10:48:14 -040014 netport.o \
Paul Moore224dfbd2008-01-29 08:38:13 -050015 exports.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
Trent Jaegerd28d1e02005-12-13 23:12:40 -080017selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
18
Paul Moore5778eab2007-02-28 15:14:22 -050019selinux-$(CONFIG_NETLABEL) += netlabel.o
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021EXTRA_CFLAGS += -Isecurity/selinux/include
22