author | Craig Mohrman <craig.mohrman@oracle.com> |
Thu, 13 Jun 2013 19:36:46 -0700 | |
branch | s11-update |
changeset 2649 | 79b6c91e7f81 |
child 2910 | f8b8cbc43356 |
permissions | -rw-r--r-- |
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 |
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 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
36 |
# 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
|
37 |
# build threaded 5.12 support too |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
38 |
PERL_VERSIONS = 5.12 5.12-mt |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
39 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
40 |
include $(WS_TOP)/make-rules/prep.mk |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
41 |
include $(WS_TOP)/make-rules/ips.mk |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
42 |
include $(WS_TOP)/make-rules/makemaker.mk |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
43 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
44 |
# Enable ASLR for this component |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
45 |
ASLR_MODE = $(ASLR_ENABLE) |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
46 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
47 |
# man pages go in the common area |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR) |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
49 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
50 |
COMPONENT_TEST_TARGETS = test |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
51 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
52 |
build: $(BUILD_32) |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
53 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
54 |
install: $(INSTALL_32) |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
55 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
56 |
test: $(TEST_32) |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
57 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
58 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
59 |
|
79b6c91e7f81
16666707 Add Perl XML processing modules
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
60 |
include $(WS_TOP)/make-rules/depend.mk |