aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gentoo/ebuild/digests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/gentoo/ebuild/digests/Makefile.am')
-rw-r--r--paludis/repositories/gentoo/ebuild/digests/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/paludis/repositories/gentoo/ebuild/digests/Makefile.am b/paludis/repositories/gentoo/ebuild/digests/Makefile.am
new file mode 100644
index 000000000..d4ad64597
--- /dev/null
+++ b/paludis/repositories/gentoo/ebuild/digests/Makefile.am
@@ -0,0 +1,31 @@
+MAINTAINERCLEANFILES = Makefile.in
+CLEANFILES = *~
+SUBDIRS = .
+
+libexecprogdir = $(libexecdir)/paludis/digests/
+
+libexecprog_PROGRAMS = \
+ dosha256 \
+ dormd160 \
+ domd5
+
+dosha256_SOURCES = dosha256.cc
+dosha256_LDADD = $(top_builddir)/paludis/digests/libpaludisdigests.la
+
+dormd160_SOURCES = dormd160.cc
+dormd160_LDADD = $(top_builddir)/paludis/digests/libpaludisdigests.la
+
+domd5_SOURCES = domd5.cc
+domd5_LDADD = $(top_builddir)/paludis/digests/libpaludisdigests.la
+
+TESTS_ENVIRONMENT = env \
+ PALUDIS_EBUILD_DIR="$(srcdir)/ebuild/" \
+ TEST_SCRIPT_DIR="$(srcdir)/" \
+ bash $(top_srcdir)/test/run_test.sh
+
+AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@
+
+built-sources : $(BUILT_SOURCES)
+ for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
+
+