mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 21:38:16 +00:00
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
20 lines
436 B
Makefile
20 lines
436 B
Makefile
all-y += libpy-images rpc_pb2.py
|
|
|
|
$(obj)/images/Makefile: ;
|
|
$(obj)/images/%: .FORCE
|
|
$(Q) $(MAKE) $(build)=$(obj)/images $@
|
|
|
|
libpy-images:
|
|
$(Q) $(MAKE) $(build)=$(obj)/images all
|
|
.PHONY: libpy-images
|
|
|
|
rpc_pb2.py:
|
|
$(Q) protoc -I=images/ --python_out=$(obj) images/$(@:_pb2.py=.proto)
|
|
|
|
cleanup-y += $(addprefix $(obj)/,rpc_pb2.py *.pyc)
|
|
|
|
clean-lib-py:
|
|
$(Q) $(MAKE) $(build)=$(obj)/images clean
|
|
.PHONY: clean-lib-py
|
|
clean: clean-lib-py
|