1HEADER_PATH := ${WORKSPACE}/display/display-hal/sdm/include
2
3c_sources = core_interface.cpp \
4            core_impl.cpp \
5            display_base.cpp \
6            display_builtin.cpp \
7            display_pluggable.cpp \
8            display_virtual.cpp \
9            comp_manager.cpp \
10            strategy.cpp \
11            resource_default.cpp \
12            color_manager.cpp \
13            hw_interface.cpp \
14            hw_info_interface.cpp \
15            hw_events_interface.cpp \
16            drm/hw_color_manager_drm.cpp \
17            drm/hw_device_drm.cpp \
18            drm/hw_events_drm.cpp \
19            drm/hw_info_drm.cpp \
20            drm/hw_peripheral_drm.cpp \
21            drm/hw_scale_drm.cpp \
22            drm/hw_tv_drm.cpp \
23            drm/hw_virtual_drm.cpp \
24            fb/hw_info.cpp \
25            fb/hw_device.cpp \
26            fb/hw_primary.cpp \
27            fb/hw_hdmi.cpp \
28            fb/hw_virtual.cpp \
29            fb/hw_color_manager.cpp \
30            fb/hw_scale.cpp \
31            fb/hw_events.cpp
32
33core_h_sources = $(HEADER_PATH)/core/*.h
34
35core_includedir = $(includedir)/sdm/core
36core_include_HEADERS = $(core_h_sources)
37
38private_h_sources = $(HEADER_PATH)/private/*.h
39
40private_includedir = $(includedir)/sdm/private
41private_include_HEADERS = $(private_h_sources)
42
43utils_h_sources = $(HEADER_PATH)/utils/*.h
44
45utils_includedir = $(includedir)/sdm/utils
46utils_include_HEADERS = $(utils_h_sources)
47
48lib_LTLIBRARIES = libsdmcore.la
49libsdmcore_la_CC = @CC@
50libsdmcore_la_SOURCES = $(c_sources)
51libsdmcore_la_CFLAGS = $(COMMON_CFLAGS) -DLOG_TAG=\"SDM\"
52libsdmcore_la_CPPFLAGS = $(AM_CPPFLAGS)
53libsdmcore_la_LIBADD = ../utils/libsdmutils.la
54libsdmcore_la_LDFLAGS = -shared -avoid-version
55