components/libxslt/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Tue, 13 Sep 2016 13:02:35 -0700
changeset 6896 142170914c4c
parent 6552 402379bc1b60
child 7687 1093e2a9adbd
permissions -rw-r--r--
Added tag s12-108.1 for changeset 71ef4536e377
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    21
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    25
BUILD_BITS= 64_and_32
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		libxslt
1236
25953723ec78 16554228 Upgrade libxslt to version 1.1.28
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    29
COMPONENT_VERSION=	1.1.28
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 558
diff changeset
    30
COMPONENT_PROJECT_URL=	http://xmlsoft.org/XSLT/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 732
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
1236
25953723ec78 16554228 Upgrade libxslt to version 1.1.28
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    32
    sha256:5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 1025
diff changeset
    34
COMPONENT_BUGDB=	library/libxslt
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1236
diff changeset
    36
TPNO=			17982
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1236
diff changeset
    37
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    38
SYSTEM_TEST_TARGET= build $(SYSTEM_TEST_32_and_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    39
include $(WS_MAKE_RULES)/common.mk
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
6158
8c386858ac43 23564373 llib-lxslt.ln should have been updated with libxml2 version update
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5682
diff changeset
    41
LINT_FLAGS +=	-I$(COMPONENT_DIR)/../libxml2/build/prototype/$(MACH)/$(USRINCDIR)/libxml2
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    42
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    43
CFLAGS +=	$(CPP_LARGEFILES)
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    44
LDFLAGS +=	$(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    45
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS += --disable-static
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS += --with-pic
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --without-crypto
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    50
CONFIGURE_OPTIONS += --with-html-dir=$(USRSHARELIBDIR)/xslt/doc
1025
95d154bfbea4 7204409 Upgrade libxslt to version 1.1.27
Petr Sumbera <petr.sumbera@oracle.com>
parents: 800
diff changeset
    51
CONFIGURE_OPTIONS += --with-html-subdir=html
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    54
COMPONENT_PREP_ACTION = \
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
	(cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
4088
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3936
diff changeset
    56
		    $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ) ;
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3936
diff changeset
    57
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3936
diff changeset
    58
# requires an older automake to reconfigure.
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3936
diff changeset
    59
COMPONENT_PREP_ACTION += \
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3936
diff changeset
    60
	(cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    61
5124
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    62
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    63
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    64
# rule out randomly sorted XSLT extensions list
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    65
COMPONENT_TEST_TRANSFORMS += '-e "/http:\/\//d"'
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    66
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    67
# system-test should really use system version library
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    68
COMPONENT_PRE_SYSTEM_TEST_ACTION = ($(RM) $(@D)/libxslt/.libs/*)
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    69
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    70
COMPONENT_POST_INSTALL_ACTION += \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5124
diff changeset
    71
	$(PYTHON.2.7.32) -m compileall $(PROTOUSRLIBDIR)/python2.7/vendor-packages
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    72
5083
30d15206ebc4 22190711 some components do need pkg:/data/xml-common to build or test
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5066
diff changeset
    73
REQUIRED_PACKAGES += data/xml-common
5124
3a6b9e3809f7 22255738 libxslt master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5083
diff changeset
    74
REQUIRED_PACKAGES += developer/build/automake-111
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3495
diff changeset
    75
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3495
diff changeset
    76
REQUIRED_PACKAGES += library/libxslt
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    77
REQUIRED_PACKAGES += runtime/python-27
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3495
diff changeset
    78
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3495
diff changeset
    79
REQUIRED_PACKAGES += system/library/math