mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-15 02:24:38 +00:00
416f150f1a
Set DISABLE_CIL=y to build libsepol without CIL support, e.g make DISABLE_CIL=y To enable CIL support in libsepol, set DISABLE_CIL=n. This is the default if not specified. Signed-off-by: Steve Lawrence <slawrence@tresys.com>
18 lines
536 B
Makefile
18 lines
536 B
Makefile
# Installation directories.
|
|
PREFIX ?= $(DESTDIR)/usr
|
|
INCDIR ?= $(PREFIX)/include/sepol
|
|
CILDIR ?= ../cil
|
|
|
|
all:
|
|
|
|
install: all
|
|
test -d $(INCDIR) || install -m 755 -d $(INCDIR)
|
|
test -d $(INCDIR)/policydb || install -m 755 -d $(INCDIR)/policydb
|
|
test -d $(INCDIR)/cil || install -m 755 -d $(INCDIR)/cil
|
|
install -m 644 $(wildcard sepol/*.h) $(INCDIR)
|
|
install -m 644 $(wildcard sepol/policydb/*.h) $(INCDIR)/policydb
|
|
install -m 644 $(wildcard $(CILDIR)/include/cil/*.h) $(INCDIR)/cil
|
|
|
|
indent:
|
|
../../scripts/Lindent $(wildcard sepol/*.h)
|