blob: bef292c17ac03930ef41d27c8dc38569be6cd2f2 [file] [log] [blame]
AM_CFLAGS = -Wall
AM_CFLAGS += -Wundef
AM_CFLAGS += -Wno-trigraphs
AM_CFLAGS += -g -O3
AM_CFLAGS += "-std=c++11"
AM_CPPFLAGS = $(CPPFLAGS)
AM_CPPFLAGS += -I$(WORKSPACE)/graphics/libdrm/freedreno/kgsl/
AM_CPPFLAGS += -I$(WORKSPACE)/display/display-hal/gralloc/
AM_CPPFLAGS += -I$(WORKSPACE)/hardware/libhardware/include/
c_sources = C2DColorConverter.cpp
h_sources = C2DColorConverter.h
lib_LTLIBRARIES = libc2dcolorconvert.la
libc2dcolorconvert_la_SOURCES = $(c_sources) $(h_sources)
libc2dcolorconvert_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC
libc2dcolorconvert_la_LIBADD = -ldl -lpthread -llog