blob: 5646d287d304e72968b0e23c4367274717261b7a [file] [log] [blame]
HEADER_PATH := ${WORKSPACE}/display/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