author | Bill Rushmore <bill.rushmore@oracle.com> |
Fri, 07 Aug 2015 13:43:38 -0700 | |
changeset 4746 | 8e237ffd0a48 |
parent 4355 | 918f15f3f728 |
permissions | -rw-r--r-- |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
23 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= grails |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.0.3 |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://grails.org/ |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)-src-$(COMPONENT_VERSION).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
416
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
416
diff
changeset
|
34 |
sha256:529e3cb766e1d49ef60f591f4b9355c5f3d090e38ba193505685cc0cdb729a59 |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://dist.codehaus.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
864
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/grails |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1722
diff
changeset
|
38 |
TPNO= 8709 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1722
diff
changeset
|
39 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
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:
1948
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/ant.mk |
4355
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
42 |
|
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
43 |
# Need to package the .jar files we've built, not the ones included in |
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
44 |
# the source tarball. So we need $(BUILD_DIR_32) added to $(PKG_PROTO_DIRS) |
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
45 |
# but it has to come at the beginning not the end, so we set it before we |
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
46 |
# include ips.mk. |
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
47 |
|
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
48 |
PKG_PROTO_DIRS = $(BUILD_DIR_32) |
918f15f3f728
21137686 grails & unrar Makefiles break when PKG_PROTO_DIRS is extended
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
49 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
50 |
include $(WS_MAKE_RULES)/ips.mk |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
|
1722
37ad10ee9afe
17673376 problem in UTILITY/GRAILS
Rich Burridge <rich.burridge@oracle.com>
parents:
1434
diff
changeset
|
52 |
# Make sure we use the specially modified versions of grails and grails-debug |
37ad10ee9afe
17673376 problem in UTILITY/GRAILS
Rich Burridge <rich.burridge@oracle.com>
parents:
1434
diff
changeset
|
53 |
COMPONENT_POST_UNPACK_ACTION = \ |
37ad10ee9afe
17673376 problem in UTILITY/GRAILS
Rich Burridge <rich.burridge@oracle.com>
parents:
1434
diff
changeset
|
54 |
$(CP) $(COMPONENT_DIR)/files/grails $(SOURCE_DIR)/bin; \ |
37ad10ee9afe
17673376 problem in UTILITY/GRAILS
Rich Burridge <rich.burridge@oracle.com>
parents:
1434
diff
changeset
|
55 |
$(CP) $(COMPONENT_DIR)/files/grails-debug $(SOURCE_DIR)/bin |
37ad10ee9afe
17673376 problem in UTILITY/GRAILS
Rich Burridge <rich.burridge@oracle.com>
parents:
1434
diff
changeset
|
56 |
|
864
8070f77a5a10
7174850 permanentish temporary files have returned again
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
800
diff
changeset
|
57 |
COMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp |
8070f77a5a10
7174850 permanentish temporary files have returned again
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
800
diff
changeset
|
58 |
COMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp" |
8070f77a5a10
7174850 permanentish temporary files have returned again
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
800
diff
changeset
|
59 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
60 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
61 |
|
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
# common targets |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
build: $(BUILD_32) |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
|
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
# fix names with spaces |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
# workaround for bug 6734267 (pkgmk does not allow spaces in file names) |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
# the following files are not used directly by Grails framework... |
416
d3ce52a8aecd
7063888 Move Grails to userland (fix incremental)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
413
diff
changeset
|
68 |
$(INSTALL_32): $(BUILD_32) |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
69 |
(cd $(COMPONENT_SRC)/media/icons ; \ |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
mv 'grails - 16x16 icon.png' grails-16x16icon.png ; \ |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |
mv 'grails - 32x32 icon.png' grails-32x32icon.png ; \ |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
mv 'grails - 48x48 icon.png' grails-48x48icon.png ; \ |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
73 |
mv 'grails - 64x64 icon.png' grails-64x64icon.png ; \ |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
mv 'grails - 128x128 icon.png' grails-128x128icon.png) |
416
d3ce52a8aecd
7063888 Move Grails to userland (fix incremental)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
413
diff
changeset
|
75 |
$(TOUCH) $@ |
d3ce52a8aecd
7063888 Move Grails to userland (fix incremental)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
413
diff
changeset
|
76 |
|
d3ce52a8aecd
7063888 Move Grails to userland (fix incremental)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
413
diff
changeset
|
77 |
install: $(INSTALL_32) |
413
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
|
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
test: $(NO_TESTS) |
1a6d7a739179
7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
80 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3918
diff
changeset
|
81 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3918
diff
changeset
|
82 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
83 |
REQUIRED_PACKAGES += runtime/perl-512 |
4746
8e237ffd0a48
20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents:
4355
diff
changeset
|
84 |
REQUIRED_PACKAGES += runtime/perl-520 |
3918
d8138667d338
20663199 six Userland components need work for Python 2.6 -> 2.7 move
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
85 |
REQUIRED_PACKAGES += runtime/python-27 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
86 |
REQUIRED_PACKAGES += shell/bash |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
87 |
REQUIRED_PACKAGES += shell/ksh93 |