#
# 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
#
#
#
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/lcms/files/lcms/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
# In order to run the tests, we need to use cloney
# Seems that we have no other way to designate that we want large file support.
CFLAGS += $(CPP_LARGEFILES)
# Need to ensure lcms custom chunk memory allocator aligns properly for all
# of our platforms - see _cmsALIGNMEM macro in src/lcms2_internal.h and
# _MAX_ALIGNMENT definition in per-platform sections of <sys/isa_defs.h>
# Needed to get past trying to copy identical files because the top_srcdir
# is not the same as the top_builddir.
COMPONENT_TEST_ARGS = -k -i
'-e "s|^.*test bed.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*MPixel.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*Single block hit.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*$(CC).*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*source=.*libtool=no.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^.*DEPDIR=.deps.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
'-e "/^XXX_REMOVE_XXX$$/d" '