1AM_CFLAGS = -Werror 2AM_CFLAGS += -Wall 3AM_CFLAGS += -g -O3 4 5AM_CPPFLAGS = -g -O3 6AM_CFLAGS += "-std=c++11" 7AM_CPPFLAGS += -Wno-error=unused-variable 8AM_CPPFLAGS += -D__unused=__attribute__\(\(__unused__\)\) 9 10 11AM_CPPFLAGS += "-Dstrlcpy=g_strlcpy" 12AM_CPPFLAGS += "-Dstrlcat=g_strlcat" 13AM_CPPFLAGS += -Wextra 14AM_CPPFLAGS += -Wno-missing-field-initializers 15AM_CPPFLAGS += -fexceptions 16 17 18AM_CPPFLAGS += -I$(top_srcdir)/mm-core/inc/ 19AM_CPPFLAGS += -I$(top_srcdir)/mm-video-v4l2/vidc/common/inc/ 20c_sources := PlatformConfig.cpp 21c_sources += ConfigParser.cpp 22 23lib_LTLIBRARIES = libplatformconfig.la 24libplatformconfig_la_SOURCES = $(c_sources) 25libplatformconfig_la_CFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC 26libplatformconfig_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC 27libplatformconfig_la_LIBADD = -lexpat -llog -lcutils -lutils 28