forked from pool/selinux-policy
Hu
c4e9acf5f1
- Update to version 20240716: * Allow systemd_generator to write kmsg * Initial policy for systemd growpart-generator (bsc#1226824) OBS-URL: https://build.opensuse.org/request/show/1187876 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=237
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
|