Parent: [ef0988] (diff)

Child: [16dd09] (diff)

Download this file

Makefile.am    134 lines (115 with data), 4.1 kB

  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
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
AM_CPPFLAGS = -DDEBUG -g -Wall \
-I${prefix}/include/libupnpp \
-I$(top_srcdir)/src \
-DDATADIR=\"${pkgdatadir}\" -DCONFIGDIR=\"${sysconfdir}\"
AM_CXXFLAGS = -std=c++11
bin_PROGRAMS = upmpdcli scctl
upmpdcli_SOURCES = \
src/avtransport.cxx \
src/avtransport.hxx \
src/cdplugins/cdplugin.hxx \
src/cdplugins/cmdtalk.cpp \
src/cdplugins/cmdtalk.h \
src/cdplugins/tidal.cxx \
src/cdplugins/tidal.hxx \
src/closefrom.cpp \
src/closefrom.h \
src/conf_post.h \
src/conftree.cpp \
src/conftree.h \
src/conman.cxx \
src/conman.hxx \
src/contentdirectory.cxx \
src/contentdirectory.hxx \
src/execmd.cpp \
src/execmd.h \
src/httpfs.cxx \
src/httpfs.hxx \
src/main.cxx \
src/mediaserver.cxx \
src/mediaserver.hxx \
src/mpdcli.cxx \
src/mpdcli.hxx \
src/netcon.cpp \
src/netcon.h \
src/ohinfo.cxx \
src/ohinfo.hxx \
src/ohmetacache.cxx \
src/ohmetacache.hxx \
src/ohplaylist.cxx \
src/ohplaylist.hxx \
src/ohproduct.cxx \
src/ohproduct.hxx \
src/ohradio.cxx \
src/ohradio.hxx \
src/ohreceiver.cxx \
src/ohreceiver.hxx \
src/ohservice.hxx \
src/ohsndrcv.cxx \
src/ohsndrcv.hxx \
src/ohtime.cxx \
src/ohtime.hxx \
src/ohvolume.cxx \
src/ohvolume.hxx \
src/pathut.cpp \
src/pathut.h \
src/readfile.cpp \
src/readfile.h \
src/renderctl.cxx \
src/renderctl.hxx \
src/smallut.cpp \
src/smallut.h \
src/upmpd.cxx \
src/upmpd.hxx \
src/upmpdutils.cxx \
src/upmpdutils.hxx
upmpdcli_LDADD = $(UPMPDCLI_LIBS)
scctl_SOURCES = \
scctl_src/scctl.cpp \
src/netcon.cpp \
src/smallut.cpp \
src/upmpdutils.cxx
scctl_LDADD = $(SCCTL_LIBS)
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/OHRadio.xml src/ContentDirectory.xml \
src/protocolinfo.txt src/presentation.html
cdpluginsdir = $(pkgdatadir)/cdplugins/
cdpluginspycomdir = $(pkgdatadir)/cdplugins/pycommon
cdpluginspycom_DATA = \
src/cdplugins/pycommon/cmdtalk.py \
src/cdplugins/pycommon/cmdtalkplugin.py \
src/cdplugins/pycommon/conftree.py \
src/cdplugins/pycommon/routing.py
cdpluginstidaldir = $(pkgdatadir)/cdplugins/tidal
cdpluginstidal_DATA = \
src/cdplugins/tidal/tidal.py
cdpluginstidallibdir = $(pkgdatadir)/cdplugins/tidal/tidalapi
cdpluginstidallib_DATA = \
src/cdplugins/tidal/tidalapi/__init__.py \
src/cdplugins/tidal/tidalapi/models.py
EXTRA_DIST = web.tar.gz rdpl2stream.tar.gz systemd/upmpdcli.service
web.tar.gz: bogus
if test -d $(srcdir)/web; then \
(cd $(srcdir); tar cvzf - web) > web.tar.gz; fi
rdpl2stream.tar.gz: bogus
if test -d $(srcdir)/rdpl2stream; then \
(cd $(srcdir); rm -rf rdpl2stream/__pycache__/; tar cvzf - rdpl2stream) > \
rdpl2stream.tar.gz; fi
bogus:
install-data-hook: web.tar.gz rdpl2stream.tar.gz
(cd $(DESTDIR)$(sysconfdir); test -f upmpdcli.conf || \
mv upmpdcli.conf-dist upmpdcli.conf)
(cd $(DESTDIR)$(pkgdatadir); tar xzf -) < web.tar.gz
(cd $(DESTDIR)$(pkgdatadir); tar xzf -) < rdpl2stream.tar.gz
(cd $(DESTDIR)$(pkgdatadir); test -d src_scripts || mkdir src_scripts)
(cd $(DESTDIR)/$(cdpluginstidaldir); chmod a+x tidal.py)
dist_pkgdata_SCRIPTS = samplescripts/Analog-Input
dist_sysconf_DATA = src/upmpdcli.conf-dist
dist_man1_MANS = man/upmpdcli.1
dist-hook:
rm -rf rdpl2stream/__pycache__/
test -z "`git status -s | grep -v upmpdcli-$(VERSION)| grep -v rdpl2stream.tar.gz`"
git tag -f -a upmpdcli-v$(VERSION) -m 'version $(VERSION)'