You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
368 B
23 lines
368 B
2 years ago
|
# installation paths
|
||
|
SHAREDIR := /usr/share/selinux
|
||
|
|
||
|
AWK ?= gawk
|
||
|
NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config))
|
||
|
|
||
|
ifeq ($(MLSENABLED),)
|
||
|
MLSENABLED := 1
|
||
|
endif
|
||
|
|
||
|
ifeq ($(MLSENABLED),1)
|
||
|
NTYPE = mcs
|
||
|
endif
|
||
|
|
||
|
ifeq ($(NAME),mls)
|
||
|
NTYPE = mls
|
||
|
endif
|
||
|
|
||
|
TYPE ?= $(NTYPE)
|
||
|
|
||
|
HEADERDIR := $(SHAREDIR)/devel/include
|
||
|
include $(HEADERDIR)/Makefile
|