Revert "Revert "put gtest framework source code""
[platform/core/uifw/libtdm.git] / ut / Makefile.am
1 bin_PROGRAMS = tdm_utests
2
3 tdm_utests_SOURCES = \
4         src/main_tests.cpp \
5         src/ut_tdm.cpp \
6         src/ut_tdm_backend.cpp \
7         src/ut_tdm_buffer.cpp \
8         src/ut_tdm_capture.cpp \
9         src/ut_tdm_display.cpp \
10         src/ut_tdm_event_loop.cpp \
11         src/ut_tdm_helper.cpp \
12         src/ut_tdm_pp.cpp \
13         stubs/tbm_stubs.cpp \
14         stubs/tdm_log.cpp \
15         stubs/tdm_thread.cpp \
16         stubs/tdm_server.cpp \
17         stubs/tdm_vblank.cpp
18
19 tdm_utests_CXXFLAGS = \
20         $(CXXFLAGS) \
21         $(TDM_CFLAGS) \
22         -I../src \
23         -I../include \
24         -I./src \
25         -I./stubs \
26         -I./gtest/googletest/include \
27         -fpermissive \
28         -w
29
30 tdm_utests_LDADD = \
31         gtest/googletest/lib/.libs/libgtest.a
32
33 tdm_utests_LDFLAGS = \
34         ${LDFLAGS} \
35         $(TDM_LIBS) \
36         -ldl \
37         -pthread
38
39 check:
40         ./tdm_utests