2015-03-31 16:17:01 +02:00
|
|
|
SUBDIRS=libsepol libselinux libsemanage sepolgen checkpolicy secilc policycoreutils # policy
|
2008-08-19 21:30:36 +02:00
|
|
|
PYSUBDIRS=libselinux libsemanage
|
2011-08-12 05:36:14 +02:00
|
|
|
DISTCLEANSUBIDRS=libselinux libsemanage
|
2008-08-19 21:30:36 +02:00
|
|
|
|
|
|
|
ifeq ($(DEBUG),1)
|
|
|
|
export CFLAGS = -g3 -O0 -gdwarf-2 -fno-strict-aliasing -Wall -Wshadow -Werror
|
|
|
|
export LDFLAGS = -g
|
|
|
|
endif
|
|
|
|
|
2011-08-12 05:36:14 +02:00
|
|
|
all install relabel clean test indent:
|
2008-08-19 21:30:36 +02:00
|
|
|
@for subdir in $(SUBDIRS); do \
|
|
|
|
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
|
|
|
done
|
|
|
|
|
2012-06-01 15:13:24 +02:00
|
|
|
install-pywrap install-rubywrap swigify:
|
2008-08-19 21:30:36 +02:00
|
|
|
@for subdir in $(PYSUBDIRS); do \
|
|
|
|
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
|
|
|
done
|
|
|
|
|
|
|
|
distclean:
|
2011-08-12 05:36:14 +02:00
|
|
|
@for subdir in $(DISTCLEANSUBDIRS); do \
|
2008-08-19 21:30:36 +02:00
|
|
|
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
|
|
|
done
|