File: Makefile

package info (click to toggle)
libsepol 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,352 kB
  • sloc: ansic: 90,626; makefile: 179; lex: 65
file content (17 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Installation directories.
PREFIX ?= /usr
INCDIR = $(PREFIX)/include/sepol
CILDIR ?= ../cil

all:

install: all
	test -d $(DESTDIR)$(INCDIR) || install -m 755 -d $(DESTDIR)$(INCDIR)
	test -d $(DESTDIR)$(INCDIR)/policydb || install -m 755 -d $(DESTDIR)$(INCDIR)/policydb
	test -d $(DESTDIR)$(INCDIR)/cil || install -m 755 -d $(DESTDIR)$(INCDIR)/cil
	install -m 644 $(wildcard sepol/*.h) $(DESTDIR)$(INCDIR)
	install -m 644 $(wildcard sepol/policydb/*.h) $(DESTDIR)$(INCDIR)/policydb
	install -m 644 $(wildcard $(CILDIR)/include/cil/*.h) $(DESTDIR)$(INCDIR)/cil

indent:
	../../scripts/Lindent $(wildcard sepol/*.h)