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