blob: b78c9b7892572bcd4ef0ae75d75e0923df6cb402 [file] [log] [blame]
Sidipotu Ashok404f26d2017-10-10 22:27:51 +05301AM_CFLAGS = -I $(top_srcdir)/inc
2
3h_sources = inc/qahw.h \
4 inc/qahw_effect_api.h
5
6qahw_include_HEADERS = $(h_sources)
7qahw_includedir = $(includedir)/mm-audio/qahw/inc
8
9qahw_api_include_HEADERS = inc/qahw_defs.h
10qahw_api_includedir = $(includedir)/mm-audio/qahw_api/inc
11
12lib_LTLIBRARIES = libqahwwrapper.la
13libqahwwrapper_la_SOURCES = src/qahw.c \
14 src/qahw_effect.c
15
Dhanalakshmi Siddani7764e3f2018-03-05 19:57:06 +053016if SVA_AUDIO_CONCURRENCY
17AM_CFLAGS += -DSVA_AUDIO_CONC
18endif
19
Sidipotu Ashok404f26d2017-10-10 22:27:51 +053020libqahwwrapper_la_CFLAGS = $(AM_CFLAGS)
21libqahwwrapper_la_CFLAGS += -include stddef.h
Sachin Mohan Gadag12f58842017-12-05 15:46:28 +053022libqahwwrapper_la_CFLAGS += -Dstrlcpy=g_strlcpy $(GLIB_CFLAGS) -include glib.h
Sidipotu Ashok404f26d2017-10-10 22:27:51 +053023libqahwwrapper_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\)
Sachin Mohan Gadag12f58842017-12-05 15:46:28 +053024libqahwwrapper_la_CFLAGS += -Werror -Wall
Sachin Mohan Gadag364932c2017-10-30 19:14:52 +053025libqahwwrapper_la_CFLAGS += -DNDEBUG
Sachin Mohan Gadag12f58842017-12-05 15:46:28 +053026libqahwwrapper_la_LDFLAGS = -shared -avoid-version -llog -lcutils -lhardware $(GLIB_LIBS)