36c356
TARGETS ?= systemd_hs
36c356
SHARE ?= /usr/share
36c356
MODULES ?= ${TARGETS:=.pp.bz2}
36c356
36c356
all: ${TARGETS:=.pp.bz2}
36c356
36c356
%.pp.bz2: %.pp
36c356
	@echo Compressing $^ -\ $@
36c356
	bzip2 -9 $^
36c356
36c356
%.pp: %.te
36c356
	make -f ${SHARE}/selinux/devel/Makefile $@
36c356
36c356
clean:
36c356
	rm -f *~ *.tc *.pp *.pp.bz2
36c356
	rm -rf tmp