mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-13 16:18:03 +00:00
Remove build config DISABLE_AVC, it is unused and broken. Signed-off-by: William Roberts <william.c.roberts@intel.com>
47 lines
865 B
Makefile
47 lines
865 B
Makefile
SUBDIRS = src include utils man
|
|
|
|
DISABLE_SETRANS ?= n
|
|
DISABLE_RPM ?= n
|
|
DISABLE_BOOL ?= n
|
|
ifeq ($(DISABLE_BOOL),y)
|
|
EMFLAGS+= -DDISABLE_BOOL
|
|
endif
|
|
ifeq ($(DISABLE_RPM),y)
|
|
EMFLAGS+= -DDISABLE_RPM
|
|
endif
|
|
ifeq ($(DISABLE_SETRANS),y)
|
|
EMFLAGS+= -DDISABLE_SETRANS
|
|
endif
|
|
export DISABLE_SETRANS DISABLE_RPM DISABLE_BOOL EMFLAGS
|
|
|
|
USE_PCRE2 ?= n
|
|
ifeq ($(USE_PCRE2),y)
|
|
PCRE_CFLAGS := -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8
|
|
PCRE_LDFLAGS := -lpcre2-8
|
|
else
|
|
PCRE_LDFLAGS := -lpcre
|
|
endif
|
|
export PCRE_CFLAGS PCRE_LDFLAGS
|
|
|
|
all install relabel clean distclean indent:
|
|
@for subdir in $(SUBDIRS); do \
|
|
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
|
done
|
|
|
|
swigify: all
|
|
$(MAKE) -C src swigify $@
|
|
|
|
pywrap:
|
|
$(MAKE) -C src pywrap $@
|
|
|
|
rubywrap:
|
|
$(MAKE) -C src rubywrap $@
|
|
|
|
install-pywrap:
|
|
$(MAKE) -C src install-pywrap $@
|
|
|
|
install-rubywrap:
|
|
$(MAKE) -C src install-rubywrap $@
|
|
|
|
test:
|