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