| 30 |
ashish |
1 |
#
|
|
|
2 |
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
3 |
# or more contributor license agreements. See the NOTICE file
|
|
|
4 |
# distributed with this work for additional information
|
|
|
5 |
# regarding copyright ownership. The ASF licenses this file
|
|
|
6 |
# to you under the Apache License, Version 2.0 (the
|
|
|
7 |
# "License"); you may not use this file except in compliance
|
|
|
8 |
# with the License. You may obtain a copy of the License at
|
|
|
9 |
#
|
|
|
10 |
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
11 |
#
|
|
|
12 |
# Unless required by applicable law or agreed to in writing,
|
|
|
13 |
# software distributed under the License is distributed on an
|
|
|
14 |
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
15 |
# KIND, either express or implied. See the License for the
|
|
|
16 |
# specific language governing permissions and limitations
|
|
|
17 |
# under the License.
|
|
|
18 |
#
|
|
|
19 |
|
|
|
20 |
THRIFTCODE= \
|
|
|
21 |
src/Collections/THashSet.cs \
|
|
|
22 |
src/Protocol/TBase.cs \
|
|
|
23 |
src/Protocol/TProtocolException.cs \
|
|
|
24 |
src/Protocol/TProtocolFactory.cs \
|
|
|
25 |
src/Protocol/TList.cs \
|
|
|
26 |
src/Protocol/TSet.cs \
|
|
|
27 |
src/Protocol/TMap.cs \
|
|
|
28 |
src/Protocol/TProtocolUtil.cs \
|
|
|
29 |
src/Protocol/TMessageType.cs \
|
|
|
30 |
src/Protocol/TProtocol.cs \
|
|
|
31 |
src/Protocol/TType.cs \
|
|
|
32 |
src/Protocol/TField.cs \
|
|
|
33 |
src/Protocol/TMessage.cs \
|
|
|
34 |
src/Protocol/TStruct.cs \
|
|
|
35 |
src/Protocol/TBinaryProtocol.cs \
|
|
|
36 |
src/Server/TThreadedServer.cs \
|
|
|
37 |
src/Server/TThreadPoolServer.cs \
|
|
|
38 |
src/Server/TSimpleServer.cs \
|
|
|
39 |
src/Server/TServer.cs \
|
|
|
40 |
src/Transport/TBufferedTransport.cs \
|
|
|
41 |
src/Transport/TTransport.cs \
|
|
|
42 |
src/Transport/TSocket.cs \
|
|
|
43 |
src/Transport/TTransportException.cs \
|
|
|
44 |
src/Transport/TStreamTransport.cs \
|
|
|
45 |
src/Transport/TFramedTransport.cs \
|
|
|
46 |
src/Transport/TServerTransport.cs \
|
|
|
47 |
src/Transport/TServerSocket.cs \
|
|
|
48 |
src/Transport/TTransportFactory.cs \
|
|
|
49 |
src/TProcessor.cs \
|
|
|
50 |
src/TApplicationException.cs
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
CSC=gmcs
|
|
|
54 |
|
|
|
55 |
if NET_2_0
|
|
|
56 |
MONO_DEFINES=/d:NET_2_0
|
|
|
57 |
endif
|
|
|
58 |
|
|
|
59 |
all-local: Thrift.dll
|
|
|
60 |
|
|
|
61 |
Thrift.dll: $(THRIFTCODE)
|
|
|
62 |
$(CSC) $(THRIFTCODE) /out:Thrift.dll /target:library $(MONO_DEFINES)
|
|
|
63 |
|
|
|
64 |
clean-local:
|
|
|
65 |
$(RM) Thrift.dll
|
|
|
66 |
|
|
|
67 |
EXTRA_DIST = \
|
|
|
68 |
$(THRIFTCODE) \
|
|
|
69 |
ThriftMSBuildTask \
|
|
|
70 |
src/Thrift.csproj \
|
|
|
71 |
src/Thrift.sln
|