]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
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 | export CLASSPATH | |
21 | ||
22 | all-local: | |
23 | ./gradlew $(GRADLE_OPTS) assemble \ | |
24 | -Prelease=true \ | |
25 | -Pthrift.version=$(PACKAGE_VERSION) \ | |
26 | --console=plain | |
27 | ||
28 | install-exec-hook: | |
29 | ./gradlew $(GRADLE_OPTS) install \ | |
30 | -Prelease=true \ | |
31 | -Pinstall.path=$(DESTDIR)$(JAVA_PREFIX) \ | |
32 | -Pinstall.javadoc.path=$(DESTDIR)$(docdir)/java \ | |
33 | -Pthrift.version=$(PACKAGE_VERSION) \ | |
34 | --console=plain | |
35 | ||
36 | clean-local: | |
37 | ./gradlew $(GRADLE_OPTS) clean --console=plain | |
38 | ||
39 | precross: $(THRIFT) | |
40 | ./gradlew $(GRADLE_OPTS) shadowJar \ | |
41 | -Prelease=true \ | |
42 | -Pthrift.version=$(PACKAGE_VERSION) \ | |
43 | -Pthrift.compiler=$(THRIFT) \ | |
44 | --console=plain | |
45 | ||
46 | check-local: $(THRIFT) | |
47 | ./gradlew $(GRADLE_OPTS) test \ | |
48 | -Prelease=true \ | |
49 | -Pthrift.version=$(PACKAGE_VERSION) \ | |
50 | -Pthrift.compiler=$(THRIFT) \ | |
51 | --console=plain | |
52 | ||
53 | maven-publish: | |
54 | ./gradlew $(GRADLE_OPTS) uploadArchives \ | |
55 | -Prelease=true \ | |
56 | -Pthrift.version=$(PACKAGE_VERSION) \ | |
57 | --console=plain | |
58 | ||
59 | EXTRA_DIST = \ | |
60 | build.gradle \ | |
61 | gradle.properties \ | |
62 | settings.gradle \ | |
63 | gradle \ | |
64 | gradlew \ | |
65 | gradlew.bat \ | |
66 | CMakeLists.txt \ | |
67 | coding_standards.md \ | |
68 | android \ | |
69 | src \ | |
70 | test \ | |
71 | code_quality_tools \ | |
72 | README.md |