criu/scripts/nmk/scripts/main.mk
Cyrill Gorcunov d7016f1475 build: nmk -- Initial import
This is initial import of NMK engine which we gonna use for
CRIU and related tools building.

It's very tiny and while here we merge it as is in future
it gonna be rather a submodule from

	https://github.com/cyrillos/nmk

An idea is to have unified build engine for most tools
we're gonna use.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-15 15:32:20 +03:00

31 lines
570 B
Makefile

ifndef ____nmk_defined__main
#
# Genaral inclusion statement
ifndef ____nmk_defined__include
include $(__nmk_dir)include.mk
endif
ifndef ____nmk_defined__macro
include $(__nmk_dir)macro.mk
endif
#
# Anything else might be included with
#
# $(eval $(call include-once,<name.mk>))
#
# Note the order does matter!
$(eval $(call include-once,tools.mk))
$(eval $(call include-once,utils.mk))
$(eval $(call include-once,rules.mk))
$(eval $(call include-once,build.mk))
#
# Footer
$(__nmk_dir)scripts/main.mk:
@true
____nmk_defined__main = y
endif