make-rules/makemaker.mk
author Misaki Miyashita <Misaki.Miyashita@Oracle.COM>
Tue, 08 Dec 2015 14:36:41 -0800
changeset 5171 4e8b3c0ea78c
parent 4746 8e237ffd0a48
child 5577 09a6352d52ad
permissions -rw-r--r--
22307393 Upgrade OpenSSL version to 1.0.2e 22307570 problem in LIBRARY/OPENSSL 22307591 problem in LIBRARY/OPENSSL 22307596 problem in LIBRARY/OPENSSL 22307601 problem in LIBRARY/OPENSSL 22317607 problem in LIBRARY/OPENSSL
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     1
#
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     3
#
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     7
#
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    12
#
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    18
#
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    20
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
    21
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    22
#
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    23
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    24
# Perl 5.12 and older are 32-bit only.
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    25
# Perl 5.16 and newer are 64-bit only.
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    26
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    27
COMMON_PERL_ENV +=	MAKE=$(GMAKE)
774
d0cbca26a17c 7035978 parfait support for userland bits
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 260
diff changeset
    28
COMMON_PERL_ENV +=	PATH=$(dir $(CC)):$(SPRO_VROOT)/bin:$(PATH)
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    29
COMMON_PERL_ENV +=	LANG=""
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    30
COMMON_PERL_ENV +=	CC="$(CC)"
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    31
COMMON_PERL_ENV +=	CFLAGS="$(PERL_OPTIMIZE)"
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    32
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    33
# Yes.  Perl is just scripts, for now, but we need architecture
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    34
# directories so that it populates all architecture prototype
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    35
# directories.
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    36
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    37
$(BUILD_DIR)/$(MACH32)-5.12/.configured:	PERL_VERSION=5.12
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    38
$(BUILD_DIR)/$(MACH32)-5.12/.configured:	BITS=32
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents: 1152
diff changeset
    39
$(BUILD_DIR)/$(MACH32)-5.12-mt/.configured:	PERL_VERSION=5.12-mt
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents: 1152
diff changeset
    40
$(BUILD_DIR)/$(MACH32)-5.12-mt/.configured:	BITS=32
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    41
$(BUILD_DIR)/$(MACH64)-5.16/.configured:	PERL_VERSION=5.16
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    42
$(BUILD_DIR)/$(MACH64)-5.16/.configured:	BITS=64
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    43
$(BUILD_DIR)/$(MACH64)-5.20/.configured:	PERL_VERSION=5.20
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    44
$(BUILD_DIR)/$(MACH64)-5.20/.configured:	BITS=64
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    45
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    46
2000
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    47
$(BUILD_DIR)/$(MACH32)-5.12/.tested:	PERL_VERSION=5.12
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    48
$(BUILD_DIR)/$(MACH32)-5.12/.tested:	BITS=32
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    49
$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested:	PERL_VERSION=5.12-mt
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    50
$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested:	BITS=32
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    51
$(BUILD_DIR)/$(MACH64)-5.16/.tested:	PERL_VERSION=5.16
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    52
$(BUILD_DIR)/$(MACH64)-5.16/.tested:	BITS=64
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    53
$(BUILD_DIR)/$(MACH64)-5.20/.tested:	PERL_VERSION=5.20
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    54
$(BUILD_DIR)/$(MACH64)-5.20/.tested:	BITS=64
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    55
2000
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1352
diff changeset
    56
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    57
$(BUILD_DIR)/$(MACH32)-5.12/.tested-and-compared:	PERL_VERSION=5.12
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    58
$(BUILD_DIR)/$(MACH32)-5.12/.tested-and-compared:	BITS=32
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    59
$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested-and-compared:	PERL_VERSION=5.12-mt
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    60
$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested-and-compared:	BITS=32
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    61
$(BUILD_DIR)/$(MACH64)-5.16/.tested-and-compared:	PERL_VERSION=5.16
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    62
$(BUILD_DIR)/$(MACH64)-5.16/.tested-and-compared:	BITS=64
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    63
$(BUILD_DIR)/$(MACH64)-5.20/.tested-and-compared:	PERL_VERSION=5.20
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    64
$(BUILD_DIR)/$(MACH64)-5.20/.tested-and-compared:	BITS=64
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    65
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
    66
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    67
$(BUILD_DIR)/$(MACH32)-5.12/.system-tested:	PERL_VERSION=5.12
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    68
$(BUILD_DIR)/$(MACH32)-5.12/.system-tested:	BITS=32
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    69
$(BUILD_DIR)/$(MACH32)-5.12-mt/.system-tested:	PERL_VERSION=5.12-mt
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    70
$(BUILD_DIR)/$(MACH32)-5.12-mt/.system-tested:	BITS=32
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    71
$(BUILD_DIR)/$(MACH64)-5.16/.system-tested:	PERL_VERSION=5.16
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    72
$(BUILD_DIR)/$(MACH64)-5.16/.system-tested:	BITS=64
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    73
$(BUILD_DIR)/$(MACH64)-5.20/.system-tested:	PERL_VERSION=5.20
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    74
$(BUILD_DIR)/$(MACH64)-5.20/.system-tested:	BITS=64
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    75
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    76
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    77
$(BUILD_DIR)/$(MACH32)-5.12/.system-tested-and-compared:	PERL_VERSION=5.12
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    78
$(BUILD_DIR)/$(MACH32)-5.12/.system-tested-and-compared:	BITS=32
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    79
$(BUILD_DIR)/$(MACH32)-5.12-mt/.system-tested-and-compared:	PERL_VERSION=5.12-mt
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    80
$(BUILD_DIR)/$(MACH32)-5.12-mt/.system-tested-and-compared:	BITS=32
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    81
$(BUILD_DIR)/$(MACH64)-5.16/.system-tested-and-compared:	PERL_VERSION=5.16
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    82
$(BUILD_DIR)/$(MACH64)-5.16/.system-tested-and-compared:	BITS=64
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    83
$(BUILD_DIR)/$(MACH64)-5.20/.system-tested-and-compared:	PERL_VERSION=5.20
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    84
$(BUILD_DIR)/$(MACH64)-5.20/.system-tested-and-compared:	BITS=64
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    85
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
    86
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    87
BUILD_32 =	$(BUILD_DIR)/$(MACH32)-5.12/.built
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents: 1152
diff changeset
    88
BUILD_32 +=	$(BUILD_DIR)/$(MACH32)-5.12-mt/.built
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    89
BUILD_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.built
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    90
BUILD_64 +=	$(BUILD_DIR)/$(MACH64)-5.20/.built
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    91
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    92
INSTALL_32 =	$(BUILD_DIR)/$(MACH32)-5.12/.installed
1335
de08f025b1d0 16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents: 1152
diff changeset
    93
INSTALL_32 +=	$(BUILD_DIR)/$(MACH32)-5.12-mt/.installed
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    94
INSTALL_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.installed
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
    95
INSTALL_64 +=	$(BUILD_DIR)/$(MACH64)-5.20/.installed
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    96
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    97
COMPONENT_CONFIGURE_ENV +=	$(COMMON_PERL_ENV)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
    98
COMPONENT_CONFIGURE_ENV +=	PERL="$(PERL)"
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
    99
$(BUILD_DIR)/%/.configured:	$(SOURCE_DIR)/.prep
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   100
	($(RM) -r $(@D) ; $(MKDIR) $(@D))
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   101
	$(CLONEY) $(SOURCE_DIR) $(@D)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   102
	$(COMPONENT_PRE_CONFIGURE_ACTION)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   103
	(cd $(@D) ; $(COMPONENT_CONFIGURE_ENV) $(PERL) $(PERL_FLAGS) \
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   104
				Makefile.PL $(CONFIGURE_OPTIONS))
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   105
	$(COMPONENT_POST_CONFIGURE_ACTION)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   106
	$(TOUCH) $@
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   107
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   108
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   109
COMPONENT_BUILD_ENV +=	$(COMMON_PERL_ENV)
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
   110
$(BUILD_DIR)/%/.built:	$(BUILD_DIR)/%/.configured
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   111
	$(COMPONENT_PRE_BUILD_ACTION)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   112
	(cd $(@D) ; $(ENV) $(COMPONENT_BUILD_ENV) \
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   113
		$(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS))
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   114
	$(COMPONENT_POST_BUILD_ACTION)
1352
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   115
ifeq   ($(strip $(PARFAIT_BUILD)),yes)
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   116
	-$(PARFAIT) $(@D)
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   117
endif
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   118
	$(TOUCH) $@
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   119
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   120
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   121
COMPONENT_INSTALL_ARGS +=	DESTDIR="$(PROTO_DIR)"
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   122
COMPONENT_INSTALL_TARGETS =	install_vendor
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   123
COMPONENT_INSTALL_ENV +=	$(COMMON_PERL_ENV)
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1124
diff changeset
   124
$(BUILD_DIR)/%/.installed:	$(BUILD_DIR)/%/.built
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   125
	$(COMPONENT_PRE_INSTALL_ACTION)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   126
	(cd $(@D) ; $(ENV) $(COMPONENT_INSTALL_ENV) $(GMAKE) \
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   127
			$(COMPONENT_INSTALL_ARGS) $(COMPONENT_INSTALL_TARGETS))
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   128
	$(COMPONENT_POST_INSTALL_ACTION)
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   129
	$(TOUCH) $@
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   130
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   131
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   132
# Define bit specific and Perl version specific filenames.
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   133
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(PERL_VERSION)-$(BITS).master
3864
77a09e73626b 20548962 generated test files should be in the build directory for clobbering time
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
   134
COMPONENT_TEST_OUTPUT = $(COMPONENT_TEST_BUILD_DIR)/test-$(PERL_VERSION)-$(BITS)-results
77a09e73626b 20548962 generated test files should be in the build directory for clobbering time
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
   135
COMPONENT_TEST_DIFFS =  $(COMPONENT_TEST_BUILD_DIR)/test-$(PERL_VERSION)-$(BITS)-diffs
77a09e73626b 20548962 generated test files should be in the build directory for clobbering time
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
   136
COMPONENT_TEST_SNAPSHOT = $(COMPONENT_TEST_BUILD_DIR)/results-$(PERL_VERSION)-$(BITS).snapshot
77a09e73626b 20548962 generated test files should be in the build directory for clobbering time
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
   137
COMPONENT_TEST_TRANSFORM_CMD = $(COMPONENT_TEST_BUILD_DIR)/transform-$(PERL_VERSION)-$(BITS)-results
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   138
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   139
COMPONENT_TEST_TARGETS =	check
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   140
COMPONENT_TEST_ENV +=		$(COMMON_PERL_ENV)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   141
COMPONENT_SYSTEM_TEST_TARGETS =	check
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   142
COMPONENT_SYSTEM_TEST_ENV +=	$(COMMON_PERL_ENV)
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   143
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   144
# determine the type of tests we want to run.
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   145
ifeq ($(strip $(wildcard $(COMPONENT_TEST_RESULTS_DIR)/results-*.master)),)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   146
TEST_32 =	$(BUILD_DIR)/$(MACH32)-5.12/.tested
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   147
TEST_32 +=	$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   148
TEST_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.tested
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   149
TEST_64 +=	$(BUILD_DIR)/$(MACH64)-5.20/.tested
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   150
else
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   151
TEST_32 =	$(BUILD_DIR)/$(MACH32)-5.12/.tested-and-compared
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   152
TEST_32 +=	$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested-and-compared
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   153
TEST_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.tested-and-compared
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   154
TEST_64 +=	$(BUILD_DIR)/$(MACH64)-5.20/.tested-and-compared
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   155
endif
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   156
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   157
ifeq ($(strip $(wildcard $(COMPONENT_TEST_RESULTS_DIR)/results-*.master)),)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   158
SYSTEM_TEST_32 =	$(BUILD_DIR)/$(MACH32)-5.12/.system-tested
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   159
SYSTEM_TEST_32 +=	$(BUILD_DIR)/$(MACH32)-5.12-mt/.system-tested
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   160
SYSTEM_TEST_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.system-tested
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   161
SYSTEM_TEST_64 +=	$(BUILD_DIR)/$(MACH64)-5.20/.system-tested
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   162
else
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   163
SYSTEM_TEST_32 =	$(BUILD_DIR)/$(MACH32)-5.12/.system-tested-and-compared
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   164
SYSTEM_TEST_32 +=	$(BUILD_DIR)/$(MACH32)-5.12-mt/.system-tested-and-compared
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   165
SYSTEM_TEST_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.system-tested-and-compared
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   166
SYSTEM_TEST_64 +=	$(BUILD_DIR)/$(MACH64)-5.20/.system-tested-and-compared
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   167
endif
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   168
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   169
# test the built source
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   170
$(BUILD_DIR)/%/.tested-and-compared:    $(BUILD_DIR)/%/.built
3864
77a09e73626b 20548962 generated test files should be in the build directory for clobbering time
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
   171
	$(RM) -rf $(COMPONENT_TEST_BUILD_DIR)
77a09e73626b 20548962 generated test files should be in the build directory for clobbering time
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
   172
	$(MKDIR) $(COMPONENT_TEST_BUILD_DIR)
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   173
	$(COMPONENT_PRE_TEST_ACTION)
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   174
	-(cd $(COMPONENT_TEST_DIR) ; \
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   175
		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
2106
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 2022
diff changeset
   176
		$(COMPONENT_TEST_CMD) \
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   177
		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS)) \
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   178
		&> $(COMPONENT_TEST_OUTPUT)
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   179
	$(COMPONENT_POST_TEST_ACTION)
3558
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   180
	$(COMPONENT_TEST_CREATE_TRANSFORMS)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   181
	$(COMPONENT_TEST_PERFORM_TRANSFORM)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   182
	$(COMPONENT_TEST_COMPARE)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   183
	$(COMPONENT_TEST_CLEANUP)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   184
	$(TOUCH) $@
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   185
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   186
$(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   187
	$(COMPONENT_PRE_TEST_ACTION)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   188
	(cd $(COMPONENT_TEST_DIR) ; \
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   189
		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   190
		$(COMPONENT_TEST_CMD) \
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   191
		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   192
	$(COMPONENT_POST_TEST_ACTION)
2cec274f17fc 20222479 Need a method to compare test results against a master in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 2164
diff changeset
   193
	$(COMPONENT_TEST_CLEANUP)
1352
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   194
	$(TOUCH) $@
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   195
4393
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4252
diff changeset
   196
# Test the installed packages.  The targets above depend on .built which
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4252
diff changeset
   197
# means $(CLONEY) has already run.  System-test needs cloning but not
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4252
diff changeset
   198
# building; thus ideally, we would want to depend on .cloned here and below,
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4252
diff changeset
   199
# but since we don't have that, we depend on .prep and run $(CLONEY) here.
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   200
$(BUILD_DIR)/%/.system-tested-and-compared:    $(SOURCE_DIR)/.prep
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   201
	$(RM) -rf $(COMPONENT_TEST_BUILD_DIR)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   202
	$(MKDIR) $(COMPONENT_TEST_BUILD_DIR)
4393
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4252
diff changeset
   203
	$(CLONEY) $(SOURCE_DIR) $(@D)
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   204
	$(COMPONENT_PRE_SYSTEM_TEST_ACTION)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   205
	-(cd $(COMPONENT_SYSTEM_TEST_DIR) ; \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   206
		$(COMPONENT_SYSTEM_TEST_ENV_CMD) $(COMPONENT_SYSTEM_TEST_ENV) \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   207
		$(COMPONENT_SYSTEM_TEST_CMD) \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   208
		$(COMPONENT_SYSTEM_TEST_ARGS) $(COMPONENT_SYSTEM_TEST_TARGETS)) \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   209
		&> $(COMPONENT_TEST_OUTPUT)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   210
	$(COMPONENT_POST_SYSTEM_TEST_ACTION)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   211
	$(COMPONENT_TEST_CREATE_TRANSFORMS)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   212
	$(COMPONENT_TEST_PERFORM_TRANSFORM)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   213
	$(COMPONENT_TEST_COMPARE)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   214
	$(COMPONENT_SYSTEM_TEST_CLEANUP)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   215
	$(TOUCH) $@
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   216
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   217
$(BUILD_DIR)/%/.system-tested:    $(SOURCE_DIR)/.prep
4393
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4252
diff changeset
   218
	$(CLONEY) $(SOURCE_DIR) $(@D)
4091
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   219
	$(COMPONENT_PRE_SYSTEM_TEST_ACTION)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   220
	(cd $(COMPONENT_SYSTEM_TEST_DIR) ; \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   221
		$(COMPONENT_SYSTEM_TEST_ENV_CMD) $(COMPONENT_SYSTEM_TEST_ENV) \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   222
		$(COMPONENT_SYSTEM_TEST_CMD) \
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   223
		$(COMPONENT_SYSTEM_TEST_ARGS) $(COMPONENT_SYSTEM_TEST_TARGETS))
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   224
	$(COMPONENT_POST_SYSTEM_TEST_ACTION)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   225
	$(COMPONENT_SYSTEM_TEST_CLEANUP)
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   226
	$(TOUCH) $@
fca9099ab398 20808505 gmake system-test
John Beck <John.Beck@Oracle.COM>
parents: 4069
diff changeset
   227
774
d0cbca26a17c 7035978 parfait support for userland bits
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 260
diff changeset
   228
ifeq   ($(strip $(PARFAIT_BUILD)),yes)
1352
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   229
parfait: build
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   230
else
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   231
parfait:
1358a1e1ff4c 16921386 move to parfait 1.2.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1335
diff changeset
   232
	$(MAKE) PARFAIT_BUILD=yes parfait
774
d0cbca26a17c 7035978 parfait support for userland bits
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 260
diff changeset
   233
endif
260
cc1837bbe69e 7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff changeset
   234
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   235
ifneq ($(findstring 5.12, $(PERL_VERSIONS)),)
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   236
REQUIRED_PACKAGES += runtime/perl-512
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   237
endif
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   238
ifneq ($(findstring 5.12-mt, $(PERL_VERSIONS)),)
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   239
REQUIRED_PACKAGES += runtime/perl-threaded-512
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   240
endif
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   241
ifneq ($(findstring 5.16, $(PERL_VERSIONS)),)
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   242
REQUIRED_PACKAGES += runtime/perl-516
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3558
diff changeset
   243
endif
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   244
ifneq ($(findstring 5.20, $(PERL_VERSIONS)),)
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   245
REQUIRED_PACKAGES += runtime/perl-520
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4393
diff changeset
   246
endif