syndilights/open-lighting-architecture/ola-0.8.4/python/rpc/Makefile.am

22 lines
444 B
Makefile

# ola python client
if BUILD_PYTHON_LIBS
rpcpythondir = $(pkgpythondir)/rpc
nodist_rpcpython_PYTHON = Rpc_pb2.py
rpcpython_PYTHON = SimpleRpcController.py StreamRpcChannel.py __init__.py
BUILT_SOURCES = Rpc_pb2.py
Rpc_pb2.py: ../../common/rpc/Rpc.proto
protoc --python_out ./ -I ../../common/rpc/ ../../common/rpc/Rpc.proto
clean-local:
rm -f Rpc_pb2.*
TESTS = SimpleRpcControllerTest.py
endif
EXTRA_DIST = SimpleRpcControllerTest.py