kusano 7d535a
## Process this file with automake to create Makefile.in
kusano 7d535a
#
kusano 7d535a
# Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
kusano 7d535a
#
kusano 7d535a
kusano 7d535a
AUTOMAKE_OPTIONS = 1.9.6 gnu
kusano 7d535a
kusano 7d535a
SUBDIRS = include src lzotest examples tests minilzo
kusano 7d535a
kusano 7d535a
EXTRA_DIST = BUGS
kusano 7d535a
kusano 7d535a
kusano 7d535a
# /***********************************************************************
kusano 7d535a
# // automake targets
kusano 7d535a
# ************************************************************************/
kusano 7d535a
kusano 7d535a
dist-hook:
kusano 7d535a
	-rm -rf "./$(distdir)/autoconf/"
kusano 7d535a
	cp -pR $(srcdir)/B/ $(srcdir)/asm/ $(srcdir)/autoconf/ $(srcdir)/doc/ $(srcdir)/util/ "$(distdir)/"
kusano 7d535a
	-rm -f `find "./$(distdir)/" -type l -print`
kusano 7d535a
	-rm -f ./$(distdir)/util/*.dat
kusano 7d535a
kusano 7d535a
check-local: all-am
kusano 7d535a
	./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
kusano 7d535a
	@echo
kusano 7d535a
	@echo "All checks passed."
kusano 7d535a
	@echo
kusano 7d535a
kusano 7d535a
kusano 7d535a
# /***********************************************************************
kusano 7d535a
# // special targets
kusano 7d535a
# ************************************************************************/
kusano 7d535a
kusano 7d535a
basic-test: all
kusano 7d535a
	./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
kusano 7d535a
	./tests/align
kusano 7d535a
	./tests/chksum
kusano 7d535a
	./examples/simple
kusano 7d535a
	./minilzo/testmini
kusano 7d535a
kusano 7d535a
test: all
kusano 7d535a
	./lzotest/lzotest -mavail -n10 -q $(top_srcdir)/COPYING
kusano 7d535a
	$(SHELL) -e $(top_srcdir)/util/check.sh $(top_srcdir)
kusano 7d535a
	./tests/align
kusano 7d535a
	./tests/chksum
kusano 7d535a
	./examples/simple
kusano 7d535a
	./minilzo/testmini
kusano 7d535a
	@echo
kusano 7d535a
	@echo "All tests passed. Now you are ready to install LZO."
kusano 7d535a
	@echo
kusano 7d535a
kusano 7d535a
@MAINT@-include $(top_srcdir)/Makefile.maint