aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/fake/Makefile.am')
-rw-r--r--paludis/repositories/fake/Makefile.am34
1 files changed, 20 insertions, 14 deletions
diff --git a/paludis/repositories/fake/Makefile.am b/paludis/repositories/fake/Makefile.am
index c51b5ff0a..1b2e39348 100644
--- a/paludis/repositories/fake/Makefile.am
+++ b/paludis/repositories/fake/Makefile.am
@@ -14,35 +14,41 @@ EXTRA_DIST = \
fake_installed_repository_TEST.cc \
dep_parser_TEST.cc
+fake_repository_TEST_SOURCES = \
+ fake_repository_TEST.cc
+
fake_repository_TEST_LDADD = \
+ $(top_builddir)/paludis/util/gtest_runner.o \
$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/test/libtest.a
+ $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la
fake_repository_TEST_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@
+fake_repository_TEST_LDFLAGS = @GTESTDEPS_LDFLAGS@ @GTESTDEPS_LIBS@
+
+fake_installed_repository_TEST_SOURCES = \
+ fake_installed_repository_TEST.cc
+
fake_installed_repository_TEST_LDADD = \
+ $(top_builddir)/paludis/util/gtest_runner.o \
$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/test/libtest.a
+ $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la
fake_installed_repository_TEST_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@
+fake_installed_repository_TEST_LDFLAGS = @GTESTDEPS_LDFLAGS@ @GTESTDEPS_LIBS@
+
+dep_parser_TEST_SOURCES = \
+ dep_parser_TEST.cc
+
dep_parser_TEST_LDADD = \
+ $(top_builddir)/paludis/util/gtest_runner.o \
$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/test/libtest.a
+ $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la
dep_parser_TEST_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@
-fake_repository_TEST_SOURCES = \
- fake_repository_TEST.cc
-
-fake_installed_repository_TEST_SOURCES = \
- fake_installed_repository_TEST.cc
-
-dep_parser_TEST_SOURCES = \
- dep_parser_TEST.cc
+dep_parser_TEST_LDFLAGS = @GTESTDEPS_LDFLAGS@ @GTESTDEPS_LIBS@
noinst_LTLIBRARIES = libpaludisfakerepository.la