summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wojniak <kainjow@users.noreply.github.com>2022-03-03 20:09:53 -0800
committerJens Geyer <Jens-G@users.noreply.github.com>2022-03-05 09:58:27 +0100
commitb8920b01cb72af93a716bb203fcd8a1202936b97 (patch)
treef758e66f5d18d8c6211d93fa8d62e47e51d28314
parentd0e49f01ca40154348d2deaf229541e2f9ee2988 (diff)
downloadthrift-b8920b01cb72af93a716bb203fcd8a1202936b97.tar.gz
update makefile
-rw-r--r--test/py/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/py/Makefile.am b/test/py/Makefile.am
index 9433e5907..57529d733 100644
--- a/test/py/Makefile.am
+++ b/test/py/Makefile.am
@@ -48,7 +48,11 @@ thrift_gen = \
gen-py-dynamicslots/ThriftTest/__init__.py \
gen-py-dynamicslots/DebugProtoTest/__init__.py \
gen-py-dynamicslots/DoubleConstantsTest/__init__.py \
- gen-py-dynamicslots/Recursive/__init__.py
+ gen-py-dynamicslots/Recursive/__init__.py \
+ gen-py-enum/ThriftTest/__init__.py \
+ gen-py-enum/DebugProtoTest/__init__.py \
+ gen-py-enum/DoubleConstantsTest/__init__.py \
+ gen-py-enum/Recursive/__init__.py
precross: $(thrift_gen)
@@ -93,6 +97,10 @@ gen-py-dynamicslots/%/__init__.py: ../%.thrift $(THRIFT)
test -d gen-py-dynamicslots || $(MKDIR_P) gen-py-dynamicslots
$(THRIFT) --gen py:dynamic,slots -out gen-py-dynamicslots $<
+gen-py-enum/%/__init__.py: ../%.thrift $(THRIFT)
+ test -d gen-py-enum || $(MKDIR_P) gen-py-enum
+ $(THRIFT) --gen py:enum -out gen-py-enum $<
+
clean-local:
$(RM) -r build
find . -type f \( -iname "*.pyc" \) | xargs rm -f