1HEADER_PATH := ${WORKSPACE}/display/display-hal/include 2h_sources = alloc_controller.h \ 3 memalloc.h 4 5cpp_sources = ionalloc.cpp \ 6 alloc_controller.cpp 7 8memalloc_includedir = $(pkgincludedir) 9memalloc_include_HEADERS = $(h_sources) 10 11lib_LTLIBRARIES = libmemalloc.la 12libmemalloc_la_CC = @CC@ 13libmemalloc_la_SOURCES = $(cpp_sources) 14libmemalloc_la_CFLAGS = $(COMMON_CFLAGS) -DLOG_TAG=\"qdmemalloc\" 15libmemalloc_la_CPPFLAGS = $(AM_CPPFLAGS) 16libmemalloc_la_LIBADD = ../libqdutils/libqdutils.la 17libmemalloc_la_LIBADD += -lhardware -lcutils -llog -lutils -ldl 18libmemalloc_la_LDFLAGS = -shared -avoid-version 19 20header_sources = gralloc_priv.h \ 21 gr.h \ 22 adreno_utils.h \ 23 $(HEADER_PATH)/color_metadata.h 24 25c_sources = gpu.cpp \ 26 gralloc.cpp \ 27 framebuffer.cpp \ 28 mapper.cpp 29 30library_includedir = $(pkgincludedir) 31library_include_HEADERS = $(header_sources) 32 33lib_LTLIBRARIES += libgralloc.la 34libgralloc_la_CC = @CC@ 35libgralloc_la_SOURCES = $(c_sources) 36libgralloc_la_CFLAGS = $(COMMON_CFLAGS) -DLOG_TAG=\"qdgralloc\" 37libgralloc_la_CPPFLAGS = $(AM_CPPFLAGS) 38libgralloc_la_LIBADD = ../libqdutils/libqdutils.la 39libgralloc_la_LIBADD += ../libqdutils/libqdMetaData.la 40libgralloc_la_LIBADD += -lhardware -lcutils -llog -lutils -lbinder 41libgralloc_la_LIBADD += libmemalloc.la 42libgralloc_la_LDFLAGS = -shared -avoid-version 43