148N/A#
148N/A# CDDL HEADER START
148N/A#
148N/A# The contents of this file are subject to the terms of the
148N/A# Common Development and Distribution License (the "License").
148N/A# You may not use this file except in compliance with the License.
148N/A#
148N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
148N/A# or http://www.opensolaris.org/os/licensing.
148N/A# See the License for the specific language governing permissions
148N/A# and limitations under the License.
148N/A#
148N/A# When distributing Covered Code, include this CDDL HEADER in each
148N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
148N/A# If applicable, add the following below this CDDL HEADER, with the
148N/A# fields enclosed by brackets "[]" replaced with your own identifying
148N/A# information: Portions Copyright [yyyy] [name of copyright owner]
148N/A#
148N/A# CDDL HEADER END
148N/A#
148N/A
148N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
148N/A#
5680N/ABUILD_BITS= 64_and_32
148N/Ainclude ../../make-rules/shared-macros.mk
148N/A
148N/ACOMPONENT_NAME= libxslt
1552N/ACOMPONENT_VERSION= 1.1.28
618N/ACOMPONENT_PROJECT_URL= http://xmlsoft.org/XSLT/
844N/ACOMPONENT_ARCHIVE_HASH= \
1552N/A sha256:5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
148N/ACOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/libxslt
148N/A
2899N/ATPNO= 17982
2899N/A
5680N/ASYSTEM_TEST_TARGET= build $(SYSTEM_TEST_32_and_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
148N/A
6156N/ALINT_FLAGS += -I$(COMPONENT_DIR)/../libxml2/build/prototype/$(MACH)/$(USRINCDIR)/libxml2
148N/A
148N/ACFLAGS += $(CPP_LARGEFILES)
148N/ALDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
148N/A
148N/ACONFIGURE_OPTIONS += --disable-static
148N/ACONFIGURE_OPTIONS += --with-pic
148N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
148N/ACONFIGURE_OPTIONS += --without-crypto
5680N/ACONFIGURE_OPTIONS += --with-html-dir=$(USRSHARELIBDIR)/xslt/doc
1200N/ACONFIGURE_OPTIONS += --with-html-subdir=html
148N/ACONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
148N/A
148N/ACOMPONENT_PREP_ACTION = \
148N/A (cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
4086N/A $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ) ;
4086N/A
4086N/A# requires an older automake to reconfigure.
4086N/ACOMPONENT_PREP_ACTION += \
4086N/A (cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
148N/A
5122N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5122N/A
5122N/A# rule out randomly sorted XSLT extensions list
5122N/ACOMPONENT_TEST_TRANSFORMS += '-e "/http:\/\//d"'
5122N/A
5122N/A# system-test should really use system version library
5122N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION = ($(RM) $(@D)/libxslt/.libs/*)
5122N/A
5680N/ACOMPONENT_POST_INSTALL_ACTION += \
5680N/A $(PYTHON.2.7.32) -m compileall $(PROTOUSRLIBDIR)/python2.7/vendor-packages
148N/A
5081N/AREQUIRED_PACKAGES += data/xml-common
5122N/AREQUIRED_PACKAGES += developer/build/automake-111
3817N/AREQUIRED_PACKAGES += library/libxml2
3817N/AREQUIRED_PACKAGES += library/libxslt
4982N/AREQUIRED_PACKAGES += runtime/python-27
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library/math