Tizen 2.1 base
[external/lzo2.git] / Makefile.am
1 ## Process this file with automake to create Makefile.in
2 #
3 # Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
4 #
5
6 AUTOMAKE_OPTIONS = 1.9.6 gnu
7
8 SUBDIRS = include src lzotest examples tests minilzo
9
10 EXTRA_DIST = BUGS
11
12
13 # /***********************************************************************
14 # // automake targets
15 # ************************************************************************/
16
17 dist-hook:
18         -rm -rf "./$(distdir)/autoconf/"
19         cp -pR $(srcdir)/B/ $(srcdir)/asm/ $(srcdir)/autoconf/ $(srcdir)/doc/ $(srcdir)/util/ "$(distdir)/"
20         -rm -f `find "./$(distdir)/" -type l -print`
21         -rm -f ./$(distdir)/util/*.dat
22
23 check-local: all-am
24         ./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
25         @echo
26         @echo "All checks passed."
27         @echo
28
29
30 # /***********************************************************************
31 # // special targets
32 # ************************************************************************/
33
34 basic-test: all
35         ./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
36         ./tests/align
37         ./tests/chksum
38         ./examples/simple
39         ./minilzo/testmini
40
41 test: all
42         ./lzotest/lzotest -mavail -n10 -q $(top_srcdir)/COPYING
43         $(SHELL) -e $(top_srcdir)/util/check.sh $(top_srcdir)
44         ./tests/align
45         ./tests/chksum
46         ./examples/simple
47         ./minilzo/testmini
48         @echo
49         @echo "All tests passed. Now you are ready to install LZO."
50         @echo
51
52 @MAINT@-include $(top_srcdir)/Makefile.maint