aboutsummaryrefslogtreecommitdiff
path: root/src/clients/reconcilio/broken_linkage_finder/Makefile.am
blob: a2acd4e3ef1621afa95830a973912fd565e93b04 (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
AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_NO_WOLD_STYLE_CAST@ @PALUDIS_CXXFLAGS_NO_WSHADOW@

SUBDIRS = .

noinst_LIBRARIES = libbrokenlinkagefinder.a

libbrokenlinkagefinder_a_SOURCES = \
	broken_linkage_finder.cc   broken_linkage_finder.hh   \
	configuration.cc           configuration.hh           \
	linkage_checker.cc         linkage_checker.hh         \
	libtool_linkage_checker.cc libtool_linkage_checker.hh \
	elf_linkage_checker.cc     elf_linkage_checker.hh

TESTS_ENVIRONMENT = env \
	TEST_SCRIPT_DIR="$(srcdir)/" \
	TEST_OUTPUT_WRAPPER="`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/util/outputwrapper`" \
	bash $(top_srcdir)/test/run_test.sh bash

TESTS = configuration_TEST
check_PROGRAMS = $(TESTS)

EXTRA_DIST = \
	configuration_TEST_setup.sh configuration_TEST_cleanup.sh

configuration_TEST_SOURCES = configuration_TEST.cc
configuration_TEST_LDADD = \
	libbrokenlinkagefinder.a \
	../util/libreconcilioutil.a \
	$(top_builddir)/paludis/libpaludis.la \
	$(top_builddir)/paludis/util/libpaludisutil.la \
	$(top_builddir)/paludis/util/test_extras.o \
	$(top_builddir)/test/libtest.a

CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda
MAINTAINERCLEANFILES = Makefile.in

built-sources : $(BUILT_SOURCES)
	for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done