annotate components/grails/Makefile @ 416:d3ce52a8aecd

7063888 Move Grails to userland (fix incremental)
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
date Mon, 18 Jul 2011 11:35:37 -0700
parents 1a6d7a739179
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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 #
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
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
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
33 COMPONENT_ARCHIVE_HASH= sha1:a8d93c599ada1e5259b7d5fc01a09a9b883c6885
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
34 COMPONENT_ARCHIVE_URL= http://dist.codehaus.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
35
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
36 include ../../make-rules/prep.mk
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
37 include ../../make-rules/ant.mk
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
38 include ../../make-rules/ips.mk
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
39
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
40 # common targets
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
41 build: $(BUILD_32)
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
42
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
43 # fix names with spaces
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
44 # 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
45 # 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
46 $(INSTALL_32): $(BUILD_32)
413
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
47 (cd $(COMPONENT_SRC)/media/icons ; \
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
48 mv 'grails - 16x16 icon.png' grails-16x16icon.png ; \
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
49 mv 'grails - 32x32 icon.png' grails-32x32icon.png ; \
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
50 mv 'grails - 48x48 icon.png' grails-48x48icon.png ; \
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
51 mv 'grails - 64x64 icon.png' grails-64x64icon.png ; \
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
52 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
53 $(TOUCH) $@
d3ce52a8aecd 7063888 Move Grails to userland (fix incremental)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 413
diff changeset
54
d3ce52a8aecd 7063888 Move Grails to userland (fix incremental)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 413
diff changeset
55 install: $(INSTALL_32)
413
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
56
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
57 test: $(NO_TESTS)
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
58
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
59 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
60
1a6d7a739179 7063888 Move Grails to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
61 include ../../make-rules/depend.mk