hwc: redesign the hwc
[platform/core/uifw/libtdm.git] / utests / Makefile.am
index c95689c..7aed5c8 100644 (file)
@@ -1,24 +1,34 @@
 bin_PROGRAMS = tdm-utests
 
 tdm_utests_SOURCES = \
-       src/ut_main.cpp \
-       src/ut_tdm.cpp \
-       src/ut_tdm_pp.cpp \
-       src/ut_tdm_capture.cpp \
+       src/ut_tdm_main.cpp \
+       src/ut_tdm_log.cpp \
+       src/ut_tdm_env.cpp \
+       src/ut_tdm_event_loop.cpp \
+       src/ut_tdm_buffer.cpp \
+       src/ut_tdm_helper.cpp \
+       src/ut_tdm_vblank.cpp \
+       src/ut_tdm_display.cpp \
        src/ut_tdm_output.cpp \
-       src/ut_tdm_layer.cpp
+       src/ut_tdm_layer.cpp \
+       src/ut_tdm_client.cpp \
+       src/ut_tdm_backend_env.cpp \
+       src/ut_tdm_backend_display.cpp \
+       src/ut_tdm_backend_pp.cpp \
+       src/ut_tdm_backend_capture.cpp
+
+tdm_utests_SOURCES += \
+       ../tools/buffers.c
 
 tdm_utests_CXXFLAGS = \
        $(CXXFLAGS) \
        $(TDM_CFLAGS) \
        -I../src \
        -I../include \
-       -I./src \
+       -I../client \
+       -I../tools \
        -I$(includedir)/gtest \
-       -fpermissive \
-       -rdynamic \
-       -DFAIL_ON_UNSUPPORTED \
-       -w
+       -fpermissive
 # The flag -w is used, because there are many warnings in libtdm's sources.
 # Warnings occur because we build project with g++.
 # In C++ we need to use explicit types conversion.
@@ -27,6 +37,8 @@ tdm_utests_LDFLAGS = \
        ${LDFLAGS} \
        $(TDM_LIBS) \
        $(top_builddir)/src/libtdm.la \
+       $(top_builddir)/client/libtdm-client.la \
+       $(top_builddir)/common/libtdm-common.la \
        -lgtest
 
 check: