Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 1 | AM_CFLAGS = -I $(top_srcdir)/qahw_api/inc |
| 2 | |
| 3 | h_sources = inc/qahw_api.h \ |
Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 4 | inc/qahw_defs.h \ |
| 5 | inc/qahw_effect_api.h \ |
Weiyin Jiang | 82e4094 | 2017-01-10 16:07:34 +0800 | [diff] [blame] | 6 | inc/qahw_effect_audiosphere.h \ |
Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 7 | inc/qahw_effect_bassboost.h \ |
| 8 | inc/qahw_effect_environmentalreverb.h \ |
| 9 | inc/qahw_effect_equalizer.h \ |
| 10 | inc/qahw_effect_presetreverb.h \ |
| 11 | inc/qahw_effect_virtualizer.h \ |
| 12 | inc/qahw_effect_visualizer.h |
Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 13 | |
| 14 | library_include_HEADERS = $(h_sources) |
| 15 | library_includedir = $(includedir)/mm-audio/qahw_api/inc |
| 16 | |
| 17 | lib_LTLIBRARIES = libqahw.la |
Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 18 | libqahw_la_SOURCES = src/qahw.c \ |
| 19 | src/qahw_effect.c |
puneet | c4625f3 | 2017-08-02 10:33:23 +0530 | [diff] [blame] | 20 | libqahw_la_CFLAGS = -Dstrlcpy=g_strlcpy $(GLIB_CFLAGS) -include glib.h $(AM_CFLAGS) -include stddef.h |
Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 21 | libqahw_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\) |
Dhananjay Kumar | 23a3bec | 2017-01-11 18:38:09 +0530 | [diff] [blame] | 22 | libqahw_la_CFLAGS += -Wno-sign-compare -Werror |
Remil Ram | 372e46d | 2017-08-10 00:16:10 -0700 | [diff] [blame] | 23 | libqahw_la_CFLAGS += -Dstrlcat=g_strlcat -Dstrlcpy=g_strlcpy -include glib.h $(GLIB_CFLAGS) |
| 24 | libqahw_la_LIBADD = $(GLIB_LIBS) -llog -lcutils -lhardware -ldl |
Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 25 | libqahw_la_LDFLAGS = -module -shared -avoid-version |