6508N/A#
6508N/A# CDDL HEADER START
6508N/A#
6508N/A# The contents of this file are subject to the terms of the
6508N/A# Common Development and Distribution License (the "License").
6508N/A# You may not use this file except in compliance with the License.
6508N/A#
6508N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6508N/A# or http://www.opensolaris.org/os/licensing.
6508N/A# See the License for the specific language governing permissions
6508N/A# and limitations under the License.
6508N/A#
6508N/A# When distributing Covered Code, include this CDDL HEADER in each
6508N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6508N/A# If applicable, add the following below this CDDL HEADER, with the
6508N/A# fields enclosed by brackets "[]" replaced with your own identifying
6508N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6508N/A#
6508N/A# CDDL HEADER END
6508N/A#
6508N/A
6508N/A#
6508N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6508N/A#
6508N/A
6508N/ABUILD_ARCH= i386
6508N/ABUILD_BITS= 64
6508N/A# component fails to build with Studio
6508N/ACOMPILER= gcc
6508N/Ainclude ../../make-rules/shared-macros.mk
6508N/A
6508N/ACOMPONENT_NAME= sbsigntool
6508N/ACOMPONENT_VERSION= 0.6
6508N/ACOMPONENT_PROJECT_URL= https://launchpad.net/ubuntu/+source/sbsigntool
6508N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)_$(COMPONENT_VERSION).orig.tar.gz
6508N/ACOMPONENT_ARCHIVE_HASH= \
6508N/A sha256:84fb0c8f6fb1e79aa418a4f70a3139b38d5630043b28291c875f383e9b4294b8
6508N/ACOMPONENT_ARCHIVE_URL= https://launchpad.net/ubuntu/+archive/primary/+files/$(COMPONENT_ARCHIVE)
6508N/A
6508N/ATPNO= 27912
6508N/A
6508N/Ainclude $(WS_MAKE_RULES)/common.mk
6508N/A
6508N/Astudio_C99MODE= $(studio_C99_ENABLE)
6508N/ACFLAGS += -I. -I/usr/gnu/include -I/usr/include/ -I/usr/include/efi/x86_64 -I/usr/include/efi/
6508N/ACONFIGURE_OPTIONS += uuid_CFLAGS="-I/usr/include/uuid" uuid_LIBS="-luuid"
6508N/APATH=/usr/gnu/bin:/usr/bin
6508N/A
6508N/ACOMPONENT_PREP_ACTION = \
6508N/A (cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
6508N/A
6508N/ACOMPONENT_PRE_TEST_ACTION = \
6508N/A (cp test-x86_64_sol2.lds $(SOURCE_DIR)/tests/.)
6508N/A
6508N/Ainclude $(WS_MAKE_RULES)/shared-targets.mk
6508N/A
6508N/ACOMPONENT_TEST_TRANSFORMS += \
6508N/A '-n -e "/tests passed/p" ' \
6508N/A '-e "/PASS/p" ' \
6508N/A '-e "/FAIL/p" '
6508N/A
6508N/Aifeq ($(MACH), i386)
6508N/AREQUIRED_PACKAGES += library/libgnuefi
6508N/Aendif
6508N/AREQUIRED_PACKAGES += library/security/openssl
6508N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140