diff options
author | Flavio Ceolin <flavio.ceolin@gmail.com> | 2014-06-15 21:37:01 -0300 |
---|---|---|
committer | Flavio Ceolin <flavio.ceolin@gmail.com> | 2014-08-14 23:33:17 -0300 |
commit | de5e6e4d69c5b645ff067caa5d028d713dce6fdc (patch) | |
tree | e3eaafdd80a3b76c2edf3aae3abe0184811cd8e9 /Makefile.am | |
parent | 968701784f460c7bbe62ff1ed458d381c4a466a4 (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.am | 16 |
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@ | |||
46 | src_lib_libepulse_la_LDFLAGS = -no-undefined -avoid-version | 46 | src_lib_libepulse_la_LDFLAGS = -no-undefined -avoid-version |
47 | src_lib_libepulse_la_LIBTOOLFLAGS = --tag=disable-static | 47 | src_lib_libepulse_la_LIBTOOLFLAGS = --tag=disable-static |
48 | 48 | ||
49 | if HAVE_ALSA_PKG | ||
50 | backendalsapkgdir = $(libdir)/emix/alsa/$(MODULE_ARCH) | ||
51 | backendalsapkg_LTLIBRARIES = src/lib/backends/alsa/module.la | ||
52 | src_lib_backends_alsa_module_la_SOURCES = src/lib/backends/alsa/alsa.c | ||
53 | src_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@ | ||
60 | src_lib_backends_alsa_module_la_LIBADD = @EFL_LIBS@ @ALSA_LIBS@ $(top_builddir)/src/lib/libemix.la | ||
61 | src_lib_backends_alsa_module_la_LDFLAGS = -module | ||
62 | src_lib_backends_alsa_module_la_LIBTOOLFLAGS = --tag=disable-static | ||
63 | endif | ||
64 | |||
49 | bin_PROGRAMS = \ | 65 | bin_PROGRAMS = \ |
50 | src/bin/epulse | 66 | src/bin/epulse |
51 | 67 | ||