Makefile revision 1574
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# CDDL HEADER START
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
8aacc9e7c84f8376822823ec98c2f551d4919b2eTimo Sirainen# The contents of this file are subject to the terms of the
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainen# Common Development and Distribution License (the "License").
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# You may not use this file except in compliance with the License.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# or http://www.opensolaris.org/os/licensing.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# See the License for the specific language governing permissions
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# and limitations under the License.
463e82bdf0e990f4f2252d2b53ea23a5abe5883cTimo Sirainen#
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a0d34d3982507f513a9d800082481e9faeb9a943Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
a0d34d3982507f513a9d800082481e9faeb9a943Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
bbf796c17f02538058d7559bfe96d677e5b55015Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
e6d7d19c328e7043ad35d5a52c1617bde915a16fTimo Sirainen#
d7095f3a4466fbb78b2d5eb3d322bc15a5b0ab1fTimo Sirainen# CDDL HEADER END
153de7823e64c67678b3fc95719c41a8ec5b864dTimo Sirainen#
153de7823e64c67678b3fc95719c41a8ec5b864dTimo Sirainen# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
d7095f3a4466fbb78b2d5eb3d322bc15a5b0ab1fTimo Sirainen#
d7095f3a4466fbb78b2d5eb3d322bc15a5b0ab1fTimo Sirainen
8f7b00599e73fe71b1d2c6c65f8ae98aac1b23fbTimo Siraineninclude ../../../make-rules/shared-macros.mk
8f7b00599e73fe71b1d2c6c65f8ae98aac1b23fbTimo Sirainen
d7095f3a4466fbb78b2d5eb3d322bc15a5b0ab1fTimo SirainenGMAKE = /usr/bin/make
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5dTimo Sirainen
bbf796c17f02538058d7559bfe96d677e5b55015Timo SirainenCOMPONENT_NAME = visual-panels-core
e6d7d19c328e7043ad35d5a52c1617bde915a16fTimo SirainenCOMPONENT_VERSION = 0.5.11
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_SRC = src
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUGDB= utility/vpanels
153de7823e64c67678b3fc95719c41a8ec5b864dTimo Sirainen
153de7823e64c67678b3fc95719c41a8ec5b864dTimo Siraineninclude $(WS_MAKE_RULES)/justmake.mk
9315dd69233d554452df0c12bc57002d2042a8f4Timo Siraineninclude $(WS_MAKE_RULES)/ips.mk
9315dd69233d554452df0c12bc57002d2042a8f4Timo Sirainen
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUILD_TARGETS = build
153de7823e64c67678b3fc95719c41a8ec5b864dTimo SirainenCOMPONENT_BUILD_ENV += ROOT=$(PROTO_DIR)
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUILD_ENV += SRC=$(WS_COMPONENTS)/visual-panels
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUILD_ENV += WS_JAVA=$(BUILD_DIR_32)/java
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUILD_ENV += JAVA_HOME=/usr/java
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):/usr/bin
9315dd69233d554452df0c12bc57002d2042a8f4Timo SirainenCOMPONENT_BUILD_ENV += MACH32=$(MACH32)
41bb0aa8e357876bc9a1916a37c9e3e78e5f8185Timo Sirainen
538c58fc95200fcc5e91abdda8b912b574a2f968Timo SirainenCOMPONENT_INSTALL_TARGETS = install
538c58fc95200fcc5e91abdda8b912b574a2f968Timo SirainenCOMPONENT_INSTALL_ENV = $(COMPONENT_BUILD_ENV)
bbf796c17f02538058d7559bfe96d677e5b55015Timo Sirainen
8aacc9e7c84f8376822823ec98c2f551d4919b2eTimo SirainenCOMPONENT_TEST_TARGETS = test
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo SirainenCOMPONENT_TEST_ENV = $(COMPONENT_BUILD_ENV)
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen# Do not apply the standard licence transforms for this component.
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo SirainenLICENSE_TRANSFORMS =
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen# common targets
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen$(SOURCE_DIR)/.prep:
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen $(TOUCH) $@
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainenprep: $(SOURCE_DIR)/.prep
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainenbuild: $(BUILD_32)
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Siraineninstall: $(INSTALL_32)
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainendownload::
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen @echo 'No downloads for this component'
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainenclobber:: clean
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainenclean::
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen rm -f $(SOURCE_DIR)/.prep
1cad0dd34667548ba39f794ddeb9fc486cf4c666Timo Sirainen
d482b35af87f5fd872bad007da0475813a401a49Timo SirainenBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Siraineninclude $(WS_MAKE_RULES)/depend.mk
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen