Home | History | Annotate | Download | only in selinux
      1 OPT_SUBDIRS ?= dbus gui mcstrans python restorecond sandbox semodule-utils
      2 SUBDIRS=libsepol libselinux libsemanage checkpolicy secilc policycoreutils $(OPT_SUBDIRS)
      3 PYSUBDIRS=libselinux libsemanage
      4 DISTCLEANSUBDIRS=libselinux libsemanage
      5 
      6 ifeq ($(DEBUG),1)
      7 	export CFLAGS = -g3 -O0 -gdwarf-2 -fno-strict-aliasing -Wall -Wshadow -Werror
      8 	export LDFLAGS = -g
      9 endif
     10 
     11 all install relabel clean test indent:
     12 	@for subdir in $(SUBDIRS); do \
     13 		(cd $$subdir && $(MAKE) $@) || exit 1; \
     14 	done
     15 
     16 install-pywrap install-rubywrap swigify:
     17 	@for subdir in $(PYSUBDIRS); do \
     18 		(cd $$subdir && $(MAKE) $@) || exit 1; \
     19 	done
     20 
     21 distclean:
     22 	@for subdir in $(DISTCLEANSUBDIRS); do \
     23 		(cd $$subdir && $(MAKE) $@) || exit 1; \
     24 	done
     25