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