Makefile revision 6529
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBUILD_ARCH= i386
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBUILD_BITS= 64
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude ../../make-rules/shared-macros.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_NAME= docker
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_VERSION= 1.10.3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_PROJECT_URL= http://www.docker.com
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_URL= \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin https://github.com/docker/docker/archive/v$(COMPONENT_VERSION).tar.gz
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_BUGDB= utility/docker-engine
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTPNO= 27475
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBUILD_STYLE= justmake
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Remove the conditional when BUILD_ARCH is removed above.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq ($(strip $(BUILD_ARCH)),$(MACH))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBUILD_TARGET=
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinINSTALL_TARGET=
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinendif
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTEST_TARGET= $(NO_TESTS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Requires S12-only changes from ON.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq ($(BUILD_TYPE), evaluation)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPUBLISH_STAMP=
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinendif
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(WS_MAKE_RULES)/common.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Go-based components are not currently compatible with ASLR.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinASLR_MODE= $(ASLR_DISABLE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPKG_PROTO_DIRS += $(COMPONENT_DIR)/files/man
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Remove the conditional when BUILD_ARCH is removed above.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq ($(strip $(BUILD_ARCH)),$(MACH))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifneq ($(BUILD_TYPE), evaluation)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# common targets
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinbuild: $(SOURCE_DIR)/.prep
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin cd $(SOURCE_DIR); DOCKER_GITCOMMIT=6f2305e \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin AUTO_GOPATH=1 ./hack/make.sh dynbinary
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(TOUCH) $(SOURCE_DIR)/.built
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall: FRC
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(TOUCH) $(SOURCE_DIR)/.installed
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinendif
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinendif
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinREQUIRED_PACKAGES += database/sqlite-3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq ($(MACH), i386)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinREQUIRED_PACKAGES += developer/golang
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinendif
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinREQUIRED_PACKAGES += system/core-os
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinREQUIRED_PACKAGES += system/library
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinREQUIRED_PACKAGES += system/zones
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin