blob: 720f8234fe0f91202e8e2ac947a0438f2f6478fa [file] [log] [blame]
Jiayu Liu49b2d6b2022-04-06 16:49:09 +08001#
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
20export CLASSPATH
21
22all-local:
23 $(GRADLE) $(GRADLE_OPTS) assemble \
24 -Pthrift.version=$(PACKAGE_VERSION) \
Jiayu Liu6c002b62022-05-07 00:40:03 +080025 -Pthrift.compiler=$(THRIFT) \
Jiayu Liu49b2d6b2022-04-06 16:49:09 +080026 --console=plain
27
28clean-local:
29 $(GRADLE) $(GRADLE_OPTS) clean --console=plain
30
31precross: $(THRIFT)
32 $(GRADLE) $(GRADLE_OPTS) installDist \
33 -Pthrift.version=$(PACKAGE_VERSION) \
34 -Pthrift.compiler=$(THRIFT) \
35 --console=plain
36
37check-local: $(THRIFT)
38 $(GRADLE) $(GRADLE_OPTS) test \
39 -Pthrift.version=$(PACKAGE_VERSION) \
40 -Pthrift.compiler=$(THRIFT) \
41 --console=plain
42
43EXTRA_DIST = \
Jens Geyer4d493e82022-08-31 22:08:03 +020044 build.gradle.kts \
45 CMakeLists.txt \
46 cross-test-client \
47 cross-test-server \
48 gradle.properties \
49 README.md \
50 settings.gradle.kts \
51 src