summaryrefslogtreecommitdiff
path: root/lzo/Makefile.am
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-04-16 19:21:14 +0200
committerArne Schwabe <arne@rfc2549.org>2012-04-16 19:21:14 +0200
commit3e4d8f433239c40311037616b1b8833a06651ae0 (patch)
tree98ab7fce0d011d34677b0beb762d389cb5c39199 /lzo/Makefile.am
Initial import
Diffstat (limited to 'lzo/Makefile.am')
-rw-r--r--lzo/Makefile.am52
1 files changed, 52 insertions, 0 deletions
diff --git a/lzo/Makefile.am b/lzo/Makefile.am
new file mode 100644
index 00000000..7799509a
--- /dev/null
+++ b/lzo/Makefile.am
@@ -0,0 +1,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