blob: bad1d6962a7d744997aad4cfae33a3d88b00114e [file] [log] [blame]
Jens Geyeraa0c8b32019-01-28 23:27:45 +01001#
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
Sven Roederer3caf9632024-07-16 14:46:18 +020020SUBDIRS = .
Jens Geyeraa0c8b32019-01-28 23:27:45 +010021
22all-local:
Jens Geyer56700e42020-02-22 16:51:51 +010023 $(DOTNETCORE) build -c Release
Jens Geyeraa0c8b32019-01-28 23:27:45 +010024
25check-local:
Jens Geyer0f0e11f2024-07-19 00:44:43 +020026 $(DOTNETCORE) test Tests/Thrift.Compile.Tests/Thrift.Compile.net8/Thrift.Compile.net8.csproj
27 $(DOTNETCORE) test Tests/Thrift.Compile.Tests/Thrift.Compile.net6/Thrift.Compile.net6.csproj
28 $(DOTNETCORE) test Tests/Thrift.Compile.Tests/Thrift.Compile.netstd2/Thrift.Compile.netstd2.csproj
Jens Geyeraa0c8b32019-01-28 23:27:45 +010029 $(DOTNETCORE) test Tests/Thrift.Tests/Thrift.Tests.csproj
Jens Geyer3f3567a2019-10-19 18:27:35 +020030 $(DOTNETCORE) test Tests/Thrift.IntegrationTests/Thrift.IntegrationTests.csproj
Jens Geyeraa0c8b32019-01-28 23:27:45 +010031
32clean-local:
33 $(RM) -r Thrift/bin
34 $(RM) -r Thrift/obj
Jens Geyeraffea7b2020-05-22 17:28:30 +020035 $(RM) -r Benchmarks/Thrift.Benchmarks/bin
36 $(RM) -r Benchmarks/Thrift.Benchmarks/obj
37 $(RM) -r Tests/Thrift.Tests/bin
38 $(RM) -r Tests/Thrift.Tests/obj
39 $(RM) -r Tests/Thrift.IntegrationTests/bin
40 $(RM) -r Tests/Thrift.IntegrationTests/obj
Jens Geyer0f0e11f2024-07-19 00:44:43 +020041 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.net8/bin
42 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.net8/obj
43 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.net6/bin
44 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.net6/obj
45 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.netstd2/bin
46 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.netstd2/obj
Jens Geyeraa0c8b32019-01-28 23:27:45 +010047
Thomas63f04582024-03-21 22:51:07 +090048distdir:
49 $(MAKE) $(AM_MAKEFLAGS) distdir-am
50
Jens Geyeraa0c8b32019-01-28 23:27:45 +010051EXTRA_DIST = \
52 README.md \
Jens Geyer2ef01132021-02-04 22:41:50 +010053 Directory.Build.props \
54 Benchmarks/Thrift.Benchmarks \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010055 Tests/Thrift.IntegrationTests/Protocols \
56 Tests/Thrift.IntegrationTests/Thrift.IntegrationTests.csproj \
Jens Geyer0f0e11f2024-07-19 00:44:43 +020057 Tests/Thrift.Compile.Tests \
58 Tests/Thrift.Compile.Tests/CassandraTest.thrift \
59 Tests/Thrift.Compile.Tests/optional_required_default.thrift \
60 Tests/Thrift.Compile.Tests/Properties/AssemblyInfo.cs \
61 Tests/Thrift.Compile.Tests/Thrift.Compile.Tests/Thrift.Compile.net8/Thrift.Compile.net8.csproj \
62 Tests/Thrift.Compile.Tests/Thrift.Compile.Tests/Thrift.Compile.net6/Thrift.Compile.net6.csproj \
63 Tests/Thrift.Compile.Tests/Thrift.Compile.Tests/Thrift.Compile.netstd2/Thrift.Compile.netstd2.csproj \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010064 Tests/Thrift.Tests/Collections \
Jens Geyer2ef01132021-02-04 22:41:50 +010065 Tests/Thrift.Tests/DataModel \
66 Tests/Thrift.Tests/Protocols \
Jens Geyera10d4012022-02-02 22:57:46 +010067 Tests/Thrift.Tests/Transports \
Jens Geyer2ef01132021-02-04 22:41:50 +010068 Tests/Thrift.Tests/Thrift.Tests.csproj \
Jens Geyer48d1a702022-02-02 23:03:58 +010069 Thrift/.editorconfig \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010070 Thrift/Collections \
71 Thrift/Processor \
72 Thrift/Properties \
73 Thrift/Protocol \
74 Thrift/Server \
Jens Geyera10d4012022-02-02 22:57:46 +010075 Thrift/GlobalSuppressions.cs \
Jens Geyer2ef01132021-02-04 22:41:50 +010076 Thrift/TApplicationException.cs \
77 Thrift/TBaseClient.cs \
78 Thrift/TConfiguration.cs \
79 Thrift/TException.cs \
80 Thrift/Thrift.csproj \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010081 Thrift/Transport \
Jens Geyer2ef01132021-02-04 22:41:50 +010082 Thrift/*.snk \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010083 Thrift.sln \
84 build.cmd \
85 build.sh \
86 runtests.cmd \
87 runtests.sh