forked from twoconk/darwin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jamfile
284 lines (221 loc) · 7.01 KB
/
Jamfile
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
# $Id: Jamfile,v 1.1 2006/01/05 13:20:32 murata Exp $
#
# Compiler definitions and flags
CC = cc ;
C++ = c++ ;
LINK = c++ ;
CCFLAGS += -D__MacOSX__ -DNeXT -DDSS_USE_API_CALLBACKS -arch ppc -Wall -fno-exceptions -include PlatformHeader.h -include revision.h -Wredundant-decls -Wcast-qual -Wno-four-char-constants -fcommon ;
FRAMEWORKS = -framework Carbon -framework Foundation ;
CCFLAGS += -g ;
C++FLAGS = $(CCFLAGS) ;
#
# Optimization flags
OPTIM = -O0 ;
#
# Where our headers are located
HDRS = .
QTFileLib
OSMemoryLib
APIModules
APICommonCode
APIModules/OSMemory_Modules
APIModules/QTSSAccessLogModule
APIModules/QTSSFileModule
APIModules/QTSSFlowControlModule
APIModules/QTSSRawFileModule
APIModules/QTSSReflectorModule
APIModules/QTSSSvrControlModule
APIModules/QTSSWebDebugModule
APIModules/QTSSWebStatsModule
APIModules/QTSSAccessModule
APIModules/QTSSFilePrivsModule.bproj
APIModules/QTSSSpamDefenseModule
APIModules/QTSSHttpFileModule
APIModules/QTSSPOSIXFileSysModule
APIModules/QTSSRawFileModule.bproj
APIModules/QTSSRTPFileModule
QTFileTools/RTPFileGen.tproj
APIModules/QTSSAdminModule
APIStubLib
CommonUtilitiesLib
RTCPUtilitiesLib
PrefsSourceLib
Server.tproj
RTSPClientLib
HTTPUtilitiesLib
RTPMetaInfoLib
;
#
# Our source files
CFILES = CommonUtilitiesLib/Trim.c
CommonUtilitiesLib/GetWord.c
CommonUtilitiesLib/base64.c
PrefsSourceLib/nilib2.c
CommonUtilitiesLib/md5.c
;
CPPFILES =
# SERVER SOURCES
Server.tproj/QTSSExpirationDate.cpp
Server.tproj/QTSSCallbacks.cpp
Server.tproj/QTSSDictionary.cpp
Server.tproj/QTSSErrorLogModule.cpp
Server.tproj/QTSSMessages.cpp
Server.tproj/QTSSModule.cpp
Server.tproj/QTSSFile.cpp
Server.tproj/QTSSSocket.cpp
Server.tproj/QTSSPrefs.cpp
Server.tproj/QTSServerPrefs.cpp
Server.tproj/QTSServer.cpp
Server.tproj/QTSServerInterface.cpp
Server.tproj/RTCPTask.cpp
Server.tproj/RTPSession.cpp
Server.tproj/RTPPacketResender.cpp
Server.tproj/RTPBandwidthTracker.cpp
Server.tproj/RTPOverbufferWindow.cpp
Server.tproj/RTPSessionInterface.cpp
Server.tproj/RTPStream.cpp
Server.tproj/RTSPProtocol.cpp
Server.tproj/RTSPRequest.cpp
Server.tproj/RTSPRequestInterface.cpp
Server.tproj/RTSPRequestStream.cpp
Server.tproj/RTSPResponseStream.cpp
Server.tproj/RTSPSession.cpp
Server.tproj/RTSPSessionInterface.cpp
Server.tproj/main.cpp
Server.tproj/RunServer.cpp
Server.tproj/GenerateXMLPrefs.cpp
Server.tproj/QTSSDataConverter.cpp
Server.tproj/QTSSUserProfile.cpp
# COMMON UTILITIES
CommonUtilitiesLib/EventContext.cpp
CommonUtilitiesLib/IdleTask.cpp
CommonUtilitiesLib/MyAssert.cpp
CommonUtilitiesLib/OS.cpp
CommonUtilitiesLib/OSCodeFragment.cpp
CommonUtilitiesLib/OSCond.cpp
CommonUtilitiesLib/OSFileSource.cpp
CommonUtilitiesLib/OSHeap.cpp
CommonUtilitiesLib/OSMutex.cpp
CommonUtilitiesLib/OSQueue.cpp
CommonUtilitiesLib/OSBufferPool.cpp
CommonUtilitiesLib/OSRef.cpp
CommonUtilitiesLib/OSThread.cpp
CommonUtilitiesLib/Socket.cpp
CommonUtilitiesLib/SocketUtils.cpp
CommonUtilitiesLib/ResizeableStringFormatter.cpp
CommonUtilitiesLib/StringFormatter.cpp
CommonUtilitiesLib/StringParser.cpp
CommonUtilitiesLib/StringTranslator.cpp
CommonUtilitiesLib/StrPtrLen.cpp
CommonUtilitiesLib/Task.cpp
CommonUtilitiesLib/TCPListenerSocket.cpp
CommonUtilitiesLib/TCPSocket.cpp
CommonUtilitiesLib/TimeoutTask.cpp
CommonUtilitiesLib/UDPDemuxer.cpp
CommonUtilitiesLib/UDPSocket.cpp
CommonUtilitiesLib/UDPSocketPool.cpp
CommonUtilitiesLib/UserAgentParser.cpp
CommonUtilitiesLib/DateTranslator.cpp
CommonUtilitiesLib/ConfParser.cpp
CommonUtilitiesLib/QueryParamList.cpp
CommonUtilitiesLib/OSMutexRW.cpp
CommonUtilitiesLib/md5digest.cpp
# PREFS SOURCE LIB
PrefsSourceLib/XMLPrefsParser.cpp
PrefsSourceLib/FilePrefsSource.cpp
PrefsSourceLib/NetInfoPrefsSource.cpp
PrefsSourceLib/RelayPrefsSource.cpp
# OSMEMORY LIB
OSMemoryLib/OSMemory.cpp
# RTSPCLIENT LIB
RTSPClientLib/RTSPClient.cpp
RTSPClientLib/ClientSocket.cpp
# RTPMETAINFO LIB
RTPMetaInfoLib/RTPMetaInfoPacket.cpp
# RTCPUTILS LIB
RTCPUtilitiesLib/RTCPAPPPacket.cpp
RTCPUtilitiesLib/RTCPPacket.cpp
RTCPUtilitiesLib/RTCPSRPacket.cpp
RTCPUtilitiesLib/RTCPAckPacket.cpp
# HTTP UTILITIES LIB
HTTPUtilitiesLib/HTTPProtocol.cpp
HTTPUtilitiesLib/HTTPRequest.cpp
# QTFILE LIB
QTFileLib/QTAtom.cpp
QTFileLib/QTAtom_dref.cpp
QTFileLib/QTAtom_elst.cpp
QTFileLib/QTAtom_hinf.cpp
QTFileLib/QTAtom_mdhd.cpp
QTFileLib/QTAtom_mvhd.cpp
QTFileLib/QTAtom_stco.cpp
QTFileLib/QTAtom_stsc.cpp
QTFileLib/QTAtom_stsd.cpp
QTFileLib/QTAtom_stss.cpp
QTFileLib/QTAtom_stsz.cpp
QTFileLib/QTAtom_stts.cpp
QTFileLib/QTAtom_tkhd.cpp
QTFileLib/QTAtom_tref.cpp
QTFileLib/QTFile.cpp
QTFileLib/QTFile_FileControlBlock.cpp
QTFileLib/QTHintTrack.cpp
QTFileLib/QTRTPFile.cpp
QTFileLib/QTTrack.cpp
# API STUB LIBRARY
APIStubLib/QTSS_Private.cpp
# API COMMON CODE
APICommonCode/QTSSModuleUtils.cpp
APICommonCode/QTSSRollingLog.cpp
APICommonCode/SDPSourceInfo.cpp
APICommonCode/SourceInfo.cpp
APICommonCode/QTAccessFile.cpp
# QTSS ACCESS LOG MODULE
APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp
# QTSS FILE MODULE
APIModules/QTSSFileModule/QTSSFileModule.cpp
# QTSS FLOW CONTROL MODULE
APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp
# QTSS REFLECTOR MODULE
APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp
APIModules/QTSSReflectorModule/QTSSRelayModule.cpp
APIModules/QTSSReflectorModule/QTSSSplitterModule.cpp
APIModules/QTSSReflectorModule/ReflectorSession.cpp
APIModules/QTSSReflectorModule/ReflectorStream.cpp
APIModules/QTSSReflectorModule/RelayOutput.cpp
APIModules/QTSSReflectorModule/RTPSessionOutput.cpp
APIModules/QTSSReflectorModule/SequenceNumberMap.cpp
APIModules/QTSSReflectorModule/RCFSourceInfo.cpp
APIModules/QTSSReflectorModule/RelaySDPSourceInfo.cpp
APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp
# QTSS WEB DEBUG MODULE
APIModules/QTSSWebDebugModule/QTSSWebDebugModule.cpp
# QTSS AUTHORIZATION MODULE
APIModules/QTSSFilePrivsModule.bproj/QTSSFilePrivsModule.cpp
# QTSS ACCESS MODULE
APIModules/QTSSAccessModule/QTSSAccessModule.cpp
APIModules/QTSSAccessModule/AccessChecker.cpp
# QTSS WEB STATS MODULE
APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp
# QTSS HTTP FILE MODULE
APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp
# QTSS POSIX FILE SYSTEM MODULE
APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp
# QTSS ADMIN MODULE
APIModules/QTSSAdminModule/AdminElementNode.cpp
APIModules/QTSSAdminModule/AdminQuery.cpp
APIModules/QTSSAdminModule/QTSSAdminModule.cpp
# QTSS RTP FILE MODULE
APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp
APIModules/QTSSRTPFileModule/RTPFileSession.cpp
;
#
# Our libraries
LIBS = atomic ;
#
# Build all of the objects
Objects $(CFILES) $(CPPFILES) ;
#
# Link the QuickTimeStreamingServer
MainFromObjects QuickTimeStreamingServer : $(CFILES:S=.o) $(CPPFILES:S=.o) $(ASFILES:S=.o) ;
LinkLibraries QuickTimeStreamingServer : lib$(LIBS) ;
LINKFLAGS on QuickTimeStreamingServer += $(FRAMEWORKS) ;