blob: 9809db9b5d8e84ed063778dde291cd7554767f1f [file] [log] [blame]
HEADER_PATH := ${WORKSPACE}/hardware/qcom/display/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