4e6cd6f42d45898a7a37cc24ad3384193eaefec6
[platform/core/uifw/libtdm.git] / ut / Makefile.am
1 bin_PROGRAMS = ut
2
3 ut_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 ut_CXXFLAGS = \
20         $(CXXFLAGS) \
21         $(TDM_CFLAGS) \
22         -I../src \
23         -I../include \
24         -I./src \
25         -I./stubs \
26         -fpermissive \
27         -Wno-unused-variable
28
29 ut_LDFLAGS = \
30         ${LDFLAGS} \
31         $(TDM_LIBS) \
32         -lgtest \
33         -ldl \
34         -pthread
35
36 check:
37         ./ut