mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
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>
16 lines
376 B
Makefile
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
|