-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCommon.mak
131 lines (96 loc) · 6.97 KB
/
Common.mak
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
objects_sender = $(objdir)Ohm.$(objext) \
$(objdir)OhmMsg.$(objext) \
$(objdir)OhmSocket.$(objext) \
$(objdir)OhmSender.$(objext) \
$(ohnetgenerateddir)DvAvOpenhomeOrgSender1.$(objext)
headers_sender = Ohm.h \
OhmMsg.h \
OhmSocket.h \
OhmSenderDriver.h \
OhmSender.h
objects_receiver = $(objdir)Ohm.$(objext) \
$(objdir)OhmMsg.$(objext) \
$(objdir)OhmSocket.$(objext) \
$(objdir)OhmReceiver.$(objext) \
$(objdir)OhmProtocolMulticast.$(objext) \
$(objdir)OhmProtocolUnicast.$(objext) \
$(ohnetgenerateddir)DvAvOpenhomeOrgReceiver1.$(objext)
headers_receiver = Ohm.h \
OhmMsg.h \
OhmSocket.h \
OhmReceiver.h
$(objdir)Ohm.$(objext) : Ohm.cpp Ohm.h
$(compiler)Ohm.$(objext) -c $(cflags) $(includes) Ohm.cpp
$(objdir)OhmMsg.$(objext) : OhmMsg.cpp OhmMsg.h
$(compiler)OhmMsg.$(objext) -c $(cflags) $(includes) OhmMsg.cpp
$(objdir)OhmSocket.$(objext) : OhmSocket.cpp OhmSocket.h
$(compiler)OhmSocket.$(objext) -c $(cflags) $(includes) OhmSocket.cpp
$(objdir)OhmSender.$(objext) : OhmSender.cpp OhmSender.h
$(compiler)OhmSender.$(objext) -c $(cflags) $(includes) OhmSender.cpp
$(objdir)OhmReceiver.$(objext) : OhmReceiver.cpp OhmReceiver.h
$(compiler)OhmReceiver.$(objext) -c $(cflags) $(includes) OhmReceiver.cpp
$(objdir)OhmProtocolMulticast.$(objext) : OhmProtocolMulticast.cpp OhmReceiver.h
$(compiler)OhmProtocolMulticast.$(objext) -c $(cflags) $(includes) OhmProtocolMulticast.cpp
$(objdir)OhmProtocolUnicast.$(objext) : OhmProtocolUnicast.cpp OhmReceiver.h
$(compiler)OhmProtocolUnicast.$(objext) -c $(cflags) $(includes) OhmProtocolUnicast.cpp
objects_topology = $(ohnetgenerateddir)CpAvOpenhomeOrgProduct1.$(objext) \
$(ohnetgenerateddir)CpAvOpenhomeOrgVolume1.$(objext) \
$(ohnetgenerateddir)CpAvOpenhomeOrgReceiver1.$(objext) \
$(objdir)ReceiverManager1.$(objext) \
$(objdir)ReceiverManager2.$(objext) \
$(objdir)ReceiverManager3.$(objext) \
$(ohtopologydir)$(libprefix)ohTopology.$(libext)
headers_topology = ohSongcast$(dirsep)ReceiverManager1.h \
ohSongcast$(dirsep)ReceiverManager2.h \
ohSongcast$(dirsep)ReceiverManager3.h
$(objdir)ReceiverManager1.$(objext) : ohSongcast$(dirsep)ReceiverManager1.cpp $(headers_topology)
$(compiler)ReceiverManager1.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)ReceiverManager1.cpp
$(objdir)ReceiverManager2.$(objext) : ohSongcast$(dirsep)ReceiverManager2.cpp $(headers_topology)
$(compiler)ReceiverManager2.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)ReceiverManager2.cpp
$(objdir)ReceiverManager3.$(objext) : ohSongcast$(dirsep)ReceiverManager3.cpp $(headers_topology)
$(compiler)ReceiverManager3.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)ReceiverManager3.cpp
objects_songcast = $(objdir)Songcast.$(objext)
headers_songcast = ohSongcast$(dirsep)Songcast.h
$(objdir)Songcast.$(objext) : ohSongcast$(dirsep)Songcast.cpp $(headers_songcast)
$(compiler)Songcast.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)Songcast.cpp
objects_netmon = $(ohnetmondir)NetworkMonitor.$(objext) \
$(ohnetgenerateddir)DvAvOpenhomeOrgNetworkMonitor1.$(objext)
all_common_native : TestReceiverManager1 TestReceiverManager2 TestReceiverManager3 ZoneWatcher WavSender Receiver
all_common_cs : $(objdir)ohSongcast.net.dll $(objdir)TestSongcastCs.$(exeext)
TestReceiverManager1 : $(objdir)TestReceiverManager1.$(exeext)
$(objdir)TestReceiverManager1.$(exeext) : ohSongcast$(dirsep)TestReceiverManager1.cpp $(headers_topology) $(objects_topology)
$(compiler)TestReceiverManager1.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)TestReceiverManager1.cpp
$(link) $(linkoutput)$(objdir)TestReceiverManager1.$(exeext) $(objdir)TestReceiverManager1.$(objext) $(objects_topology) $(ohnetdir)$(libprefix)ohNetCore.$(libext) $(ohnetdir)$(libprefix)TestFramework.$(libext)
TestReceiverManager2 : $(objdir)TestReceiverManager2.$(exeext)
$(objdir)TestReceiverManager2.$(exeext) : ohSongcast$(dirsep)TestReceiverManager2.cpp $(headers_topology) $(objects_topology)
$(compiler)TestReceiverManager2.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)TestReceiverManager2.cpp
$(link) $(linkoutput)$(objdir)TestReceiverManager2.$(exeext) $(objdir)TestReceiverManager2.$(objext) $(objects_topology) $(ohnetdir)$(libprefix)ohNetCore.$(libext) $(ohnetdir)$(libprefix)TestFramework.$(libext)
TestReceiverManager3 : $(objdir)TestReceiverManager3.$(exeext)
$(objdir)TestReceiverManager3.$(exeext) : ohSongcast$(dirsep)TestReceiverManager3.cpp $(headers_topology) $(objects_topology)
$(compiler)TestReceiverManager3.$(objext) -c $(cflags) $(includes) ohSongcast$(dirsep)TestReceiverManager3.cpp
$(link) $(linkoutput)$(objdir)TestReceiverManager3.$(exeext) $(objdir)TestReceiverManager3.$(objext) $(objects_topology) $(ohnetdir)$(libprefix)ohNetCore.$(libext) $(ohnetdir)$(libprefix)TestFramework.$(libext)
ZoneWatcher : $(objdir)ZoneWatcher.$(exeext)
$(objdir)ZoneWatcher.$(exeext) : ZoneWatcher$(dirsep)ZoneWatcher.cpp $(headers_sender) $(objects_sender)
$(compiler)ZoneWatcher.$(objext) -c $(cflags) $(includes) ZoneWatcher$(dirsep)ZoneWatcher.cpp
$(link) $(linkoutput)$(objdir)ZoneWatcher.$(exeext) $(objdir)ZoneWatcher.$(objext) $(objects_sender) $(ohnetdir)$(libprefix)ohNetCore.$(libext) $(ohnetdir)$(libprefix)TestFramework.$(libext)
WavSender : $(objdir)WavSender.$(exeext)
$(objdir)WavSender.$(exeext) : WavSender$(dirsep)WavSender.cpp $(headers_sender) $(objects_sender)
$(compiler)WavSender.$(objext) -c $(cflags) $(includes) WavSender$(dirsep)WavSender.cpp
$(link) $(linkoutput)$(objdir)WavSender.$(exeext) $(objdir)WavSender.$(objext) $(objects_sender) $(ohnetdir)$(libprefix)ohNetCore.$(libext) $(ohnetdir)$(libprefix)TestFramework.$(libext)
Receiver : $(objdir)Receiver.$(exeext)
$(objdir)Receiver.$(exeext) : Receiver$(dirsep)Receiver.cpp $(headers_receiver) $(objects_receiver)
$(compiler)Receiver.$(objext) -c $(cflags) $(includes) Receiver$(dirsep)Receiver.cpp
$(link) $(linkoutput)$(objdir)Receiver.$(exeext) $(objdir)Receiver.$(objext) $(objects_receiver) $(ohnetdir)$(libprefix)ohNetCore.$(libext) $(ohnetdir)$(libprefix)TestFramework.$(libext)
$(objdir)ohSongcast.net.dll : $(objdir)$(dllprefix)ohSongcast.$(dllext) ohSongcast$(dirsep)Songcast.cs $(ohnetdir)ohNet.net.dll
$(copyfile) $(ohnetdir)ohNet.net.dll $(objdir)
$(csharp) /unsafe /t:library \
/out:$(objdir)ohSongcast.net.dll \
/reference:$(ohnetdir)ohNet.net.dll \
ohSongcast$(dirsep)Songcast.cs
$(objdir)TestSongcastCs.$(exeext) : $(objdir)ohSongcast.net.dll ohSongcast$(dirsep)TestSongcastCs.cs
$(csharp) /target:exe /debug+ \
/out:$(objdir)TestSongcastCs.$(exeext) \
/reference:System.dll \
/reference:System.Net.dll \
/reference:$(objdir)ohSongcast.net.dll \
ohSongcast$(dirsep)TestSongcastCs.cs