components/perl_modules/xml-sax/Makefile
author John Beck <John.Beck@Oracle.COM>
Sat, 17 Jan 2015 09:17:37 -0800
branchs11-update
changeset 3661 47545fb8aed4
parent 2910 f8b8cbc43356
child 3996 20c0f21bbe1e
permissions -rw-r--r--
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
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
#
2910
f8b8cbc43356 15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents: 2649
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2649
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
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	0.99
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    31
    sha256:32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6f5ad84
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    32
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
    33
COMPONENT_PROJECT_URL=	http://search.cpan.org/~grantm/XML-SAX-0.99/SAX.pm
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	perl-mod/xml-sax
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    35
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2910
diff changeset
    36
TPNO=			12998
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2910
diff changeset
    37
2649
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    38
# 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
    39
# build threaded 5.12 support too
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    40
PERL_VERSIONS = 5.12 5.12-mt
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    41
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/prep.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    43
include $(WS_TOP)/make-rules/ips.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    44
include $(WS_TOP)/make-rules/makemaker.mk
79b6c91e7f81 16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    45
2910
f8b8cbc43356 15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents: 2649
diff changeset
    46
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
2649
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