David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [diff] [blame] | 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 | |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 20 | THRIFTCODE= \ |
David Reiss | d831a21 | 2009-02-13 03:09:52 +0000 | [diff] [blame] | 21 | src/Collections/THashSet.cs \ |
Jens Geyer | b706b1a | 2013-04-29 22:10:10 +0200 | [diff] [blame] | 22 | src/Collections/TCollections.cs \ |
Jake Farrell | e0c5316 | 2011-11-16 12:58:36 +0000 | [diff] [blame] | 23 | src/Properties/AssemblyInfo.cs \ |
Jake Farrell | 146e511 | 2013-04-22 22:28:56 -0400 | [diff] [blame] | 24 | src/Protocol/TAbstractBase.cs \ |
David Reiss | 80a44e7 | 2009-02-03 22:16:46 +0000 | [diff] [blame] | 25 | src/Protocol/TBase.cs \ |
Bryan Duxbury | fd32d79 | 2010-09-18 20:51:25 +0000 | [diff] [blame] | 26 | src/Protocol/TBase64Utils.cs \ |
| 27 | src/Protocol/TJSONProtocol.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 28 | src/Protocol/TProtocolException.cs \ |
| 29 | src/Protocol/TProtocolFactory.cs \ |
| 30 | src/Protocol/TList.cs \ |
| 31 | src/Protocol/TSet.cs \ |
| 32 | src/Protocol/TMap.cs \ |
| 33 | src/Protocol/TProtocolUtil.cs \ |
| 34 | src/Protocol/TMessageType.cs \ |
| 35 | src/Protocol/TProtocol.cs \ |
Jens Geyer | 7203424 | 2013-05-08 18:46:57 +0200 | [diff] [blame] | 36 | src/Protocol/TProtocolDecorator.cs \ |
| 37 | src/Protocol/TMultiplexedProtocol.cs \ |
| 38 | src/Protocol/TMultiplexedProcessor.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 39 | src/Protocol/TType.cs \ |
| 40 | src/Protocol/TField.cs \ |
| 41 | src/Protocol/TMessage.cs \ |
| 42 | src/Protocol/TStruct.cs \ |
| 43 | src/Protocol/TBinaryProtocol.cs \ |
Jake Farrell | 510ecae | 2012-10-11 00:20:00 +0000 | [diff] [blame] | 44 | src/Protocol/TCompactProtocol.cs \ |
David Reiss | 80a44e7 | 2009-02-03 22:16:46 +0000 | [diff] [blame] | 45 | src/Server/TThreadedServer.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 46 | src/Server/TThreadPoolServer.cs \ |
| 47 | src/Server/TSimpleServer.cs \ |
| 48 | src/Server/TServer.cs \ |
Randy Abernethy | 0e86f1f | 2014-07-13 09:50:19 -0700 | [diff] [blame] | 49 | src/Server/TServerEventHandler.cs \ |
David Reiss | 670cb0f | 2009-02-03 21:20:55 +0000 | [diff] [blame] | 50 | src/Transport/TBufferedTransport.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 51 | src/Transport/TTransport.cs \ |
| 52 | src/Transport/TSocket.cs \ |
| 53 | src/Transport/TTransportException.cs \ |
| 54 | src/Transport/TStreamTransport.cs \ |
Esteve Fernandez | 7948a66 | 2009-11-11 18:32:25 +0000 | [diff] [blame] | 55 | src/Transport/TFramedTransport.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 56 | src/Transport/TServerTransport.cs \ |
| 57 | src/Transport/TServerSocket.cs \ |
| 58 | src/Transport/TTransportFactory.cs \ |
Bryan Duxbury | 6235947 | 2010-06-24 20:34:34 +0000 | [diff] [blame] | 59 | src/Transport/THttpClient.cs \ |
Jake Farrell | 6f1e992 | 2011-04-13 21:09:02 +0000 | [diff] [blame] | 60 | src/Transport/THttpHandler.cs \ |
Jake Luciani | 938e640 | 2013-04-25 17:53:08 -0400 | [diff] [blame] | 61 | src/Transport/TMemoryBuffer.cs \ |
Jens Geyer | fd62df7 | 2014-03-20 00:52:18 +0200 | [diff] [blame] | 62 | src/Transport/TNamedPipeClientTransport.cs \ |
| 63 | src/Transport/TNamedPipeServerTransport.cs \ |
Jens Geyer | c1d7943 | 2014-04-22 22:52:43 +0200 | [diff] [blame] | 64 | src/Transport/TTLSSocket.cs \ |
| 65 | src/Transport/TTLSServerSocket.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 66 | src/TProcessor.cs \ |
Jens Geyer | e549a80 | 2013-06-20 21:48:21 +0200 | [diff] [blame] | 67 | src/TException.cs \ |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 68 | src/TApplicationException.cs |
| 69 | |
David Reiss | cfb23bb | 2008-04-02 22:09:03 +0000 | [diff] [blame] | 70 | CSC=gmcs |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 71 | |
David Reiss | d831a21 | 2009-02-13 03:09:52 +0000 | [diff] [blame] | 72 | if NET_2_0 |
| 73 | MONO_DEFINES=/d:NET_2_0 |
| 74 | endif |
| 75 | |
David Reiss | 3de1c4e | 2008-02-24 17:45:03 +0000 | [diff] [blame] | 76 | all-local: Thrift.dll |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 77 | |
| 78 | Thrift.dll: $(THRIFTCODE) |
Jens Geyer | d5436f5 | 2014-10-03 19:50:38 +0200 | [diff] [blame] | 79 | $(CSC) $(THRIFTCODE) /out:Thrift.dll /target:library /reference:System.Web $(MONO_DEFINES) |
David Reiss | 1fdb592 | 2008-02-06 22:10:12 +0000 | [diff] [blame] | 80 | |
| 81 | clean-local: |
Jens Geyer | d5436f5 | 2014-10-03 19:50:38 +0200 | [diff] [blame] | 82 | $(RM) Thrift.dll |
David Reiss | 3160971 | 2008-02-06 22:10:26 +0000 | [diff] [blame] | 83 | |
Jens Geyer | 379c277 | 2013-05-09 15:23:48 +0200 | [diff] [blame] | 84 | # run csharp tests? |
| 85 | # check: |
Jens Geyer | d5436f5 | 2014-10-03 19:50:38 +0200 | [diff] [blame] | 86 | # cd test/ThriftTest && ./maketest.sh |
| 87 | # cd test/Multiplex && ./maketest.sh |
jfarrell | 8fd8c63 | 2014-07-10 09:14:51 -0400 | [diff] [blame] | 88 | |
David Reiss | 3160971 | 2008-02-06 22:10:26 +0000 | [diff] [blame] | 89 | EXTRA_DIST = \ |
| 90 | $(THRIFTCODE) \ |
| 91 | ThriftMSBuildTask \ |
| 92 | src/Thrift.csproj \ |
Jake Farrell | 510ecae | 2012-10-11 00:20:00 +0000 | [diff] [blame] | 93 | src/Thrift.sln \ |
| 94 | src/Thrift.WP7.csproj \ |
Jens Geyer | 379c277 | 2013-05-09 15:23:48 +0200 | [diff] [blame] | 95 | src/Properties/AssemblyInfo.WP7.cs \ |
Jens Geyer | 8fcc82b | 2014-05-26 23:39:47 +0200 | [diff] [blame] | 96 | src/Transport/TSilverlightSocket.cs \ |
jfarrell | 8fd8c63 | 2014-07-10 09:14:51 -0400 | [diff] [blame] | 97 | test \ |
| 98 | README.md |