Makefile revision 5425
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER START
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Common Development and Distribution License (the "License").
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You may not use this file except in compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# See the License for the specific language governing permissions
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# and limitations under the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# When distributing Covered Code, include this CDDL HEADER in each
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# If applicable, add the following below this CDDL HEADER, with the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER END
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Built in SFW with gcc and builds cleanly now only with gcc
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_SRC= $(COMPONENT_SRC_NAME)_$(COMPONENT_VERSION)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync sha256:3c28820c981b30c50df8ac2a4a238e5813454fa3ed2ad530bc7948a282846474
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_SRC_1= $(COMPONENT_NAME_1)_$(COMPONENT_VERSION)
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync sha256:85b1b2a1011fc01af550f1fe9e5a599a4c5f2a35d264d2804af1d05590a857c3
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_URL_1= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE_1)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# HTML documentation
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_SRC_2= $(COMPONENT_NAME_2)_$(COMPONENT_VERSION)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync sha256:baba1d373c1faacf4a1a6ec1220d57d0cb2b977edb74f32cd58dc786361c6cf5
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_URL_2= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE_2)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS) -I/usr/include/gd2"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The HiPE portion is a bit sensitive, and only seems to work 64-bit on
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# amd64 (thus the variant.arch tagging in erlang.p5m). erts/config.log
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# can be very interesting if issues occur.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Use cp(1) instead of cloney because erlang's 'install' target uses 'tar'
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# to copy files and our tar doesn't handle long links by default. Between
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# the use of 'tar' and 'ld', a path adjustment wasn't an option due to the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# need for /usr/bin/ld and /usr/gnu/bin/tar. This is still the case with
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# erlang version 17.5.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Always show the build and link lines for easier debugging.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_INSTALL_ARGS += INSTALL_PREFIX=$(PROTO_DIR)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Remove the two lines which contains the tester's username.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync '-e "s|/ldisk/tests|XXX_UID_XXX|g" ' \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync '-e "/XXX_UID_XXX/d" '
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_SYSTEM_TEST_ENV += ERL_TOP=$(BUILD_DIR_64)
test: $(TEST_64)