aboutsummaryrefslogtreecommitdiff
path: root/0.4.0/src/qualudis/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '0.4.0/src/qualudis/Makefile.am')
-rw-r--r--0.4.0/src/qualudis/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/0.4.0/src/qualudis/Makefile.am b/0.4.0/src/qualudis/Makefile.am
new file mode 100644
index 0000000..1fd9695
--- /dev/null
+++ b/0.4.0/src/qualudis/Makefile.am
@@ -0,0 +1,31 @@
+CLEANFILES = *~ version_TEST gmon.out *.gcov *.gcno *.gcda
+MAINTAINERCLEANFILES = Makefile.in
+AM_CXXFLAGS = -I$(top_srcdir)
+DEFS= \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \
+ -DLIBEXECDIR=\"$(libexecdir)\" \
+ -DBIGTEMPDIR=\"/var/tmp\"
+SUBDIRS = .
+
+if ENABLE_QA
+
+bin_PROGRAMS = qualudis
+
+qualudis_SOURCES = \
+ qualudis_command_line.hh qualudis_command_line.cc \
+ qualudis.cc
+
+qualudis_LDADD = \
+ $(top_builddir)/paludis/args/libpaludisargs.a \
+ $(top_builddir)/paludis/qa/libpaludisqa.a \
+ $(top_builddir)/paludis/libpaludis.a \
+ $(top_builddir)/paludis/util/libpaludisutil.a
+
+TESTS_ENVIRONMENT = env TEST_SCRIPT_DIR="$(srcdir)/" bash $(top_srcdir)/test/run_test.sh bash
+TESTS = version_TEST
+
+version_TEST :
+ echo -e "#!/bin/sh\n./qualudis --version" > $@
+
+endif
+