blob: 10c148d99c8f9cfda81955b28a7be3ae351f68bd [file] [log] [blame]
David Reissea2cba82009-03-30 21:35:00 +00001#
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
David Reiss1fdb5922008-02-06 22:10:12 +000020THRIFTCODE= \
David Reissd831a212009-02-13 03:09:52 +000021 src/Collections/THashSet.cs \
Jake Farrelle0c53162011-11-16 12:58:36 +000022 src/Properties/AssemblyInfo.cs \
David Reiss80a44e72009-02-03 22:16:46 +000023 src/Protocol/TBase.cs \
Bryan Duxburyfd32d792010-09-18 20:51:25 +000024 src/Protocol/TBase64Utils.cs \
25 src/Protocol/TJSONProtocol.cs \
David Reiss1fdb5922008-02-06 22:10:12 +000026 src/Protocol/TProtocolException.cs \
27 src/Protocol/TProtocolFactory.cs \
28 src/Protocol/TList.cs \
29 src/Protocol/TSet.cs \
30 src/Protocol/TMap.cs \
31 src/Protocol/TProtocolUtil.cs \
32 src/Protocol/TMessageType.cs \
33 src/Protocol/TProtocol.cs \
34 src/Protocol/TType.cs \
35 src/Protocol/TField.cs \
36 src/Protocol/TMessage.cs \
37 src/Protocol/TStruct.cs \
38 src/Protocol/TBinaryProtocol.cs \
David Reiss80a44e72009-02-03 22:16:46 +000039 src/Server/TThreadedServer.cs \
David Reiss1fdb5922008-02-06 22:10:12 +000040 src/Server/TThreadPoolServer.cs \
41 src/Server/TSimpleServer.cs \
42 src/Server/TServer.cs \
David Reiss670cb0f2009-02-03 21:20:55 +000043 src/Transport/TBufferedTransport.cs \
David Reiss1fdb5922008-02-06 22:10:12 +000044 src/Transport/TTransport.cs \
45 src/Transport/TSocket.cs \
46 src/Transport/TTransportException.cs \
47 src/Transport/TStreamTransport.cs \
Esteve Fernandez7948a662009-11-11 18:32:25 +000048 src/Transport/TFramedTransport.cs \
David Reiss1fdb5922008-02-06 22:10:12 +000049 src/Transport/TServerTransport.cs \
50 src/Transport/TServerSocket.cs \
51 src/Transport/TTransportFactory.cs \
Bryan Duxbury62359472010-06-24 20:34:34 +000052 src/Transport/THttpClient.cs \
Jake Farrell6f1e9922011-04-13 21:09:02 +000053 src/Transport/THttpHandler.cs \
David Reiss1fdb5922008-02-06 22:10:12 +000054 src/TProcessor.cs \
55 src/TApplicationException.cs
56
57
David Reisscfb23bb2008-04-02 22:09:03 +000058CSC=gmcs
David Reiss1fdb5922008-02-06 22:10:12 +000059
David Reissd831a212009-02-13 03:09:52 +000060if NET_2_0
61MONO_DEFINES=/d:NET_2_0
62endif
63
David Reiss3de1c4e2008-02-24 17:45:03 +000064all-local: Thrift.dll
David Reiss1fdb5922008-02-06 22:10:12 +000065
66Thrift.dll: $(THRIFTCODE)
Jake Farrelldaca3592011-04-14 01:42:12 +000067 $(CSC) $(THRIFTCODE) /out:Thrift.dll /target:library /reference:System.Web $(MONO_DEFINES)
David Reiss1fdb5922008-02-06 22:10:12 +000068
69clean-local:
70 $(RM) Thrift.dll
David Reiss31609712008-02-06 22:10:26 +000071
72EXTRA_DIST = \
73 $(THRIFTCODE) \
74 ThriftMSBuildTask \
75 src/Thrift.csproj \
76 src/Thrift.sln