1# Installation directories. 2PREFIX ?= $(DESTDIR)/usr 3INCLUDEDIR ?= $(PREFIX)/include 4BINDIR ?= $(PREFIX)/bin 5LIBDIR ?= $(PREFIX)/lib 6MANDIR ?= $(PREFIX)/share/man 7LIBSEPOLA ?= $(LIBDIR)/libsepol.a 8 9CFLAGS ?= -Werror -Wall -W 10 11all: semodule_deps 12 13semodule_deps: semodule_deps.o $(LIBSEPOLA) 14 15install: all 16 -mkdir -p $(BINDIR) 17 install -m 755 semodule_deps $(BINDIR) 18 test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8 19 install -m 644 semodule_deps.8 $(MANDIR)/man8/ 20 21relabel: 22 23clean: 24 -rm -f semodule_deps *.o 25 26indent: 27 ../../scripts/Lindent $(wildcard *.[ch]) 28 29