1AM_CFLAGS = -Wall
2AM_CFLAGS += -Wundef
3AM_CFLAGS += -Wno-trigraphs
4AM_CFLAGS += -g -O3
5AM_CFLAGS += "-std=c++11"
6
7
8AM_CPPFLAGS = $(CPPFLAGS)
9AM_CPPFLAGS += -I$(WORKSPACE)/graphics/libdrm/freedreno/kgsl/
10AM_CPPFLAGS += -I$(WORKSPACE)/display/display-hal/gralloc/
11AM_CPPFLAGS += -I$(WORKSPACE)/hardware/libhardware/include/
12c_sources = C2DColorConverter.cpp
13h_sources = C2DColorConverter.h
14
15lib_LTLIBRARIES = libc2dcolorconvert.la
16libc2dcolorconvert_la_SOURCES = $(c_sources) $(h_sources)
17libc2dcolorconvert_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC
18libc2dcolorconvert_la_LIBADD = -ldl -lpthread -llog
19