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