Blame view

security/selinux/Makefile 846 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
  #
  # Makefile for building the SELinux module as part of the kernel tree.
  #
60272da03   Paul Gortmaker   selinux: really f...
4
5
6
7
8
9
  obj-$(CONFIG_SECURITY_SELINUX) := selinux.o
  
  selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o netif.o \
  	     netnode.o netport.o exports.o \
  	     ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
  	     ss/policydb.o ss/services.o ss/conditional.o ss/mls.o ss/status.o
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10

d28d1e080   Trent Jaeger   [LSM-IPSec]: Per-...
11
  selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
5778eabd9   Paul Moore   SELinux: extract ...
12
  selinux-$(CONFIG_NETLABEL) += netlabel.o
8b0c543e5   matt mooney   selinux: change t...
13
  ccflags-y := -Isecurity/selinux -Isecurity/selinux/include
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
14

ceba72a68   Paul Gortmaker   selinux: fix para...
15
  $(addprefix $(obj)/,$(selinux-y)): $(obj)/flask.h
8753f6bec   Stephen Smalley   selinux: generate...
16
17
18
  
  quiet_cmd_flask = GEN     $(obj)/flask.h $(obj)/av_permissions.h
        cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
a7a387cc5   Ralf Baechle   SELINUX: Fix buil...
19
  targets += flask.h av_permissions.h
8753f6bec   Stephen Smalley   selinux: generate...
20
21
  $(obj)/flask.h: $(src)/include/classmap.h FORCE
  	$(call if_changed,flask)