cad203
# installation paths
cad203
SHAREDIR := /usr/share/selinux
cad203
cad203
AWK ?= gawk
cad203
NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config))
cad203
cad203
ifeq ($(MLSENABLED),)
cad203
	MLSENABLED := 1
cad203
endif
cad203
cad203
ifeq ($(MLSENABLED),1)
cad203
	NTYPE = mcs
cad203
endif
cad203
cad203
ifeq ($(NAME),mls)
cad203
	NTYPE = mls
cad203
endif
cad203
cad203
TYPE ?= $(NTYPE)
cad203
cad203
HEADERDIR := $(SHAREDIR)/devel/include
cad203
include $(HEADERDIR)/Makefile