components/perl_modules/xml-sax-base/Makefile
author Craig Mohrman <craig.mohrman@oracle.com>
Thu, 13 Jun 2013 19:36:46 -0700
branchs11-update
changeset 2649 79b6c91e7f81
child 2910 f8b8cbc43356
permissions -rw-r--r--
16666707 Add Perl XML processing modules PSARC/2013/117 Perl XML parsing modules
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2649
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     1
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     3
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     7
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    12
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    18
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    20
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    22
#
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    23
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    24
include ../../../make-rules/shared-macros.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    25
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		XML-SAX-Base
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	1.8
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    28
HUMAN_VERSION=		1.08
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(HUMAN_VERSION)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    32
    sha256:666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/$(COMPONENT_ARCHIVE)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://search.cpan.org/~grantm/
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	perl-mod/xml-sax-base
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    36
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    37
# don't build this module against perl 5.8.4
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    38
# build threaded 5.12 support too
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    39
PERL_VERSIONS = 5.12 5.12-mt
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    40
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    41
include $(WS_TOP)/make-rules/prep.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/ips.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    43
include $(WS_TOP)/make-rules/makemaker.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    44
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    45
# Enable ASLR for this component
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    46
ASLR_MODE = $(ASLR_ENABLE)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    47
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    48
# man pages go in the common area
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    49
COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    50
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    51
COMPONENT_TEST_TARGETS = test
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    52
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    53
build:		$(BUILD_32)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    54
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    55
install:	$(INSTALL_32)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    56
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    57
test:		$(TEST_32)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    58
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    59
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    60
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    61
include $(WS_TOP)/make-rules/depend.mk