Skip to content
Snippets Groups Projects
Select Git revision
  • be10c29d1793b47492bf000ce1cc196d000495c2
  • master default
2 results

utils.ts

Blame
  • Makefile.inc 828 B
    # Project name, used to name the binaries
    PKG_NAME := docker-machine
    
    # If true, disable optimizations and does NOT strip the binary
    DEBUG ?=
    # If true, "build" will produce a static binary (cross compile always produce static build regardless)
    STATIC ?=
    # If true, turn on verbose output for build
    VERBOSE ?=
    # Build tags
    BUILDTAGS ?=
    # Adjust number of parallel builds (XXX not used)
    PARALLEL ?= -1
    # Coverage default directory
    COVERAGE_DIR ?= cover
    # Whether to perform targets inside a docker container, or natively on the host
    USE_CONTAINER ?=
    
    # List of cross compilation targets
    ifeq ($(TARGET_OS),)
      TARGET_OS := darwin linux windows
    endif
    
    ifeq ($(TARGET_ARCH),)
      TARGET_ARCH := amd64 arm arm64 386
    endif
    
    # Output prefix, defaults to local directory if not specified
    ifeq ($(PREFIX),)
      PREFIX := $(shell pwd)
    endif