1SUBDIRS = src include utils man 2 3DISABLE_AVC ?= n 4DISABLE_SETRANS ?= n 5DISABLE_RPM ?= n 6DISABLE_BOOL ?= n 7ifeq ($(EMBEDDED),y) 8 override DISABLE_AVC=y 9 override DISABLE_SETRANS=y 10 override DISABLE_RPM=y 11 override DISABLE_BOOL=y 12endif 13ifeq ($(DISABLE_AVC),y) 14 EMFLAGS+= -DDISABLE_AVC 15endif 16ifeq ($(DISABLE_BOOL),y) 17 EMFLAGS+= -DDISABLE_BOOL 18endif 19ifeq ($(DISABLE_RPM),y) 20 EMFLAGS+= -DDISABLE_RPM 21endif 22ifeq ($(DISABLE_SETRANS),y) 23 EMFLAGS+= -DDISABLE_SETRANS 24endif 25export DISABLE_AVC DISABLE_SETRANS DISABLE_RPM DISABLE_BOOL EMFLAGS 26 27all install relabel clean distclean indent: 28 @for subdir in $(SUBDIRS); do \ 29 (cd $$subdir && $(MAKE) $@) || exit 1; \ 30 done 31 32swigify: all 33 $(MAKE) -C src swigify $@ 34 35pywrap: 36 $(MAKE) -C src pywrap $@ 37 38rubywrap: 39 $(MAKE) -C src rubywrap $@ 40 41install-pywrap: 42 $(MAKE) -C src install-pywrap $@ 43 44install-rubywrap: 45 $(MAKE) -C src install-rubywrap $@ 46 47test: 48