aboutsummaryrefslogtreecommitdiff
path: root/src/clients/reconcilio/util/Makefile.am
blob: c2145c1d2d2453faefe4a48357d8a9fa02ad8e63 (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
49
50
AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_VISIBILITY@

SUBDIRS = .

noinst_LIBRARIES = libreconcilioutil.a

libreconcilioutil_a_SOURCES = \
	realpath.cc          realpath.hh \
	wildcard_expander.cc wildcard_expander.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 = realpath_TEST wildcard_expander_TEST
check_PROGRAMS = $(TESTS)

EXTRA_DIST = \
	realpath_TEST_setup.sh realpath_TEST_cleanup.sh \
	wildcard_expander_TEST_setup.sh wildcard_expander_TEST_cleanup.sh

realpath_TEST_SOURCES = realpath_TEST.cc
realpath_TEST_LDADD = \
	libreconcilioutil.a \
	$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/util/test_extras.o \
	$(top_builddir)/test/libtest.a

wildcard_expander_TEST_SOURCES = wildcard_expander_TEST.cc
wildcard_expander_TEST_LDADD = \
	libreconcilioutil.a \
	$(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