774e276493682c956dd97c376e07a270eb8b3d33mental#
774e276493682c956dd97c376e07a270eb8b3d33mental# CDDL HEADER START
774e276493682c956dd97c376e07a270eb8b3d33mental#
ba76d50ee5208bdfdc25b4c283a339621c4c3b14buliabyak# The contents of this file are subject to the terms of the
ba76d50ee5208bdfdc25b4c283a339621c4c3b14buliabyak# Common Development and Distribution License (the "License").
ba76d50ee5208bdfdc25b4c283a339621c4c3b14buliabyak# You may not use this file except in compliance with the License.
099315b566651d7c9354922249b287ebcad8dce5kidproto#
e982a0155fcc3f2b1902dbb08034968a81b4b232kidproto# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
947e1d5a645dfcb3257294b4663ad1be20c2253ejohncoswell# or http://www.opensolaris.org/os/licensing.
eaef61b440defbddb847fe79762d7481c6f4ea6eprokoudine# See the License for the specific language governing permissions
eaef61b440defbddb847fe79762d7481c6f4ea6eprokoudine# and limitations under the License.
e5e38da93cf6064e9f5305ce2fc1053d885c1eddprokoudine#
8430bc62ce936c590d5096d55893c32ad8ceae4aJucaBlues# When distributing Covered Code, include this CDDL HEADER in each
774e276493682c956dd97c376e07a270eb8b3d33mental# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
774e276493682c956dd97c376e07a270eb8b3d33mental# If applicable, add the following below this CDDL HEADER, with the
774e276493682c956dd97c376e07a270eb8b3d33mental# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
#
BUILD_ARCH= i386
BUILD_BITS= 64
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= docker
COMPONENT_VERSION= 1.10.3
COMPONENT_PROJECT_URL= http://www.docker.com
COMPONENT_ARCHIVE_URL= \
https://github.com/docker/docker/archive/v$(COMPONENT_VERSION).tar.gz
COMPONENT_BUGDB= utility/docker-engine
TPNO= 27475
BUILD_STYLE= justmake
# Remove the conditional when BUILD_ARCH is removed above.
ifeq ($(strip $(BUILD_ARCH)),$(MACH))
BUILD_TARGET=
INSTALL_TARGET=
endif
TEST_TARGET= $(NO_TESTS)
# Requires S12-only changes from ON.
ifeq ($(BUILD_TYPE), evaluation)
PUBLISH_STAMP=
endif
include $(WS_MAKE_RULES)/common.mk
# Go-based components are not currently compatible with ASLR.
ASLR_MODE= $(ASLR_DISABLE)
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files/man
# Remove the conditional when BUILD_ARCH is removed above.
ifeq ($(strip $(BUILD_ARCH)),$(MACH))
ifneq ($(BUILD_TYPE), evaluation)
# common targets
build: $(SOURCE_DIR)/.prep
cd $(SOURCE_DIR); DOCKER_GITCOMMIT=6f2305e \
AUTO_GOPATH=1 ./hack/make.sh dynbinary
$(TOUCH) $(SOURCE_DIR)/.built
install: FRC
$(TOUCH) $(SOURCE_DIR)/.installed
endif
endif
REQUIRED_PACKAGES += database/sqlite-3
ifeq ($(MACH), i386)
REQUIRED_PACKAGES += developer/golang
endif
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/zones