#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# Built in SFW with gcc and builds cleanly now only with gcc
# manpages
# HTML documentation
# The HiPE portion is a bit sensitive, and only seems to work 64-bit on
# amd64 (thus the variant.arch tagging in erlang.p5m). erts/config.log
# can be very interesting if issues occur.
# Needed for 'set name=info.source-url' action in erlang-doc.p5m
# Use cp(1) instead of cloney because erlang's 'install' target uses 'tar'
# to copy files and our tar doesn't handle long links by default. Between
# the use of 'tar' and 'ld', a path adjustment wasn't an option due to the
# erlang version 17.5.
# Always show the build and link lines for easier debugging.
COMPONENT_BUILD_ARGS += V=1
# Remove the two lines which contains the tester's username.
'-e "/XXX_UID_XXX/d" '
install: $(INSTALL_64)
# Undelivered useless files:
# erlang/*/*.bat
# manpages: start.1 werl.1
$(RM) -r documentation
# remove INSTALL_PREFIX from path
clean::
$(RM) -r documentation
test: $(TEST_64)