aboutsummaryrefslogtreecommitdiff
path: root/src/clients/reconcilio/broken_linkage_finder/Makefile.am
blob: 5f7ae7f6525c0030290a29ed870f340ec1fc101b (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
41
42
43
44
45
46
47
48
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 \
	PALUDIS_OPTIONS="" \
	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)/src/clients/reconcilio/littlelf/liblittlelf.a \
	$(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/util/test_extras.o \
	$(top_builddir)/test/libtest.a

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

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

distcheck-deps-local : $(DISTCHECK_DEPS)

distcheck-deps : distcheck-deps-subdirs

distcheck-deps-subdirs :
	for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) distcheck-deps-local || exit 1 ; \
	    else $(MAKE) -C $$s distcheck-deps || exit 1 ; fi ; done