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 \ |
| 6 | inc/qahw_effect_bassboost.h \ |
| 7 | inc/qahw_effect_environmentalreverb.h \ |
| 8 | inc/qahw_effect_equalizer.h \ |
| 9 | inc/qahw_effect_presetreverb.h \ |
| 10 | inc/qahw_effect_virtualizer.h \ |
| 11 | inc/qahw_effect_visualizer.h |
Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 12 | |
| 13 | library_include_HEADERS = $(h_sources) |
| 14 | library_includedir = $(includedir)/mm-audio/qahw_api/inc |
| 15 | |
| 16 | lib_LTLIBRARIES = libqahw.la |
Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 17 | libqahw_la_SOURCES = src/qahw.c \ |
| 18 | src/qahw_effect.c |
Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 19 | libqahw_la_CFLAGS = $(AM_CFLAGS) -include stddef.h |
| 20 | libqahw_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\) |
Dhananjay Kumar | 23a3bec | 2017-01-11 18:38:09 +0530 | [diff] [blame^] | 21 | libqahw_la_CFLAGS += -Wno-sign-compare -Werror |
Yamit Mehta | b740f8d | 2016-11-24 09:05:20 +0530 | [diff] [blame] | 22 | libqahw_la_LIBADD = -llog -lcutils -lhardware |
| 23 | libqahw_la_LDFLAGS = -module -shared -avoid-version |