Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [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 | |
| 20 | SUBDIRS = . |
| 21 | |
| 22 | THRIFT = $(top_builddir)/compiler/cpp/thrift |
| 23 | |
| 24 | TESTDIR = Tests/Thrift.PublicInterfaces.Compile.Tests |
| 25 | GENDIR = $(TESTDIR)/gen-netcore |
| 26 | |
| 27 | THRIFTCODE = \ |
Jens Geyer | f3a2974 | 2017-11-30 22:30:03 +0100 | [diff] [blame] | 28 | Thrift/Thrift.csproj \ |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 29 | Thrift/ITAsyncProcessor.cs \ |
| 30 | Thrift/ITProcessorFactory.cs \ |
| 31 | Thrift/SingletonTProcessorFactory.cs \ |
| 32 | Thrift/TApplicationException.cs \ |
| 33 | Thrift/TBaseClient.cs \ |
| 34 | Thrift/TException.cs \ |
| 35 | Thrift/TMultiplexedProcessor.cs \ |
| 36 | Thrift/Collections/TCollections.cs \ |
| 37 | Thrift/Collections/THashSet.cs \ |
| 38 | Thrift/Properties/AssemblyInfo.cs \ |
| 39 | Thrift/Protocols/ITProtocolFactory.cs \ |
| 40 | Thrift/Protocols/TAbstractBase.cs \ |
| 41 | Thrift/Protocols/TBase.cs \ |
| 42 | Thrift/Protocols/TBinaryProtocol.cs \ |
| 43 | Thrift/Protocols/TCompactProtocol.cs \ |
| 44 | Thrift/Protocols/TJSONProtocol.cs \ |
| 45 | Thrift/Protocols/TMultiplexedProtocol.cs \ |
| 46 | Thrift/Protocols/TProtocol.cs \ |
| 47 | Thrift/Protocols/TProtocolDecorator.cs \ |
| 48 | Thrift/Protocols/TProtocolException.cs \ |
| 49 | Thrift/Protocols/Entities/TField.cs \ |
| 50 | Thrift/Protocols/Entities/TList.cs \ |
| 51 | Thrift/Protocols/Entities/TMap.cs \ |
| 52 | Thrift/Protocols/Entities/TMessage.cs \ |
| 53 | Thrift/Protocols/Entities/TMessageType.cs \ |
| 54 | Thrift/Protocols/Entities/TSet.cs \ |
| 55 | Thrift/Protocols/Entities/TStruct.cs \ |
| 56 | Thrift/Protocols/Entities/TType.cs \ |
| 57 | Thrift/Protocols/Utilities/TBase64Utils.cs \ |
| 58 | Thrift/Protocols/Utilities/TProtocolUtil.cs \ |
| 59 | Thrift/Server/AsyncBaseServer.cs \ |
| 60 | Thrift/Server/TBaseServer.cs \ |
| 61 | Thrift/Server/TServerEventHandler.cs \ |
| 62 | Thrift/Transports/TClientTransport.cs \ |
| 63 | Thrift/Transports/TServerTransport.cs \ |
| 64 | Thrift/Transports/TTransportException.cs \ |
| 65 | Thrift/Transports/TTransportFactory.cs \ |
| 66 | Thrift/Transports/Client/TBufferedClientTransport.cs \ |
| 67 | Thrift/Transports/Client/TFramedClientTransport.cs \ |
| 68 | Thrift/Transports/Client/THttpClientTransport.cs \ |
| 69 | Thrift/Transports/Client/TMemoryBufferClientTransport.cs \ |
| 70 | Thrift/Transports/Client/TNamedPipeClientTransport.cs \ |
| 71 | Thrift/Transports/Client/TSocketClientTransport.cs \ |
| 72 | Thrift/Transports/Client/TStreamClientTransport.cs \ |
| 73 | Thrift/Transports/Client/TTlsSocketClientTransport.cs \ |
| 74 | Thrift/Transports/Server/THttpServerTransport.cs \ |
| 75 | Thrift/Transports/Server/TNamedPipeServerTransport.cs \ |
Jens Geyer | f3a2974 | 2017-11-30 22:30:03 +0100 | [diff] [blame] | 76 | Thrift/Transports/Server/TServerFramedTransport.cs \ |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 77 | Thrift/Transports/Server/TServerSocketTransport.cs \ |
| 78 | Thrift/Transports/Server/TTlsServerSocketTransport.cs |
| 79 | |
| 80 | all-local: \ |
| 81 | Thrift.dll |
| 82 | |
| 83 | Thrift.dll: $(THRIFTCODE) |
| 84 | $(MKDIR_P) $(GENDIR) |
| 85 | $(THRIFT) -gen netcore:wcf -r -out $(GENDIR) $(TESTDIR)/CassandraTest.thrift |
| 86 | $(THRIFT) -gen netcore:wcf -r -out $(GENDIR) $(top_srcdir)/test/ThriftTest.thrift |
| 87 | $(THRIFT) -gen netcore:wcf -r -out $(GENDIR) $(top_srcdir)/contrib/fb303/if/fb303.thrift |
| 88 | $(DOTNETCORE) --info |
| 89 | $(DOTNETCORE) restore |
James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 90 | $(DOTNETCORE) build |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 91 | |
| 92 | clean-local: |
| 93 | $(RM) Thrift.dll |
| 94 | $(RM) -r $(GENDIR) |
| 95 | $(RM) -r Thrift/bin |
| 96 | $(RM) -r Thrift/obj |
| 97 | $(RM) -r Tests/Thrift.PublicInterfaces.Compile.Tests/bin |
| 98 | $(RM) -r Tests/Thrift.PublicInterfaces.Compile.Tests/obj |
| 99 | |
| 100 | EXTRA_DIST = \ |
| 101 | $(THRIFTCODE) \ |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 102 | Thrift.sln \ |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 103 | Tests \ |
| 104 | README.md |
| 105 | |