Makefile revision 3996
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# CDDL HEADER START
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# The contents of this file are subject to the terms of the
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# Common Development and Distribution License (the "License").
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# You may not use this file except in compliance with the License.
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# See the License for the specific language governing permissions
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# and limitations under the License.
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# When distributing Covered Code, include this CDDL HEADER in each
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# If applicable, add the following below this CDDL HEADER, with the
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# fields enclosed by brackets "[]" replaced with your own identifying
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# information: Portions Copyright [yyyy] [name of copyright owner]
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# CDDL HEADER END
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha GraefCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha GraefCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-src-$(COMPONENT_VERSION).tar.gz
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef sha256:529e3cb766e1d49ef60f591f4b9355c5f3d090e38ba193505685cc0cdb729a59
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha GraefCOMPONENT_ARCHIVE_URL= http://dist.codehaus.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# Make sure we use the specially modified versions of grails and grails-debug
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef $(CP) $(COMPONENT_DIR)/files/grails $(SOURCE_DIR)/bin; \
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef $(CP) $(COMPONENT_DIR)/files/grails-debug $(SOURCE_DIR)/bin
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha GraefCOMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# Need to package the .jar files we've built, not the ones included in
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# the source tarball.
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha GraefPKG_PROTO_DIRS = $(BUILD_DIR_32) $(MANGLED_DIR) $(PROTO_DIR) $(@D) \
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# common targets
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# fix names with spaces
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# workaround for bug 6734267 (pkgmk does not allow spaces in file names)
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef# the following files are not used directly by Grails framework...
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef mv 'grails - 16x16 icon.png' grails-16x16icon.png ; \
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef mv 'grails - 32x32 icon.png' grails-32x32icon.png ; \
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef mv 'grails - 48x48 icon.png' grails-48x48icon.png ; \
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef mv 'grails - 64x64 icon.png' grails-64x64icon.png ; \
978536ac2eb9774ae6b877fe93d07fdc11763d03Sascha Graef mv 'grails - 128x128 icon.png' grails-128x128icon.png)