Makefile revision 4086
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# CDDL HEADER START
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# The contents of this file are subject to the terms of the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Common Development and Distribution License (the "License").
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# You may not use this file except in compliance with the License.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# See the License for the specific language governing permissions
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# and limitations under the License.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# When distributing Covered Code, include this CDDL HEADER in each
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# If applicable, add the following below this CDDL HEADER, with the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# fields enclosed by brackets "[]" replaced with your own identifying
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# information: Portions Copyright [yyyy] [name of copyright owner]
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# CDDL HEADER END
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica sha256:5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaCOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4aj# When 2.6 goes away, we can remove the version line below, as well as the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# COMPONENT_POST_{CONFIGURE,INSTALL_ACTION} lines below.
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4ajCONFIGURE_OPTIONS += --with-html-dir=/usr/share/lib/xslt/doc
36d41b68ce4ecc38f01ced5fe21dddf05a5f9289Nathan BushCONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
36d41b68ce4ecc38f01ced5fe21dddf05a5f9289Nathan Bush $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ) ;
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4aj# requires an older automake to reconfigure.
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4aj (cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4aj# After we have configured, make a copy of the python bits so we
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4aj# can build separate python 2.7 support.
583b61f62d9b9c5ac6bbc290b4e91263dfb202b4ajCOMPONENT_POST_CONFIGURE_ACTION = (cd $(@D) ; cp -rp python python2.7)
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# After we have built/installed libxslt, rebuild/install the python
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# support for python 2.7
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica (cd $(@D)/python2.7 ; $(GMAKE) $(COMPONENT_INSTALL_ARGS) \
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# common targets
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica $(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/python2.6/vendor-packages