summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-06-15 21:37:01 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-14 23:33:17 -0300
commitde5e6e4d69c5b645ff067caa5d028d713dce6fdc (patch)
treee3eaafdd80a3b76c2edf3aae3abe0184811cd8e9 /Makefile.am
parent968701784f460c7bbe62ff1ed458d381c4a466a4 (diff)
backend: Adding alsa skeleton
Supporting alsa's backend on build system. For now pulse dependency is not optional and both module and epulse are linking directly to epulse library.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b53efe8..2d3f147 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,6 +46,22 @@ src_lib_libepulse_la_LIBADD = @EFL_LIBS@ @PULSE_LIBS@
46src_lib_libepulse_la_LDFLAGS = -no-undefined -avoid-version 46src_lib_libepulse_la_LDFLAGS = -no-undefined -avoid-version
47src_lib_libepulse_la_LIBTOOLFLAGS = --tag=disable-static 47src_lib_libepulse_la_LIBTOOLFLAGS = --tag=disable-static
48 48
49if HAVE_ALSA_PKG
50backendalsapkgdir = $(libdir)/emix/alsa/$(MODULE_ARCH)
51backendalsapkg_LTLIBRARIES = src/lib/backends/alsa/module.la
52src_lib_backends_alsa_module_la_SOURCES = src/lib/backends/alsa/alsa.c
53src_lib_backends_alsa_module_la_CFLAGS = \
54 -DPACKAGE_DATA_DIR=\"$(pkgdatadir)/\" \
55 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
56 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
57 -I$(top_srcdir)/src/lib/ \
58 @EFL_CFLAGS@ \
59 @ALSA_CFLAGS@
60src_lib_backends_alsa_module_la_LIBADD = @EFL_LIBS@ @ALSA_LIBS@ $(top_builddir)/src/lib/libemix.la
61src_lib_backends_alsa_module_la_LDFLAGS = -module
62src_lib_backends_alsa_module_la_LIBTOOLFLAGS = --tag=disable-static
63endif
64
49bin_PROGRAMS = \ 65bin_PROGRAMS = \
50 src/bin/epulse 66 src/bin/epulse
51 67