AM_CPPFLAGS = -DDEBUG -g -Wall \
-DDATADIR=\"${pkgdatadir}\" -DCONFIGDIR=\"${sysconfdir}\" \
-DPACKAGE_VERSION=\"${PACKAGE_VERSION}\"
AM_CXXFLAGS = -std=c++0x
bin_PROGRAMS = upmpdcli
upmpdcli_SOURCES = \
src/avtransport.cxx \
src/avtransport.hxx \
src/execmd.cpp \
src/execmd.h \
src/netcon.cpp \
src/netcon.h \
src/closefrom.cpp \
src/closefrom.h \
src/conftree.cxx \
src/conftree.hxx \
src/conman.cxx \
src/conman.hxx \
src/mpdcli.cxx \
src/mpdcli.hxx \
src/ohinfo.cxx \
src/ohinfo.hxx \
src/ohmetacache.cxx \
src/ohmetacache.hxx \
src/ohplaylist.cxx \
src/ohplaylist.hxx \
src/ohproduct.cxx \
src/ohreceiver.hxx \
src/ohreceiver.cxx \
src/ohproduct.hxx \
src/ohtime.cxx \
src/ohtime.hxx \
src/ohvolume.cxx \
src/ohvolume.hxx \
src/ptmutex.hxx \
src/renderctl.cxx \
src/renderctl.hxx \
src/upmpd.cxx \
src/upmpd.hxx \
src/upmpdutils.cxx \
src/upmpdutils.hxx \
src/workqueue.hxx
upmpdcli_LDADD = -lupnpp -lmpdclient -lpthread
dist_pkgdata_DATA = src/description.xml src/AVTransport.xml \
src/RenderingControl.xml src/ConnectionManager.xml \
src/OHProduct.xml src/OHInfo.xml src/OHTime.xml \
src/OHVolume.xml src/OHPlaylist.xml src/OHReceiver.xml \
src/protocolinfo.txt
dist_sysconf_DATA = src/upmpdcli.conf
dist_man1_MANS = man/upmpdcli.1
EXTRA_DIST = systemd/upmpdcli.service
dist-hook:
test -z "`git status -s | grep -v upmpdcli-$(VERSION)`"
git tag -f -a upmpdcli-v$(VERSION) -m 'version $(VERSION)'