update for beta release
[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 if HAVE_ENOTIFY
19 INCLUDES          += @ENOTIFY_CFLAGS@
20 endif
21
22 pkgdir            = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
23 pkg_LTLIBRARIES   = module.la
24
25 module_la_SOURCES = e_mod_main.h \
26                     Pulse.h \
27                     pa.h \
28                     e_mod_main.c \
29                     e_mod_system.h \
30                     conf_gadget.c \
31                     conf_module.c \
32                     sys_pulse.c \
33                     app_mixer.c \
34                     msg.c \
35                     pa.c \
36                     serial.c \
37                     sink.c \
38                     tag.c
39
40 if HAVE_ALSA
41 module_la_SOURCES += sys_alsa.c
42 else
43 module_la_SOURCES += sys_dummy.c
44 endif
45
46 module_la_LIBADD       = @SOUND_LIBS@ @e_libs@ @dlopen_libs@
47 if HAVE_ENOTIFY
48 module_la_LIBADD       += @ENOTIFY_LIBS@
49 endif
50
51 module_la_LDFLAGS      = -module -avoid-version
52 module_la_DEPENDENCIES = $(top_builddir)/config.h
53
54 uninstall:
55         rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)