1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 |
|
24 # Give each variant its own build directory |
|
25 VARIANT_584 = $(BUILD_DIR)/$(MACH32)-5.8.4 |
|
26 VARIANT_510 = $(BUILD_DIR)/$(MACH32)-5.10.0 |
|
27 VARIANT_512 = $(BUILD_DIR)/$(MACH32)-5.12.3 |
|
28 |
|
29 # List all variants here. You can override this variable locally to build given |
|
30 # module with just selected perl revision |
|
31 VARIANTS = $(VARIANT_584) # $(VARIANT_510) $(VARIANT_512) |
|
32 |
|
33 # This has to be included prior to re-defining PERL variable |
|
34 include ../../../make-rules/shared-macros.mk |
|
35 |
|
36 P584=/usr/perl5/5.8.4/bin/perl |
|
37 P510=/usr/perl5/5.10.0/bin/perl |
|
38 P512=/usr/perl5/5.12.3/bin/perl |
|
39 # Set perl used for each variant |
|
40 $(VARIANT_584)/.built: PERL=$(P584) |
|
41 $(VARIANT_584)/.prep: PERL=$(P584) |
|
42 $(VARIANT_584)/.configured: PERL=$(P584) |
|
43 $(VARIANT_584)/.installed: PERL=$(P584) |
|
44 |
|
45 $(VARIANT_510)/.built: PERL=$(P510) |
|
46 $(VARIANT_510)/.prep: PERL=$(P510) |
|
47 $(VARIANT_510)/.configured: PERL=$(P510) |
|
48 $(VARIANT_510)/.installed: PERL=$(P510) |
|
49 |
|
50 $(VARIANT_512)/.built: PERL=$(P512) |
|
51 $(VARIANT_512)/.prep: PERL=$(P512) |
|
52 $(VARIANT_512)/.configured: PERL=$(P512) |
|
53 $(VARIANT_512)/.installed: PERL=$(P512) |
|