Makefile revision 1273
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# CDDL HEADER START
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# The contents of this file are subject to the terms of the
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# Common Development and Distribution License (the "License").
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# You may not use this file except in compliance with the License.
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# or http://www.opensolaris.org/os/licensing.
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# See the License for the specific language governing permissions
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# and limitations under the License.
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# When distributing Covered Code, include this CDDL HEADER in each
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# If applicable, add the following below this CDDL HEADER, with the
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# fields enclosed by brackets "[]" replaced with your own identifying
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# information: Portions Copyright [yyyy] [name of copyright owner]
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# CDDL HEADER END
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift#
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftinclude ../../../make-rules/shared-macros.mk
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftGMAKE = /usr/bin/make
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_NAME = visual-panels-sysmon
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_VERSION = 0.5.11
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_SRC = src
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUGDB= utility/vpanels
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftinclude $(WS_MAKE_RULES)/justmake.mk
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftinclude $(WS_MAKE_RULES)/ips.mk
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
b82b624a592fcc700d8c3f754f3b010b00478b03Gaetan BoismalCOMPONENT_BUILD_TARGETS = build
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += ROOT=$(BUILD_DIR)/prototype/$(MACH)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += SRC=$(WS_COMPONENTS)/visual-panels
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += WS_JAVA=$(BUILD_DIR_32)/java
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += JAVA_HOME=/usr/java
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):/usr/bin
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += XGETTEXT=/usr/lib/intltool/gettext-tools/xgettext
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_BUILD_ENV += MACH32=$(MACH32)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_INSTALL_TARGETS = install
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_INSTALL_ENV = $(COMPONENT_BUILD_ENV)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_TEST_TARGETS = test
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftCOMPONENT_TEST_ENV = $(COMPONENT_BUILD_ENV)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift# common targets
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift$(SOURCE_DIR)/.prep:
b82b624a592fcc700d8c3f754f3b010b00478b03Gaetan Boismal $(TOUCH) $@
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftprep: $(SOURCE_DIR)/.prep
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftbuild: $(BUILD_32)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftinstall: $(INSTALL_32)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftdownload::
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift @echo 'No downloads for this component'
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftclobber:: clean
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftclean::
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift rm -f $(SOURCE_DIR)/.prep
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew SwiftBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swiftinclude $(WS_MAKE_RULES)/depend.mk
e63111a01d736eded8a5910a1d72f632b32e1fb8Matthew Swift