Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [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 | |
| 20 | THRIFT = $(top_builddir)/compiler/cpp/thrift |
| 21 | |
| 22 | gen-haxe/tutorial/calculator.hx gen-haxe/shared/shared_service.hx: $(top_srcdir)/tutorial/tutorial.thrift |
| 23 | $(THRIFT) --gen haxe -r $< |
| 24 | |
| 25 | all-local: bin/Main-debug |
| 26 | |
| 27 | check: gen-haxe/tutorial/calculator.hx |
| 28 | |
Jens Geyer | bbd6fd7 | 2015-05-30 19:33:44 +0200 | [diff] [blame] | 29 | bin/Main-debug: \ |
| 30 | src/*.hx \ |
| 31 | ../../lib/haxe/src/org/apache/thrift/**/*.hx \ |
| 32 | gen-haxe/tutorial/calculator.hx |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 33 | $(HAXE) --cwd . cpp.hxml |
Jens Geyer | fea00ac | 2014-10-01 02:22:48 +0200 | [diff] [blame] | 34 | |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 35 | tutorialserver: all |
| 36 | bin/Main-debug server |
| 37 | |
| 38 | tutorialclient: all |
Jens Geyer | fea00ac | 2014-10-01 02:22:48 +0200 | [diff] [blame] | 39 | bin/Main-debug |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 40 | |
| 41 | tutorialsecureserver: all |
| 42 | bin/Main-debug server secure |
| 43 | |
| 44 | tutorialsecureclient: all |
| 45 | bin/Main-debug secure |
| 46 | |
| 47 | clean-local: |
| 48 | $(RM) -r gen-haxe bin |
| 49 | |
| 50 | EXTRA_DIST = \ |
Jens Geyer | 65e9bde | 2014-11-11 01:30:02 +0100 | [diff] [blame] | 51 | src \ |
| 52 | cpp.hxml \ |
| 53 | csharp.hxml \ |
| 54 | flash.hxml \ |
| 55 | java.hxml \ |
| 56 | javascript.hxml \ |
| 57 | neko.hxml \ |
| 58 | php.hxml \ |
| 59 | python.hxml \ |
| 60 | project.hide \ |
| 61 | Tutorial.hxproj \ |
| 62 | make_all.bat \ |
| 63 | make_all.sh |