1# Installation directories.
2PREFIX ?= $(DESTDIR)/usr
3INCDIR ?= $(PREFIX)/include/sepol
4CILDIR ?= ../cil
5
6all:
7
8install: all
9	test -d $(INCDIR) || install -m 755 -d $(INCDIR)
10	test -d $(INCDIR)/policydb || install -m 755 -d $(INCDIR)/policydb
11	test -d $(INCDIR)/cil || install -m 755 -d $(INCDIR)/cil
12	install -m 644 $(wildcard sepol/*.h) $(INCDIR)
13	install -m 644 $(wildcard sepol/policydb/*.h) $(INCDIR)/policydb
14	install -m 644 $(wildcard $(CILDIR)/include/cil/*.h) $(INCDIR)/cil
15
16indent:
17	../../scripts/Lindent $(wildcard sepol/*.h)
18