author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 6683 | c69d3c7762d0 |
permissions | -rw-r--r-- |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
1 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
3 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
7 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
12 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
18 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
20 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
21 |
|
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6683
diff
changeset
|
23 |
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
24 |
# |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
25 |
|
395
9f5975c39490
7064142 Move pmtools to userland (fix include)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
393
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
27 |
|
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= pmtools |
6683
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
29 |
COMPONENT_VERSION= 2.0.0 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
395
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://search.cpan.org/dist/pmtools/ |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
6683
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
34 |
sha256:5863fc9434d6a8d7311fd612cf243c29c3573aaba9caa7a8fb54154089d8baf3 |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://search.cpan.org/CPAN/authors/id/M/ML/MLFISHER/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/perl-pmtools |
6683
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
37 |
TPNO= 31142 |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6683
diff
changeset
|
38 |
COMPONENT_ANITYA_ID= 13293 |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
39 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1434
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1434
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/makemaker.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1434
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
43 |
|
6683
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
44 |
COMPONENT_TEST_ENV += PATH="/usr/perl5/$(PERLVER)/bin:$(PATH)" |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
45 |
COMPONENT_TEST_TARGETS = test |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
46 |
COMPONENT_TEST_TRANSFORMS += \ |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
47 |
'-e "s/\s*[0-9][0-9]* wallclock secs (.*CPU)$$/ <TIMINGS REMOVED>/" ' \ |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
48 |
'-e "/^PERL_DL_NONLAZY/d" ' \ |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
49 |
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \ |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
50 |
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \ |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
51 |
'-e "/^XXX_REMOVE_XXX$$/d" ' |
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
52 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1170
diff
changeset
|
53 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
1170
63707ad3c24c
16389410 perl 5.16 should be built with ASLR enabled
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1152
diff
changeset
|
54 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5577
diff
changeset
|
55 |
build: $(BUILD_64) |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
56 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5577
diff
changeset
|
57 |
install: $(INSTALL_64) |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
58 |
|
6683
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
59 |
test: $(TEST_64) |
393
b6a26174ccce
7064142 Move pmtools to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
60 |
|
6683
c69d3c7762d0
23093394 Upgrade pmtools to 2.0.0
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
61 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4035
diff
changeset
|
62 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1434
diff
changeset
|
63 |
REQUIRED_PACKAGES += system/core-os |