From: Mike Brady Date: Mon, 5 Mar 2018 19:55:29 +0000 (+0000) Subject: Allow the mpris and the dbus test clients to be compiled at the same time. X-Git-Tag: 3.2d29~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9776b378d4edc412c934e9de8fd6b2a2b01edbd5;p=thirdparty%2Fshairport-sync.git Allow the mpris and the dbus test clients to be compiled at the same time. --- diff --git a/Makefile.am b/Makefile.am index db385dae..4e606364 100644 --- a/Makefile.am +++ b/Makefile.am @@ -114,15 +114,17 @@ mpris-player-interface.h mpris-player-interface.c: org.mpris.MediaPlayer2.Playe gdbus-codegen --interface-prefix org.mpris --generate-c-code mpris-player-interface org.mpris.MediaPlayer2.Player.xml endif +noinst_PROGRAMS = + if USE_DBUS_CLIENT #Make it, but don't install it anywhere -noinst_PROGRAMS = shairport-sync-dbus-test-client +noinst_PROGRAMS += shairport-sync-dbus-test-client shairport_sync_dbus_test_client_SOURCES = dbus-interface.c dbus-interface.h shairport-sync-dbus-test-client.c endif if USE_MPRIS_CLIENT #Make it, but don't install it anywhere -noinst_PROGRAMS = shairport-sync-mpris-test-client +noinst_PROGRAMS += shairport-sync-mpris-test-client shairport_sync_mpris_test_client_SOURCES = mpris-interface.c mpris-interface.h mpris-player-interface.c mpris-player-interface.h shairport-sync-mpris-test-client.c endif