mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 10:51:39 +02:00
This is the SELinux policy library, which contains a large number of interface (and other) definitions for use in SELinux policies. Signed-off-by: Tycho Andersen <tycho@docker.com>
23 lines
368 B
Makefile
23 lines
368 B
Makefile
# 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
|