blob: ed855e45f3f9dbe995e619fc5e668749160e21ce [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
Jens Geyere26b4a82024-11-12 23:53:04 +010027 $(DOTNETCORE) test Tests/Thrift.Compile.Tests/Thrift.Compile.net9/Thrift.Compile.net9.csproj
Jens Geyer0f0e11f2024-07-19 00:44:43 +020028 $(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
Jens Geyere26b4a82024-11-12 23:53:04 +010043 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.net9/bin
44 $(RM) -r Tests/Thrift.Compile.Tests/Thrift.Compile.net9/obj
Jens Geyer0f0e11f2024-07-19 00:44:43 +020045 $(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 \
Jens Geyer1a31d902024-09-15 14:35:34 +020060 Tests/Thrift.Compile.Tests/Thrift.Compile.net8/Thrift.Compile.net8.csproj \
Jens Geyere26b4a82024-11-12 23:53:04 +010061 Tests/Thrift.Compile.Tests/Thrift.Compile.net9/Thrift.Compile.net9.csproj \
Jens Geyer1a31d902024-09-15 14:35:34 +020062 Tests/Thrift.Compile.Tests/Thrift.Compile.netstd2/Thrift.Compile.netstd2.csproj \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010063 Tests/Thrift.Tests/Collections \
Jens Geyer2ef01132021-02-04 22:41:50 +010064 Tests/Thrift.Tests/DataModel \
65 Tests/Thrift.Tests/Protocols \
Jens Geyera10d4012022-02-02 22:57:46 +010066 Tests/Thrift.Tests/Transports \
Jens Geyer2ef01132021-02-04 22:41:50 +010067 Tests/Thrift.Tests/Thrift.Tests.csproj \
Jens Geyer48d1a702022-02-02 23:03:58 +010068 Thrift/.editorconfig \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010069 Thrift/Collections \
70 Thrift/Processor \
71 Thrift/Properties \
72 Thrift/Protocol \
73 Thrift/Server \
Jens Geyera10d4012022-02-02 22:57:46 +010074 Thrift/GlobalSuppressions.cs \
Jens Geyer2ef01132021-02-04 22:41:50 +010075 Thrift/TApplicationException.cs \
76 Thrift/TBaseClient.cs \
77 Thrift/TConfiguration.cs \
78 Thrift/TException.cs \
79 Thrift/Thrift.csproj \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010080 Thrift/Transport \
Jens Geyer2ef01132021-02-04 22:41:50 +010081 Thrift/*.snk \
Jens Geyeraa0c8b32019-01-28 23:27:45 +010082 Thrift.sln \
83 build.cmd \
84 build.sh \
85 runtests.cmd \
86 runtests.sh