|
a |
|
b/Makefile.am |
|
|
1 |
# dir over all OpenHome dirs
|
|
|
2 |
TOPOH=@TOPOH@/
|
|
|
3 |
|
|
|
4 |
OTHERLIBS=@OTHERLIBS@
|
|
|
5 |
|
|
|
6 |
OHBTYPE=Release
|
|
|
7 |
|
|
|
8 |
# Top ohSongcast dir
|
|
|
9 |
TOPSC = $(TOPOH)ohSongcast/
|
|
|
10 |
# Internal path to obj inside ohNet, ohSongcast etc.
|
|
|
11 |
OBJIPATH = Build/Obj/Posix/$(OHBTYPE)/
|
|
|
12 |
# ohSongcast other objects
|
|
|
13 |
TOPSCO=$(TOPSC)$(OBJIPATH)
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
AM_CPPFLAGS = -DDEBUG -g -Wall \
|
|
|
17 |
-DDATADIR=\"${pkgdatadir}\" -DCONFIGDIR=\"${sysconfdir}\" \
|
|
|
18 |
-DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" \
|
|
|
19 |
-I$(TOPOH)ohNet/Build/Include/ \
|
|
|
20 |
-I$(TOPOH)ohNetGenerated/Build/Include/ \
|
|
|
21 |
-I$(TOPOH)ohTopology/build/Include/ \
|
|
|
22 |
-I$(TOPSC)
|
|
|
23 |
|
|
|
24 |
AM_CXXFLAGS = -std=c++0x
|
|
|
25 |
|
|
|
26 |
bin_PROGRAMS = sc2mpd
|
|
|
27 |
|
|
|
28 |
# Maybe these are needed for the oh headers ?
|
|
|
29 |
OHCCFLAGS = -D_GNU_SOURCE -D_REENTRANT -DDEFINE_LITTLE_ENDIAN \
|
|
|
30 |
-DDEFINE_TRACE \
|
|
|
31 |
-DDllImport="__attribute__ ((visibility(\"default\")))" \
|
|
|
32 |
-DDllExport="__attribute__ ((visibility(\"default\")))" \
|
|
|
33 |
-DDllExportClass="__attribute__ ((visibility(\"default\")))"
|
|
|
34 |
|
|
|
35 |
OTHEROBJECTS = $(TOPSCO)/Ohm.o $(TOPSCO)/OhmMsg.o $(TOPSCO)/OhmSocket.o \
|
|
|
36 |
$(TOPSCO)/OhmReceiver.o $(TOPSCO)/OhmProtocolMulticast.o \
|
|
|
37 |
$(TOPSCO)/OhmProtocolUnicast.o \
|
|
|
38 |
$(TOPOH)ohNetGenerated/$(OBJIPATH)DvAvOpenhomeOrgReceiver1.o
|
|
|
39 |
|
|
|
40 |
sc2mpd_LDADD = $(OTHEROBJECTS) $(TOPOH)ohNet/$(OBJIPATH)libohNetCore.a \
|
|
|
41 |
$(TOPOH)ohNet/$(OBJIPATH)libTestFramework.a $(OTHERLIBS)
|
|
|
42 |
|
|
|
43 |
sc2mpd_SOURCES = \
|
|
|
44 |
src/conftree.cpp \
|
|
|
45 |
src/conftree.h \
|
|
|
46 |
src/httpgate.cpp \
|
|
|
47 |
src/log.cpp \
|
|
|
48 |
src/log.h \
|
|
|
49 |
src/rcvqueue.h \
|
|
|
50 |
src/rcvqueue.h \
|
|
|
51 |
src/sc2mpd.cpp \
|
|
|
52 |
src/wav.cpp \
|
|
|
53 |
src/wav.h
|