blob: 6daa26d9820118fc42754e706829262083709d65 [file] [log] [blame]
David Reiss9ff3b9d2008-02-15 01:10:23 +00001THRIFT = $(top_srcdir)/compiler/cpp/thrift
2
3py_unit_tests = \
4 SerializationTest.py \
5 TestEof.py \
David Reiss8cee47c2009-02-07 02:37:05 +00006 TestSyntax.py \
David Reiss9ff3b9d2008-02-15 01:10:23 +00007 RunClientServer.py
8
9thrift_gen = \
David Reiss8cee47c2009-02-07 02:37:05 +000010 gen-py/ThriftTest/__init__.py \
11 gen-py/DebugProtoTest/__init__.py
David Reiss9ff3b9d2008-02-15 01:10:23 +000012
13helper_scripts= \
14 TestClient.py \
15 TestServer.py
16
17check_SCRIPTS= \
18 $(thrift_gen) \
19 $(py_unit_tests) \
20 $(helper_scripts)
21
22TESTS= $(py_unit_tests)
23
24
David Reiss8cee47c2009-02-07 02:37:05 +000025gen-py/%/__init__.py: ../%.thrift
David Reiss0c87ad42008-12-02 02:11:13 +000026 $(THRIFT) --gen py $<
David Reiss9ff3b9d2008-02-15 01:10:23 +000027
28clean-local:
David Reiss2ca456a2008-02-24 16:42:18 +000029 $(RM) -r gen-py