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>
17 lines
536 B
Makefile
17 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)
|