Move policycoreutils/sepolgen-ifgen into python/audit2allow.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
parent
50be5fcca4
commit
b97d959a6a
5 changed files with 13 additions and 29 deletions
|
@ -1,4 +1,4 @@
|
|||
SUBDIRS = setfiles load_policy newrole run_init secon sestatus semodule_package semodule sepolgen-ifgen setsebool scripts po man hll
|
||||
SUBDIRS = setfiles load_policy newrole run_init secon sestatus semodule_package semodule setsebool scripts po man hll
|
||||
|
||||
all install relabel clean indent:
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
# Installation directories.
|
||||
PREFIX ?= $(DESTDIR)/usr
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
LIBDIR ?= $(PREFIX)/lib
|
||||
INCLUDEDIR ?= $(PREFIX)/include
|
||||
|
||||
CFLAGS ?= -Werror -Wall -W
|
||||
override CFLAGS += -I$(INCLUDEDIR)
|
||||
LDLIBS = $(LIBDIR)/libsepol.a
|
||||
|
||||
all: sepolgen-ifgen-attr-helper
|
||||
|
||||
sepolgen-ifgen-attr-helper: sepolgen-ifgen-attr-helper.o
|
||||
|
||||
install: all
|
||||
-mkdir -p $(BINDIR)
|
||||
install -m 755 sepolgen-ifgen-attr-helper $(BINDIR)
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o sepolgen-ifgen-attr-helper
|
||||
|
||||
indent:
|
||||
../../scripts/Lindent $(wildcard *.[ch])
|
||||
|
||||
relabel: ;
|
|
@ -6,8 +6,15 @@ BINDIR ?= $(PREFIX)/bin
|
|||
LIBDIR ?= $(PREFIX)/lib
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
LOCALEDIR ?= /usr/share/locale
|
||||
INCLUDEDIR ?= $(PREFIX)/include
|
||||
|
||||
all: audit2why
|
||||
CFLAGS ?= -Werror -Wall -W
|
||||
override CFLAGS += -I$(INCLUDEDIR)
|
||||
LDLIBS = $(LIBDIR)/libsepol.a
|
||||
|
||||
all: audit2why sepolgen-ifgen-attr-helper
|
||||
|
||||
sepolgen-ifgen-attr-helper: sepolgen-ifgen-attr-helper.o
|
||||
|
||||
audit2why:
|
||||
ln -sf audit2allow audit2why
|
||||
|
@ -19,14 +26,16 @@ install: all
|
|||
-mkdir -p $(BINDIR)
|
||||
install -m 755 audit2allow $(BINDIR)
|
||||
(cd $(BINDIR); ln -sf audit2allow audit2why)
|
||||
install -m 755 sepolgen-ifgen-attr-helper $(BINDIR)
|
||||
install -m 755 sepolgen-ifgen $(BINDIR)
|
||||
-mkdir -p $(MANDIR)/man1
|
||||
install -m 644 audit2allow.1 $(MANDIR)/man1/
|
||||
install -m 644 audit2why.1 $(MANDIR)/man1/
|
||||
|
||||
clean:
|
||||
rm -f *~
|
||||
rm -f *~ *.o sepolgen-ifgen-attr-helper
|
||||
|
||||
indent: ;
|
||||
indent:
|
||||
../../scripts/Lindent $(wildcard *.[ch])
|
||||
|
||||
relabel: ;
|
||||
|
|
Loading…
Reference in a new issue