selinux-policy/Makefile.devel

23 lines
368 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-10-02 19:45:00 +00:00
NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config))
2006-02-03 14:59:07 +00:00
2006-05-04 17:39:16 +00:00
ifeq ($(MLSENABLED),)
MLSENABLED := 1
endif
2006-02-03 14:59:07 +00:00
ifeq ($(MLSENABLED),1)
2008-02-26 16:15:00 +00:00
NTYPE = mcs
2006-10-02 19:45:00 +00:00
endif
2008-02-26 16:15:00 +00:00
ifeq ($(NAME),mls)
NTYPE = mls
2006-02-03 14:59:07 +00:00
endif
2008-02-26 16:15:00 +00:00
TYPE ?= $(NTYPE)
2006-05-17 01:40:53 +00:00
HEADERDIR := $(SHAREDIR)/devel/include
2006-02-22 22:46:02 +00:00
include $(HEADERDIR)/Makefile