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 | GENDIR = ThriftTest/gen-netcore |
| 25 | |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 26 | THRIFTCODE = \ |
| 27 | ThriftTest/TestClient.cs \ |
| 28 | ThriftTest/TestServer.cs \ |
| 29 | ThriftTest/Properties/AssemblyInfo.cs \ |
| 30 | ThriftTest/Program.cs |
| 31 | |
| 32 | all-local: \ |
James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame^] | 33 | ThriftTest/stage/ThriftTest.dll |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 34 | |
James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame^] | 35 | ThriftTest/stage/ThriftTest.dll: $(THRIFTCODE) |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 36 | $(MKDIR_P) $(GENDIR) |
| 37 | $(THRIFT) -gen netcore:wcf -r -out $(GENDIR) $(top_srcdir)/test/ThriftTest.thrift |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 38 | $(DOTNETCORE) --info |
| 39 | $(DOTNETCORE) restore |
James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame^] | 40 | $(DOTNETCORE) build |
| 41 | |
| 42 | precross: \ |
| 43 | ThriftTest/stage/ThriftTest.dll |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 44 | |
| 45 | clean-local: |
| 46 | $(RM) ThriftTest.exe |
| 47 | $(RM) -r $(GENDIR) |
| 48 | $(RM) -r ThriftTest/bin |
| 49 | $(RM) -r ThriftTest/obj |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 50 | |
| 51 | EXTRA_DIST = \ |
| 52 | $(THRIFTCODE) \ |
James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame^] | 53 | ThriftTest.sln \ |
| 54 | ThriftTest/ThriftTest.csproj \ |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 55 | build.cmd \ |
James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame^] | 56 | build.sh \ |
| 57 | README.md |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 58 | |