selinux-policy/Makefile.devel

17 lines
327 B
Makefile
Raw Normal View History

2006-02-14 17:11:59 +00:00
# installation paths
2006-02-22 22:46:02 +00:00
SHAREDIR := /usr/share/selinux
2006-02-03 14:59:07 +00:00
AWK ?= gawk
2006-02-22 22:46:02 +00:00
NAME ?= $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config)
2006-02-03 14:59:07 +00:00
MLSENABLED := $(shell cat /selinux/mls)
ifeq ($(MLSENABLED),1)
MCSFLAG=-mcs
endif
TYPE ?= $(NAME)${MCSFLAG}
2006-02-23 18:56:17 +00:00
HEADERDIR := $(SHAREDIR)/targeted/include
2006-02-22 22:46:02 +00:00
include $(HEADERDIR)/Makefile
2006-02-22 00:53:12 +00:00
2006-02-03 14:59:07 +00:00