summaryrefslogtreecommitdiff
path: root/src/modules/Makefile_mixer.am
blob: 672aa74f81638baeb2ea831dbf188d7f2430698d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
mixerdir = $(MDIR)/mixer
mixer_DATA = mixer/e-module-mixer.edj \
	     mixer/module.desktop

EXTRA_DIST += $(mixer_DATA)

mixerpkgdir = $(MDIR)/mixer/$(MODULE_ARCH)
mixerpkg_LTLIBRARIES = mixer/module.la

mixer_module_la_CFLAGS = $(AM_CFLAGS)
mixer_module_la_LIBADD = $(AM_LIBADD)

mixer_module_la_SOURCES = mixer/e_mod_main.c \
			  mixer/e_mod_main.h \
			  mixer/app_mixer.c \
			  mixer/conf_gadget.c \
			  mixer/conf_module.c \
			  mixer/e_mod_system.h \
			  mixer/msg.c \
			  mixer/Pulse.h \
			  mixer/pa.h \
			  mixer/pa.c \
			  mixer/serial.c \
			  mixer/sink.c \
			  mixer/sys_pulse.c \
			  mixer/tag.c

if HAVE_ALSA
mixer_module_la_SOURCES += mixer/sys_alsa.c
else
mixer_module_la_SOURCES += mixer/sys_dummy.c
endif

mixer_module_la_LIBADD += @SOUND_LIBS@

if HAVE_ENOTIFY
mixer_module_la_CFLAGS += @ENOTIFY_CFLAGS@
mixer_module_la_LIBADD += @ENOTIFY_LIBS@
endif

mixer_module_la_DEPENDENCIES = $(MDEPENDENCIES)