criu/pycriu/Makefile
Ruslan Kuprieiev dfe8f838cf pycriu: add python package
pycriu is a python package, that, for now, consists
of rpc module and images package. rpc module contains
data structures for interacting with CRIU RPC.
images package contains methods for loading\dumping
criu images.

See a big comment below in pycriu/images/images.py file.

Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-01-14 20:44:46 +04:00

16 lines
376 B
Makefile

all: images rpc.py
.PHONY: all images clean
images:
$(Q) $(MAKE) -C images all
# rpc_pb2.py doesn't depend on any other file, so
# it is safe to rename it, dropping ugly _pb2 suffix.
rpc.py:
$(Q) protoc -I=$(SRC_DIR)/protobuf/ --python_out=./ $(SRC_DIR)/protobuf/$(@:.py=.proto)
$(Q) mv $(@:.py=_pb2.py) $@
clean:
$(Q) $(MAKE) -C images clean
$(Q) $(RM) rpc.py *.pyc