Sidipotu Ashok | 404f26d | 2017-10-10 22:27:51 +0530 | [diff] [blame] | 1 | AM_CFLAGS = -I $(top_srcdir)/inc |
| 2 | |
| 3 | h_sources = inc/qahw.h \ |
| 4 | inc/qahw_effect_api.h |
| 5 | |
| 6 | qahw_include_HEADERS = $(h_sources) |
| 7 | qahw_includedir = $(includedir)/mm-audio/qahw/inc |
| 8 | |
| 9 | qahw_api_include_HEADERS = inc/qahw_defs.h |
| 10 | qahw_api_includedir = $(includedir)/mm-audio/qahw_api/inc |
| 11 | |
| 12 | lib_LTLIBRARIES = libqahwwrapper.la |
| 13 | libqahwwrapper_la_SOURCES = src/qahw.c \ |
| 14 | src/qahw_effect.c |
| 15 | |
Dhanalakshmi Siddani | 7764e3f | 2018-03-05 19:57:06 +0530 | [diff] [blame] | 16 | if SVA_AUDIO_CONCURRENCY |
| 17 | AM_CFLAGS += -DSVA_AUDIO_CONC |
| 18 | endif |
| 19 | |
Sidipotu Ashok | 404f26d | 2017-10-10 22:27:51 +0530 | [diff] [blame] | 20 | libqahwwrapper_la_CFLAGS = $(AM_CFLAGS) |
| 21 | libqahwwrapper_la_CFLAGS += -include stddef.h |
Sachin Mohan Gadag | 12f5884 | 2017-12-05 15:46:28 +0530 | [diff] [blame] | 22 | libqahwwrapper_la_CFLAGS += -Dstrlcpy=g_strlcpy $(GLIB_CFLAGS) -include glib.h |
Sidipotu Ashok | 404f26d | 2017-10-10 22:27:51 +0530 | [diff] [blame] | 23 | libqahwwrapper_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\) |
Sachin Mohan Gadag | 12f5884 | 2017-12-05 15:46:28 +0530 | [diff] [blame] | 24 | libqahwwrapper_la_CFLAGS += -Werror -Wall |
Sachin Mohan Gadag | 364932c | 2017-10-30 19:14:52 +0530 | [diff] [blame] | 25 | libqahwwrapper_la_CFLAGS += -DNDEBUG |
Sachin Mohan Gadag | 12f5884 | 2017-12-05 15:46:28 +0530 | [diff] [blame] | 26 | libqahwwrapper_la_LDFLAGS = -shared -avoid-version -llog -lcutils -lhardware $(GLIB_LIBS) |