forked from topjohnwu/selinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set DISABLE_CIL=y to build libsepol without CIL support, e.g make DISABLE_CIL=y To enable CIL support in libsepol, set DISABLE_CIL=n. This is the default if not specified. Signed-off-by: Steve Lawrence <[email protected]>
- Loading branch information
1 parent
bb0f8be
commit 416f150
Showing
5 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
utils/chkcon | ||
libsepol.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
DISABLE_CIL ?= n | ||
|
||
export DISABLE_CIL | ||
|
||
all: | ||
$(MAKE) -C src | ||
$(MAKE) -C utils | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
# Installation directories. | ||
PREFIX ?= $(DESTDIR)/usr | ||
INCDIR ?= $(PREFIX)/include/sepol | ||
CILDIR ?= ../cil | ||
|
||
all: | ||
|
||
install: all | ||
test -d $(INCDIR) || install -m 755 -d $(INCDIR) | ||
test -d $(INCDIR)/policydb || install -m 755 -d $(INCDIR)/policydb | ||
test -d $(INCDIR)/cil || install -m 755 -d $(INCDIR)/cil | ||
install -m 644 $(wildcard sepol/*.h) $(INCDIR) | ||
install -m 644 $(wildcard sepol/policydb/*.h) $(INCDIR)/policydb | ||
install -m 644 $(wildcard $(CILDIR)/include/cil/*.h) $(INCDIR)/cil | ||
|
||
indent: | ||
../../scripts/Lindent $(wildcard sepol/*.h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters