audio: qahw_effect_api: Initial version of QTI audio effect HAL
Initial version of QTI audio effect HAL Wrapper.
CRs-Fixed: 1081403
Change-Id: I12291cc7106f7530422891d1bee7e3d4530563c5
diff --git a/post_proc/Makefile.am b/post_proc/Makefile.am
new file mode 100644
index 0000000..e161f8d
--- /dev/null
+++ b/post_proc/Makefile.am
@@ -0,0 +1,34 @@
+AM_CFLAGS = -I ${WORKSPACE}/external/tinyalsa/include \
+ -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
+
+if AUDIOSPHERE
+AM_CFLAGS += -DAUDIOSPHERE_ENABLED
+c_sources += asphere.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