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