blob: a04c87400ef93b7049d205222513cf385adec1bc [file] [log] [blame]
HEADER_PATH := ${WORKSPACE}/display/display-hal/libdrmutils
cpp_sources = drm_lib_loader.cpp \
drm_master.cpp \
drm_res_mgr.cpp
drmutils_h_sources = $(HEADER_PATH)/*.h
drmutils_includedir = $(includedir)
drmutils_include_HEADERS = $(drmutils_h_sources)
lib_LTLIBRARIES = libdrmutils.la
libdrmutils_la_CC = @CC@
libdrmutils_la_SOURCES = $(cpp_sources)
libdrmutils_la_CFLAGS = $(COMMON_CFLAGS) -DLOG_TAG=\"DRMUTILS\"
libdrmutils_la_CPPFLAGS = $(AM_CPPFLAGS)
libsdmcore_la_LIBADD = -ldrm
libdrmutils_la_LDFLAGS = -shared -avoid-version