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