1 # Installation directories. 2 PREFIX ?= $(DESTDIR)/usr 3 INCDIR ?= $(PREFIX)/include/sepol 4 CILDIR ?= ../cil 5 6 all: 7 8 install: 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 16 indent: 17 ../../scripts/Lindent $(wildcard sepol/*.h) 18