David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 1 | THRIFT = $(top_srcdir)/compiler/cpp/thrift |
| 2 | |
| 3 | py_unit_tests = \ |
| 4 | SerializationTest.py \ |
| 5 | TestEof.py \ |
| 6 | RunClientServer.py |
| 7 | |
| 8 | thrift_gen = \ |
| 9 | gen-py/ThriftTest/__init__.py |
| 10 | |
| 11 | helper_scripts= \ |
| 12 | TestClient.py \ |
| 13 | TestServer.py |
| 14 | |
| 15 | check_SCRIPTS= \ |
| 16 | $(thrift_gen) \ |
| 17 | $(py_unit_tests) \ |
| 18 | $(helper_scripts) |
| 19 | |
| 20 | TESTS= $(py_unit_tests) |
| 21 | |
| 22 | |
| 23 | gen-py/ThriftTest/__init__.py: ../ThriftTest.thrift |
David Reiss | 0c87ad4 | 2008-12-02 02:11:13 +0000 | [diff] [blame] | 24 | $(THRIFT) --gen py $< |
David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 25 | |
| 26 | clean-local: |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 27 | $(RM) -r gen-py |