Makefile revision 924
906N/A#
906N/A# CDDL HEADER START
906N/A#
906N/A# The contents of this file are subject to the terms of the
906N/A# Common Development and Distribution License (the "License").
906N/A# You may not use this file except in compliance with the License.
906N/A#
906N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
906N/A# or http://www.opensolaris.org/os/licensing.
906N/A# See the License for the specific language governing permissions
906N/A# and limitations under the License.
906N/A#
906N/A# When distributing Covered Code, include this CDDL HEADER in each
906N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
906N/A# If applicable, add the following below this CDDL HEADER, with the
906N/A# fields enclosed by brackets "[]" replaced with your own identifying
906N/A# information: Portions Copyright [yyyy] [name of copyright owner]
906N/A#
906N/A# CDDL HEADER END
906N/A#
906N/A
3595N/A#
906N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
906N/A#
3817N/A
3817N/Ainclude ../../make-rules/shared-macros.mk
906N/A
906N/ACOMPONENT_NAME= grails
906N/ACOMPONENT_VERSION= 1.0.3
4260N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1799N/ACOMPONENT_PROJECT_URL= http://grails.org/
1799N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)-src-$(COMPONENT_VERSION).tar.gz
906N/ACOMPONENT_ARCHIVE_HASH= \
906N/A sha256:529e3cb766e1d49ef60f591f4b9355c5f3d090e38ba193505685cc0cdb729a59
4260N/ACOMPONENT_ARCHIVE_URL= http://dist.codehaus.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1799N/A
1799N/Ainclude ../../make-rules/prep.mk
906N/Ainclude ../../make-rules/ant.mk
4260N/Ainclude ../../make-rules/ips.mk
2899N/A
1389N/ACOMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp
1389N/ACOMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
2410N/A
906N/A# common targets
3936N/Abuild: $(BUILD_32)
3936N/A
3936N/A# fix names with spaces
3936N/A# workaround for bug 6734267 (pkgmk does not allow spaces in file names)
3470N/A# the following files are not used directly by Grails framework...
3817N/A$(INSTALL_32): $(BUILD_32)
3817N/A (cd $(COMPONENT_SRC)/media/icons ; \
3817N/A mv 'grails - 16x16 icon.png' grails-16x16icon.png ; \
906N/A mv 'grails - 32x32 icon.png' grails-32x32icon.png ; \
3703N/A mv 'grails - 48x48 icon.png' grails-48x48icon.png ; \
3703N/A mv 'grails - 64x64 icon.png' grails-64x64icon.png ; \
3703N/A mv 'grails - 128x128 icon.png' grails-128x128icon.png)
3703N/A $(TOUCH) $@
3703N/A
1389N/Ainstall: $(INSTALL_32)
906N/A
906N/Atest: $(NO_TESTS)
906N/A
906N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3470N/A
3470N/Ainclude ../../make-rules/depend.mk
3470N/A