components/perl_modules/xml-libxml/Makefile
author Stacy Yeh <stacy.yeh@oracle.com>
Thu, 21 May 2015 13:48:49 -0700
changeset 4339 6501cf9c29f9
parent 3829 e98cb01a0ebe
child 4372 7ae763c1b123
permissions -rw-r--r--
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     1
#
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     3
#
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     7
#
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    12
#
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    18
#
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    20
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    21
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    22
#
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    24
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		XML-LibXML
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	2.14
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    27
HUMAN_VERSION=		2.0014
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(HUMAN_VERSION)
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    31
    sha256:c6c1e854b8be7abcedd243fb43e4845c45629d2c98b8f4ec5d423e6fafe15564
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$(COMPONENT_ARCHIVE)
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=	http://search.cpan.org/~shlomif/XML-LibXML/
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	perl-mod/xml-libxml
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@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: 1434
diff changeset
    36
TPNO=			12995
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    37
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    38
# build threaded 5.12 support too
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    39
PERL_VERSIONS += 5.12-mt
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    40
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    41
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    43
include $(WS_MAKE_RULES)/makemaker.mk
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    44
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1335
diff changeset
    45
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    46
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    47
# man pages go in the common area
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    48
COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    49
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    50
COMPONENT_TEST_TARGETS = test
3829
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    51
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    52
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    53
# Transform to remove machine-specific lines in test results
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    54
COMPONENT_TEST_TRANSFORMS += \
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    55
        '-e "s|\(^Files=59,\sTests=2415\).*|\1|" ' \
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    56
        '-e "/\(90threads\).*/d" ' \
e98cb01a0ebe 20455866 XML-NAMESPACE should have some master test results to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 3817
diff changeset
    57
        '-e "/\(^Hexadecimal\).*/d" '
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    58
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    59
build:		$(BUILD_32_and_64)
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    60
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    61
install:	$(INSTALL_32_and_64)
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    62
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    63
test:		$(TEST_32_and_64)
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    64
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3829
diff changeset
    65
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3829
diff changeset
    66
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    67
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    68
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    69
REQUIRED_PACKAGES += system/library