aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 5eca08ab7817559d5124e4bdcd22d6ba41fad0a7 (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

AM_CPPFLAGS = \
	$(GTEST_CPPFLAGS) \
	$(XORG_GTEST_CPPFLAGS) \
	$(INDICATOR_CFLAGS) \
	-I${top_srcdir}/src \
	-Wall -Werror
AM_CXXFLAGS = $(GTEST_CXXFLAGS)

TESTS = test-service
check_PROGRAMS = test-service
test_service_SOURCES = test-service.cc
test_service_LDADD = $(TEST_SERVICE_LIBS) libgtest.a
test_service_CPPFLAGS = \
	$(TEST_SERVICE_CFLAGS) \
	$(AM_CPPFLAGS) \
	-DINDICATOR_SERVICE_PATH="\"$(top_builddir)/src/indicator-session-service\""

check_LIBRARIES = libgtest.a
nodist_libgtest_a_SOURCES = \
	$(XORG_GTEST_SOURCE)/src/xorg-gtest-all.cpp \
	$(GTEST_SOURCE)/src/gtest-all.cc \
	$(XORG_GTEST_SOURCE)/src/xorg-gtest_main.cpp