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