summaryrefslogtreecommitdiff
path: root/lzo/Makefile.am
blob: 7799509ac9b1399ef68dec99e1985ee10aeef8eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Process this file with automake to create Makefile.in
#
# Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
#

AUTOMAKE_OPTIONS = 1.9.6 gnu

SUBDIRS = include src lzotest examples tests minilzo

EXTRA_DIST = BUGS


# /***********************************************************************
# // automake targets
# ************************************************************************/

dist-hook:
	-rm -rf "./$(distdir)/autoconf/"
	cp -pR $(srcdir)/B/ $(srcdir)/asm/ $(srcdir)/autoconf/ $(srcdir)/doc/ $(srcdir)/util/ "$(distdir)/"
	-rm -f `find "./$(distdir)/" -type l -print`
	-rm -f ./$(distdir)/util/*.dat

check-local: all-am
	./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
	@echo
	@echo "All checks passed."
	@echo


# /***********************************************************************
# // special targets
# ************************************************************************/

basic-test: all
	./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
	./tests/align
	./tests/chksum
	./examples/simple
	./minilzo/testmini

test: all
	./lzotest/lzotest -mavail -n10 -q $(top_srcdir)/COPYING
	$(SHELL) -e $(top_srcdir)/util/check.sh $(top_srcdir)
	./tests/align
	./tests/chksum
	./examples/simple
	./minilzo/testmini
	@echo
	@echo "All tests passed. Now you are ready to install LZO."
	@echo

@MAINT@-include $(top_srcdir)/Makefile.maint