Parent: [6f448c] (diff)

Child: [351f91] (diff)

Download this file

Makefile.am    90 lines (73 with data), 2.8 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
# dir over all OpenHome dirs
TOPOH=@TOPOH@/
OTHERLIBS=@OTHERLIBS@
OHBTYPE=Release
# Top ohSongcast dir
TOPSC = $(TOPOH)ohSongcast/
# Internal path to obj inside ohNet, ohSongcast etc.
OBJIPATH = Build/Obj/Posix/$(OHBTYPE)/
# ohSongcast other objects
TOPSCO=$(TOPSC)$(OBJIPATH)
AM_CPPFLAGS = -DDEBUG -g -Wall \
-DDATADIR=\"${pkgdatadir}\" -DCONFIGDIR=\"${sysconfdir}\" \
-DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" \
-I$(TOPOH)ohNet/Build/Include/ \
-I$(TOPOH)ohNetGenerated/Build/Include/ \
-I$(TOPOH)ohTopology/build/Include/ \
-I$(TOPSC)
AM_CXXFLAGS = -std=c++0x
bin_PROGRAMS = sc2mpd mpd2sc
# Maybe these are needed for the oh headers ?
OHCCFLAGS = -D_GNU_SOURCE -D_REENTRANT -DDEFINE_LITTLE_ENDIAN \
-DDEFINE_TRACE \
-DDllImport="__attribute__ ((visibility(\"default\")))" \
-DDllExport="__attribute__ ((visibility(\"default\")))" \
-DDllExportClass="__attribute__ ((visibility(\"default\")))"
OTHEROSC2 = $(TOPSCO)/Ohm.o $(TOPSCO)/OhmMsg.o $(TOPSCO)/OhmSocket.o \
$(TOPSCO)/OhmReceiver.o $(TOPSCO)/OhmProtocolMulticast.o \
$(TOPSCO)/OhmProtocolUnicast.o \
$(TOPOH)ohNetGenerated/$(OBJIPATH)DvAvOpenhomeOrgReceiver1.o
sc2mpd_LDADD = $(OTHEROSC2) $(TOPOH)ohNet/$(OBJIPATH)libohNetCore.a \
$(TOPOH)ohNet/$(OBJIPATH)libTestFramework.a $(OTHERLIBS)
sc2mpd_SOURCES = \
ohbuild.sh \
sc2src/alsadirect.cpp \
sc2src/chrono.cpp \
sc2src/chrono.h \
sc2src/conftree.cpp \
sc2src/conftree.h \
sc2src/httpgate.cpp \
sc2src/log.cpp \
sc2src/log.h \
sc2src/ptmutex.h \
sc2src/rcvqueue.h \
sc2src/sc2mpd.cpp \
sc2src/wav.cpp \
sc2src/wav.h \
sc2src/workqueue.h
OTHEROMP2 = $(TOPSCO)/Ohm.o $(TOPSCO)/OhmMsg.o $(TOPSCO)/OhmSocket.o \
$(TOPSCO)/OhmSender.o \
$(TOPOH)ohNetGenerated/$(OBJIPATH)DvAvOpenhomeOrgSender1.o
mpd2sc_LDADD = $(OTHEROMP2) $(TOPOH)ohNet/$(OBJIPATH)libohNetCore.a \
$(TOPOH)ohNet/$(OBJIPATH)libTestFramework.a $(OTHERLIBS)
mpd2sc_CPPFLAGS = -I$(top_srcdir)/sc2src $(AM_CPPFLAGS)
mpd2sc_SOURCES = \
mpd2src/audioreader.h \
mpd2src/audioutil.h \
mpd2src/base64.cxx \
mpd2src/base64.hxx \
mpd2src/fiforeader.cpp \
mpd2src/fiforeader.h \
mpd2src/icon.h \
mpd2src/mpd2sc.cpp \
mpd2src/openaudio.cpp \
mpd2src/openaudio.h \
mpd2src/stringtotokens.cpp \
mpd2src/stringtotokens.h \
mpd2src/wavreader.cpp \
mpd2src/wavreader.h \
sc2src/log.cpp
dist_bin_SCRIPTS = mpd2src/scmakempdsender
dist-hook:
test -z "`git status -s | grep -v sc2mpd-$(VERSION)`"
git tag -f -a sc2mpd-v$(VERSION) -m 'version $(VERSION)'