Makefile revision 6529
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/ABUILD_ARCH= i386
1N/ABUILD_BITS= 64
1N/Ainclude ../../make-rules/shared-macros.mk
1N/A
1N/ACOMPONENT_NAME= docker
1N/ACOMPONENT_VERSION= 1.10.3
1N/ACOMPONENT_PROJECT_URL= http://www.docker.com
1N/ACOMPONENT_ARCHIVE_URL= \
1N/A https://github.com/docker/docker/archive/v$(COMPONENT_VERSION).tar.gz
1N/A
1N/ACOMPONENT_BUGDB= utility/docker-engine
1N/A
1N/ATPNO= 27475
1N/A
1N/ABUILD_STYLE= justmake
1N/A# Remove the conditional when BUILD_ARCH is removed above.
1N/Aifeq ($(strip $(BUILD_ARCH)),$(MACH))
1N/ABUILD_TARGET=
1N/AINSTALL_TARGET=
1N/Aendif
1N/ATEST_TARGET= $(NO_TESTS)
1N/A
1N/A# Requires S12-only changes from ON.
1N/Aifeq ($(BUILD_TYPE), evaluation)
1N/APUBLISH_STAMP=
1N/Aendif
1N/A
1N/Ainclude $(WS_MAKE_RULES)/common.mk
1N/A
1N/A# Go-based components are not currently compatible with ASLR.
1N/AASLR_MODE= $(ASLR_DISABLE)
1N/A
1N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files/man
1N/A
1N/A# Remove the conditional when BUILD_ARCH is removed above.
1N/Aifeq ($(strip $(BUILD_ARCH)),$(MACH))
1N/Aifneq ($(BUILD_TYPE), evaluation)
1N/A# common targets
1N/Abuild: $(SOURCE_DIR)/.prep
1N/A cd $(SOURCE_DIR); DOCKER_GITCOMMIT=6f2305e \
1N/A AUTO_GOPATH=1 ./hack/make.sh dynbinary
1N/A $(TOUCH) $(SOURCE_DIR)/.built
1N/A
1N/Ainstall: FRC
1N/A $(TOUCH) $(SOURCE_DIR)/.installed
1N/Aendif
1N/Aendif
1N/A
1N/AREQUIRED_PACKAGES += database/sqlite-3
1N/Aifeq ($(MACH), i386)
1N/AREQUIRED_PACKAGES += developer/golang
1N/Aendif
1N/AREQUIRED_PACKAGES += system/core-os
1N/AREQUIRED_PACKAGES += system/library
1N/AREQUIRED_PACKAGES += system/zones
1N/A