David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [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 | |
David Reiss | fff84d1 | 2009-05-22 19:50:33 +0000 | [diff] [blame] | 20 | export CLASSPATH |
| 21 | |
David Reiss | 3de1c4e | 2008-02-24 17:45:03 +0000 | [diff] [blame] | 22 | all-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 23 | $(ANT) $(ANT_FLAGS) |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 24 | |
| 25 | install-exec-hook: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 26 | $(ANT) $(ANT_FLAGS) install -Dinstall.path=$(DESTDIR)$(JAVA_PREFIX) \ |
| 27 | -Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 28 | |
David Reiss | f9b5b12 | 2008-05-09 07:17:35 +0000 | [diff] [blame] | 29 | # Make sure this doesn't fail if ant is not configured. |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 30 | clean-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 31 | ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \ |
| 32 | $$ANT $(ANT_FLAGS) clean |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 33 | |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 34 | precross: $(THRIFT) |
| 35 | $(ANT) $(ANT_FLAGS) compile-test |
| 36 | |
David Reiss | 223d6bd | 2008-02-24 02:03:17 +0000 | [diff] [blame] | 37 | check-local: all |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 38 | $(ANT) $(ANT_FLAGS) test |
Bryan Duxbury | 50119f1 | 2009-01-29 21:31:25 +0000 | [diff] [blame] | 39 | |
jfarrell | 8fd8c63 | 2014-07-10 09:14:51 -0400 | [diff] [blame] | 40 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 41 | build.xml \ |
| 42 | build.properties \ |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 43 | CMakeLists.txt \ |
| 44 | coding_standards.md \ |
Nobuaki Sukegawa | 73d1637 | 2016-03-19 23:32:11 +0900 | [diff] [blame] | 45 | android \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 46 | src \ |
| 47 | test \ |
Nobuaki Sukegawa | 73d1637 | 2016-03-19 23:32:11 +0900 | [diff] [blame] | 48 | README.md |