compile success for libsepl in kernel

This commit is contained in:
weishu
2022-12-21 19:17:36 +07:00
parent 06d0430e52
commit 5180e4add4
361 changed files with 157714 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Installation directories.
PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
CFLAGS ?= -Wall -Werror
override CFLAGS += -I../include
override LDFLAGS += -L../src
override LDLIBS += -lsepol
TARGETS=$(patsubst %.c,%,$(sort $(wildcard *.c)))
all: $(TARGETS)
install: all
-mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 $(TARGETS) $(DESTDIR)$(BINDIR)
clean:
-rm -f $(TARGETS) *.o
indent:
../../scripts/Lindent $(wildcard *.[ch])
relabel: