change the utests to haltests
[platform/core/uifw/libtdm.git] / haltests / Makefile.am
1 bin_PROGRAMS = tdm-haltests
2
3 tdm_haltests_SOURCES = \
4         src/tc_tdm_main.cpp \
5         src/tc_tdm_log.cpp \
6         src/tc_tdm_env.cpp \
7         src/tc_tdm_event_loop.cpp \
8         src/tc_tdm_buffer.cpp \
9         src/tc_tdm_helper.cpp \
10         src/tc_tdm_vblank.cpp \
11         src/tc_tdm_display.cpp \
12         src/tc_tdm_output.cpp \
13         src/tc_tdm_layer.cpp \
14         src/tc_tdm_client.cpp \
15         src/tc_tdm_backend_env.cpp \
16         src/tc_tdm_backend_display.cpp \
17         src/tc_tdm_backend_pp.cpp \
18         src/tc_tdm_backend_capture.cpp
19
20 tdm_haltests_SOURCES += \
21         ../tools/buffers.c
22
23 tdm_haltests_CXXFLAGS = \
24         $(CXXFLAGS) \
25         $(TDM_CFLAGS) \
26         -I../src \
27         -I../include \
28         -I../client \
29         -I../tools \
30         -I$(includedir)/gtest \
31         -fpermissive
32 # The flag -w is used, because there are many warnings in libtdm's sources.
33 # Warnings occur because we build project with g++.
34 # In C++ we need to use explicit types conversion.
35
36 tdm_haltests_LDFLAGS = \
37         ${LDFLAGS} \
38         $(TDM_LIBS) \
39         $(top_builddir)/src/libtdm.la \
40         $(top_builddir)/client/libtdm-client.la \
41         $(top_builddir)/common/libtdm-common.la \
42         -lgtest
43
44 check:
45         ./tdm-haltests