blob: 8bd41ae6577cbb408bc560350069e690fae1413b [file] [log] [blame]
AM_CFLAGS = -I ${WORKSPACE}/external/tinyalsa/include \
-I $(PKG_CONFIG_SYSROOT_DIR)/usr/include/audio-kernel \
-I ${WORKSPACE}/system/media/audio_effects/include
c_sources = bundle.c \
equalizer.c \
bass_boost.c \
virtualizer.c \
reverb.c \
effect_api.c \
effect_util.c
if AFE_PROXY
AM_CFLAGS += -DAFE_PROXY_ENABLED
endif
if HW_ACC_EFFECT
AM_CFLAGS += -DHW_ACCELERATED_EFFECTS
c_sources += hw_accelerator.c
endif
library_include_HEADERS = $(h_sources)
library_includedir = $(includedir)
lib_LTLIBRARIES = libqcompostprocbundle.la
libqcompostprocbundle_la_SOURCES = $(c_sources)
libqcompostprocbundle_la_LIBADD = $(GLIB_LIBS) -llog -lcutils -ltinyalsa -ldl
libqcompostprocbundle_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
libqcompostprocbundle_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\)
libqcompostprocbundle_la_LDFLAGS = -module -shared -avoid-version