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 \ |
David Reiss | 8cee47c | 2009-02-07 02:37:05 +0000 | [diff] [blame] | 6 | TestSyntax.py \ |
David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 7 | RunClientServer.py |
| 8 | |
| 9 | thrift_gen = \ |
David Reiss | 8cee47c | 2009-02-07 02:37:05 +0000 | [diff] [blame] | 10 | gen-py/ThriftTest/__init__.py \ |
| 11 | gen-py/DebugProtoTest/__init__.py |
David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 12 | |
| 13 | helper_scripts= \ |
| 14 | TestClient.py \ |
| 15 | TestServer.py |
| 16 | |
| 17 | check_SCRIPTS= \ |
| 18 | $(thrift_gen) \ |
| 19 | $(py_unit_tests) \ |
| 20 | $(helper_scripts) |
| 21 | |
| 22 | TESTS= $(py_unit_tests) |
| 23 | |
| 24 | |
David Reiss | 8cee47c | 2009-02-07 02:37:05 +0000 | [diff] [blame] | 25 | gen-py/%/__init__.py: ../%.thrift |
David Reiss | 0c87ad4 | 2008-12-02 02:11:13 +0000 | [diff] [blame] | 26 | $(THRIFT) --gen py $< |
David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 27 | |
| 28 | clean-local: |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 29 | $(RM) -r gen-py |