Makefile revision 4820
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
f808c858fa61e7769218966759510a8b1190dfcfraf# Common Development and Distribution License (the "License").
f808c858fa61e7769218966759510a8b1190dfcfraf# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
f808c858fa61e7769218966759510a8b1190dfcfrafPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
fa9e4066f08beec538e775443c5be79dd423fcabahrensPATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Note that this is the OpenSSL version that is used to build FIPS-140 certified
088e9d477eee66081e407fbc5a33c4da25f66f6aeschrock# libraries. However, we use the FIPS canister version for the IPS package.
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_SRC = $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
fa9e4066f08beec538e775443c5be79dd423fcabahrens sha256:671c36487785628a703374c652ad2cebea45fa920ae5681515df25d9f2c9a8c8
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)source/$(COMPONENT_ARCHIVE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Clone the patch files to the patches-all dir.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# COPY_COMMON_FILES is there so that rsync is called as soon as
fa9e4066f08beec538e775443c5be79dd423fcabahrens# the Makefile is parsed.
f808c858fa61e7769218966759510a8b1190dfcfrafCOPY_COMMON_FILES:= $(shell rsync -ac ../common/patches/ patches/ $(PATCH_DIR))
fa9e4066f08beec538e775443c5be79dd423fcabahrens# OpenSSL FIPS directory
fa9e4066f08beec538e775443c5be79dd423fcabahrens# OpenSSL does not use autoconf but its own configure system.
# Built openssl/openssl-fips component is used when building FIPS-140 libraries.
# We deliver only one opensslconf.h file which must be suitable for both 32 and
# creates opensslconf.h for either 32 or 64 bits. A patch makes the resulting
# opensslconf.h version from the 32 bit build.
( unset BITS; \
$(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/fips.h $(@D)/include/openssl; \
$(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/fipssyms.h $(@D)/include/openssl; \
$(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/rand/fips_rand.h $(@D)/include/openssl; \
# We follow what we do for install in openssl/openssl-1.0.0 component. Please
# We need to modify the default lint flags to include patched opensslconf.h from
# the build directory. If we do not do that, lint will complain about md2.h
# which is not enabled by default but it is in our opensslconf.h.
COMPONENT_TEST_TARGETS = test
test: $(TEST_32_and_64)