Parent: [79d5af] (diff)

Child: [328124] (diff)

Download this file

Makefile.am    57 lines (44 with data), 1.7 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
# 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
# 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\")))"
OTHEROBJECTS = $(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 = $(OTHEROBJECTS) $(TOPOH)ohNet/$(OBJIPATH)libohNetCore.a \
$(TOPOH)ohNet/$(OBJIPATH)libTestFramework.a $(OTHERLIBS)
sc2mpd_SOURCES = \
ohbuild.sh \
src/conftree.cpp \
src/conftree.h \
src/httpgate.cpp \
src/log.cpp \
src/log.h \
src/ptmutex.h \
src/rcvqueue.h \
src/sc2mpd.cpp \
src/wav.cpp \
src/wav.h \
src/workqueue.h