Makefile revision 1989
f385bac3b918aac3e33d2a8219e1b78f1c7f276eEvan Hunt#
f385bac3b918aac3e33d2a8219e1b78f1c7f276eEvan Hunt# CDDL HEADER START
f385bac3b918aac3e33d2a8219e1b78f1c7f276eEvan Hunt#
11c282d8a4c87618538cfc89c9004666dc841036Francis Dupont# The contents of this file are subject to the terms of the
11c282d8a4c87618538cfc89c9004666dc841036Francis Dupont# Common Development and Distribution License (the "License").
020a733707d308258768c9d677b5839edb647ec8Evan Hunt# You may not use this file except in compliance with the License.
020a733707d308258768c9d677b5839edb647ec8Evan Hunt#
d54394cbefb7b0ed7bdf9aafaec4ece06578c26bFrancis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d54394cbefb7b0ed7bdf9aafaec4ece06578c26bFrancis Dupont# or http://www.opensolaris.org/os/licensing.
d54394cbefb7b0ed7bdf9aafaec4ece06578c26bFrancis Dupont# See the License for the specific language governing permissions
70c7f4fb4fc589b04a68d67479d34eecd99c1991Evan Hunt# and limitations under the License.
70c7f4fb4fc589b04a68d67479d34eecd99c1991Evan Hunt#
70c7f4fb4fc589b04a68d67479d34eecd99c1991Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
70c7f4fb4fc589b04a68d67479d34eecd99c1991Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
624664e50406f63108ddc7bad47dbac87ac74261Francis Dupont# If applicable, add the following below this CDDL HEADER, with the
624664e50406f63108ddc7bad47dbac87ac74261Francis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
c1ced49662181d2fb2343ed7bde71d170f0d1119Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c1ced49662181d2fb2343ed7bde71d170f0d1119Mark Andrews#
c1ced49662181d2fb2343ed7bde71d170f0d1119Mark Andrews# CDDL HEADER END
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews#
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews#
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
21d349b612e253bea438f3340b2f293b032ed848Mark Andrews#
88c63fe9c78e60e5e521d095d6e983c211902904Mark Andrews
88c63fe9c78e60e5e521d095d6e983c211902904Mark Andrewsinclude ../../make-rules/shared-macros.mk
88c63fe9c78e60e5e521d095d6e983c211902904Mark Andrews
4c05f9a6a3d0fe27d5fad1599b10500e21c705feMark AndrewsCOMPONENT_NAME= grails
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott MannCOMPONENT_VERSION= 1.0.3
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott MannCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott MannCOMPONENT_PROJECT_URL= http://grails.org/
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott MannCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-src-$(COMPONENT_VERSION).tar.gz
664917bedafa65dee4349c84324a31731aa1e228Francis DupontCOMPONENT_ARCHIVE_HASH= \
664917bedafa65dee4349c84324a31731aa1e228Francis Dupont sha256:529e3cb766e1d49ef60f591f4b9355c5f3d090e38ba193505685cc0cdb729a59
664917bedafa65dee4349c84324a31731aa1e228Francis DupontCOMPONENT_ARCHIVE_URL= http://dist.codehaus.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
be789bc7eb6f683979cd1405a06284ee00cda366Mark AndrewsCOMPONENT_BUGDB= utility/grails
17bc56e321574b43c5837d1741e9157c8f2fcd91Francis Dupont
d3e3d7846dd5895960dcdcb1012b4be23388f81cMark Andrewsinclude ../../make-rules/prep.mk
d3e3d7846dd5895960dcdcb1012b4be23388f81cMark Andrewsinclude ../../make-rules/ant.mk
d3e3d7846dd5895960dcdcb1012b4be23388f81cMark Andrewsinclude ../../make-rules/ips.mk
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntASLR_MODE = $(ASLR_NOT_APPLICABLE)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Hunt# common targets
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Huntbuild: $(BUILD_32)
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Hunt
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Hunt# fix names with spaces
2f09e7c3fc25c0e5028593a24531d636845c3e42Mark Andrews# workaround for bug 6734267 (pkgmk does not allow spaces in file names)
2f09e7c3fc25c0e5028593a24531d636845c3e42Mark Andrews# the following files are not used directly by Grails framework...
2f09e7c3fc25c0e5028593a24531d636845c3e42Mark Andrews$(INSTALL_32): $(BUILD_32)
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark Andrews (cd $(COMPONENT_SRC)/media/icons ; \
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark Andrews mv 'grails - 16x16 icon.png' grails-16x16icon.png ; \
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark Andrews mv 'grails - 32x32 icon.png' grails-32x32icon.png ; \
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark Andrews mv 'grails - 48x48 icon.png' grails-48x48icon.png ; \
ddd40390be246189f10dc18782914b295befb139Mark Andrews mv 'grails - 64x64 icon.png' grails-64x64icon.png ; \
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews mv 'grails - 128x128 icon.png' grails-128x128icon.png)
ddd40390be246189f10dc18782914b295befb139Mark Andrews $(TOUCH) $@
fd5d7b4b1cf3b11ff248a361e5b2c56ca7372225Mark Andrews
ddd40390be246189f10dc18782914b295befb139Mark Andrewsinstall: $(INSTALL_32)
5715e1c6f6b549e95b312f1529efd849f7c9503fMark Andrews
5715e1c6f6b549e95b312f1529efd849f7c9503fMark Andrewstest: $(NO_TESTS)
ddd40390be246189f10dc18782914b295befb139Mark Andrews
b795de862ba8e75f3b9c56abb9553c28255c8567Mark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
b795de862ba8e75f3b9c56abb9553c28255c8567Mark Andrews
c12904ec531fb210066bafc33bde74d43889caacMark Andrewsinclude ../../make-rules/depend.mk
c12904ec531fb210066bafc33bde74d43889caacMark Andrews