Makefile revision 3996
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# CDDL HEADER START
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# The contents of this file are subject to the terms of the
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# Common Development and Distribution License (the "License").
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# You may not use this file except in compliance with the License.
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# or http://www.opensolaris.org/os/licensing.
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# See the License for the specific language governing permissions
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# and limitations under the License.
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# When distributing Covered Code, include this CDDL HEADER in each
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# If applicable, add the following below this CDDL HEADER, with the
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# fields enclosed by brackets "[]" replaced with your own identifying
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# information: Portions Copyright [yyyy] [name of copyright owner]
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# CDDL HEADER END
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
c1208b485924964a7a4fcf19562964acb47fc214Justin Stephenson#
c71e0a6710418991d759a329b8dcb77c7ad3e16eJakub Hrozek
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensoninclude ../../../make-rules/shared-macros.mk
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonGMAKE = /usr/bin/make
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_NAME = visual-panels-sysmon
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_VERSION = 0.5.11
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_SRC = src
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUGDB= utility/vpanels
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensoninclude $(WS_MAKE_RULES)/justmake.mk
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensoninclude $(WS_MAKE_RULES)/ips.mk
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_TARGETS = build
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += ROOT=$(BUILD_DIR)/prototype/$(MACH)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += SRC=$(WS_COMPONENTS)/visual-panels
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += WS_JAVA=$(BUILD_DIR_32)/java
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += JAVA_HOME=$(JAVA_HOME)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):/usr/bin
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += XGETTEXT=/usr/lib/intltool/gettext-tools/xgettext
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_BUILD_ENV += MACH32=$(MACH32)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_INSTALL_TARGETS = install
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_INSTALL_ENV = $(COMPONENT_BUILD_ENV)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_TEST_TARGETS = test
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonCOMPONENT_TEST_ENV = $(COMPONENT_BUILD_ENV)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson# Do not apply the standard licence transforms for this component.
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonLICENSE_TRANSFORMS =
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson# common targets
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson$(SOURCE_DIR)/.prep:
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson $(TOUCH) $@
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensonprep: $(SOURCE_DIR)/.prep
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensonbuild: $(BUILD_32)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensoninstall: $(INSTALL_32)
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensondownload::
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson @echo 'No downloads for this component'
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensonclobber:: clean
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephensonclean::
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson rm -f $(SOURCE_DIR)/.prep
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin StephensonREQUIRED_PACKAGES += system/management/visual-panels-core
0d6d493f68bb83a046d351cb3035b08ef5456b50Justin Stephenson