github.com/kaisenlinux/docker@v0.0.0-20230510090727-ea55db55fac7/swarmkit/Makefile (about)

     1  # Root directory of the project (absolute path).
     2  ROOTDIR=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
     3  
     4  PROJECT_ROOT=github.com/docker/swarmkit
     5  
     6  SHELL := /bin/bash
     7  
     8  # stop here. do we want to run everything inside of a container, or do we want
     9  # to run it directly on the host? if the user has set ANY non-empty value for
    10  # the variable DOCKER_SWARMKIT_USE_CONTAINER, then we do all of the making
    11  # inside of a container. We will default to using no container, to avoid
    12  # breaking anyone's workflow
    13  ifdef DOCKER_SWARMKIT_USE_CONTAINER
    14  include containerized.mk
    15  else
    16  include direct.mk
    17  endif