Initial import for sound hal plugin which handles audio routing on MFLD
[adaptation/intel_mfld/sound-plugin-hal-mfld-blackbay.git] / Makefile.am
1 lib_LTLIBRARIES = libsoundpluginhalmfld.la
2
3 libsoundpluginhalmfld_la_SOURCES = src/audio_hal_plugin_mfld.c \
4                                    src/sound_card_control_mfld.c
5
6 libsoundpluginhalmfld_la_CFLAGS  = \
7                                    $(MMCOMMON_CFLAGS) \
8                                   -I$(srcdir)/include \
9                                    $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\" \
10                                    $(AVSYSTEM_CFLAGS) \
11                                    $(ALSA_CFLAGS)
12
13 libsoundpluginhalmfld_la_LIBADD  = $(MMCOMMON_LIBS) \
14                                    $(MMLOGSVR_LIBS) \
15                                    $(AVSYSTEM_LIBS) \
16                                    $(ALSA_LIBS)
17
18 install-exec-hook:
19         mkdir -p $(DESTDIR)$(libdir)/soundplugins
20         ln -sf /usr/lib/libsoundpluginhalmfld.so $(DESTDIR)$(libdir)/soundplugins/libsoundpluginhalmfld.so
21