Makefile revision 887
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# CDDL HEADER START
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# The contents of this file are subject to the terms of the
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# Common Development and Distribution License (the "License").
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# You may not use this file except in compliance with the License.
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# or http://www.opensolaris.org/os/licensing.
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# See the License for the specific language governing permissions
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# and limitations under the License.
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# When distributing Covered Code, include this CDDL HEADER in each
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# If applicable, add the following below this CDDL HEADER, with the
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# fields enclosed by brackets "[]" replaced with your own identifying
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# information: Portions Copyright [yyyy] [name of copyright owner]
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# CDDL HEADER END
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose#
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose
09d7c105839bfc7447ea0f766413ed86675ca075Sumit Boseinclude ../../../make-rules/shared-macros.mk
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose
81165faf5d951aca69f410713730c26ff048ec44Sumit BoseGMAKE = /usr/bin/make
204cfc89a076fd32bf34f2abb3f809304aaa88abSimo Sorce
81165faf5d951aca69f410713730c26ff048ec44Sumit BoseCOMPONENT_NAME = visual-panels-time
81165faf5d951aca69f410713730c26ff048ec44Sumit BoseCOMPONENT_VERSION = 0.5.11
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan ZelenyCOMPONENT_SRC = src
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit Bose
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zelenyinclude $(WS_MAKE_RULES)/justmake.mk
81165faf5d951aca69f410713730c26ff048ec44Sumit Boseinclude $(WS_MAKE_RULES)/ips.mk
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_BUILD_TARGETS = build
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_BUILD_ENV += ROOT=$(BUILD_DIR)/prototype/$(MACH)
5e60c73cb91d1659755fb5ea829837db68d46163Sumit BoseCOMPONENT_BUILD_ENV += SRC=$(WS_COMPONENTS)/visual-panels
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_BUILD_ENV += WS_JAVA=$(BUILD_DIR_32)/java
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_BUILD_ENV += JAVA_HOME=/usr/java
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):/usr/bin
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_BUILD_ENV += MACH32=$(MACH32)
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit Bose
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit BoseCOMPONENT_INSTALL_TARGETS = install
81165faf5d951aca69f410713730c26ff048ec44Sumit BoseCOMPONENT_INSTALL_ENV = $(COMPONENT_BUILD_ENV)
4c20fe34346919cf676c3e1b54b7701069e2aac6Simo Sorce
4c20fe34346919cf676c3e1b54b7701069e2aac6Simo SorceCOMPONENT_TEST_TARGETS = test
4c20fe34346919cf676c3e1b54b7701069e2aac6Simo SorceCOMPONENT_TEST_ENV = $(COMPONENT_BUILD_ENV)
5063dcc5ab685dce325b13b9c1e93cee2a673e60Sumit Bose
3b533d57a737e2de1b3e85b073b14d3bfb49dafcSimo Sorce# common targets
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny$(SOURCE_DIR)/.prep:
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny $(TOUCH) $@
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit Boseprep: $(SOURCE_DIR)/.prep
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zelenybuild: $(BUILD_32)
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zelenyinstall: $(INSTALL_32)
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zelenydownload::
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny @echo 'No downloads for this component'
5e60c73cb91d1659755fb5ea829837db68d46163Sumit Bose
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan ZelenyCLEAN_PATH += $(SOURCE_DIR)/.prep
84c611c1b7c04cc7735ab54d4e5f48284b79e6fbJan Zeleny
87ed72b47859e673b636c85f35b85f1546c7ed3dSimo SorceBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6a81cb8c3424dbe9f764af3738299cbbe5874a15Simo Sorce
418e6ccd116eced7ccc75aca999a4c37c67289baJakub Hrozekinclude $(WS_MAKE_RULES)/depend.mk
87ed72b47859e673b636c85f35b85f1546c7ed3dSimo Sorce