routing: add loopback support to nodes
[profile/ivi/pulseaudio-module-murphy-ivi.git] / murphy / Makefile.am
1 if BUILD_WITH_DBUS
2 CONDITIONAL_LIBS    = $(DBUS_LIBS)
3 CONDITIONAL_CFLAGS = $(DBUS_CFLAGS)
4 ROUTERIF  = dbusif.c
5 AM_CFLAGS = -I.. -DWITH_DBUS
6 else
7 ROUTERIF = socketif.c
8 AM_CFLAGS = -I..
9 endif
10
11 modlibexec_LTLIBRARIES = module-murphy-ivi.la
12
13 module_murphy_ivi_la_SOURCES = \
14                         module-murphy-ivi.c \
15                         tracker.c \
16                         node.c \
17                         discover.c \
18                         constrain.c \
19                         router.c \
20                         switch.c \
21                         fader.c \
22                         multiplex.c \
23                         loopback.c \
24                         volume.c \
25                         audiomgr.c \
26                         $(ROUTERIF) \
27                         config.c \
28                         classify.c \
29                         utils.c
30
31 if BUILD_WITH_DBUS
32 dbussysdir = $(sysconfdir)/dbus-1/system.d
33 dbussys_DATA = pulseaudio-murphy-ivi.conf
34
35 EXTRA_DIST = $(dbussys_DATA)
36 endif
37
38
39 module_murphy_ivi_la_LDFLAGS = -module -avoid-version -Wl,--no-undefined
40 module_murphy_ivi_la_LIBADD = $(AM_LIBADD) $(CONDITIONAL_LIBS) $(LIBPULSE_LIBS) $(PULSEDEVEL_LIBS)
41 module_murphy_ivi_la_CFLAGS = $(AM_CFLAGS) $(CONDITIONAL_CFLAGS) $(LIBPULSE_CFLAGS) $(PULSEDEVEL_CFLAGS)