4ea2b912d714dd93847edd7944c1fa829199d8bd
[framework/uifw/e17.git] / src / modules / mixer / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2 MODULE = mixer
3
4 # data files for the module
5 filesdir = $(libdir)/enlightenment/modules/$(MODULE)
6 files_DATA = e-module-$(MODULE).edj module.desktop
7
8 EXTRA_DIST = $(files_DATA)
9
10 # the module .so file
11 INCLUDES          = -I. \
12                     -I$(top_srcdir) \
13                     -I$(top_srcdir)/src/modules/$(MODULE) \
14                     -I$(top_srcdir)/src/bin \
15                     -I$(top_builddir)/src/bin \
16                     -I$(top_srcdir)/src/modules \
17                     @e_cflags@ @SOUND_CFLAGS@
18 pkgdir            = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
19 pkg_LTLIBRARIES   = module.la
20
21 module_la_SOURCES = e_mod_main.h \
22                     e_mod_main.c \
23                     e_mod_system.h \
24                     conf_gadget.c \
25                     conf_module.c \
26                     app_mixer.c
27
28 if HAVE_ALSA
29 module_la_SOURCES += sys_alsa.c
30 else
31 module_la_SOURCES += sys_dummy.c
32 endif
33
34 module_la_LIBADD       = @SOUND_LIBS@ @e_libs@ @dlopen_libs@
35 module_la_LDFLAGS      = -module -avoid-version
36 module_la_DEPENDENCIES = $(top_builddir)/config.h
37
38 uninstall:
39         rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)