Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame^] | 1 | AM_CFLAGS = -I ${WORKSPACE}/external/tinyalsa/include \ |
| 2 | -I ${WORKSPACE}/system/media/audio_effects/include |
| 3 | |
| 4 | c_sources = bundle.c \ |
| 5 | equalizer.c \ |
| 6 | bass_boost.c \ |
| 7 | virtualizer.c \ |
| 8 | reverb.c \ |
| 9 | effect_api.c \ |
| 10 | effect_util.c |
| 11 | |
| 12 | if AFE_PROXY |
| 13 | AM_CFLAGS += -DAFE_PROXY_ENABLED |
| 14 | endif |
| 15 | |
| 16 | if HW_ACC_EFFECT |
| 17 | AM_CFLAGS += -DHW_ACCELERATED_EFFECTS |
| 18 | c_sources += hw_accelerator.c |
| 19 | endif |
| 20 | |
| 21 | if AUDIOSPHERE |
| 22 | AM_CFLAGS += -DAUDIOSPHERE_ENABLED |
| 23 | c_sources += asphere.c |
| 24 | endif |
| 25 | |
| 26 | library_include_HEADERS = $(h_sources) |
| 27 | library_includedir = $(includedir) |
| 28 | |
| 29 | lib_LTLIBRARIES = libqcompostprocbundle.la |
| 30 | libqcompostprocbundle_la_SOURCES = $(c_sources) |
| 31 | libqcompostprocbundle_la_LIBADD = $(GLIB_LIBS) -llog -lcutils -ltinyalsa -ldl |
| 32 | libqcompostprocbundle_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS) |
| 33 | libqcompostprocbundle_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\) |
| 34 | libqcompostprocbundle_la_LDFLAGS = -module -shared -avoid-version |