Makefile revision 1653
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User# CDDL HEADER START
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Common Development and Distribution License (the "License").
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You may not use this file except in compliance with the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# or http://www.opensolaris.org/os/licensing.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# See the License for the specific language governing permissions
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# and limitations under the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# CDDL HEADER END
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox Userinclude ../../../make-rules/shared-macros.mk
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsGMAKE = /usr/bin/make
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_NAME = visual-panels-coreadm
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_VERSION = 0.5.11
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_SRC = src
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUGDB= utility/vpanels
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinclude $(WS_MAKE_RULES)/justmake.mk
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox Userinclude $(WS_MAKE_RULES)/ips.mk
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_TARGETS = build
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += ROOT=$(BUILD_DIR)/prototype/$(MACH)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += SRC=$(WS_COMPONENTS)/visual-panels
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += WS_JAVA=$(BUILD_DIR_32)/java
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += JAVA_HOME=$(JAVA_HOME)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):/usr/bin
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += XGETTEXT=/usr/lib/intltool/gettext-tools/xgettext
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_BUILD_ENV += MACH32=$(MACH32)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_INSTALL_TARGETS = install
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_INSTALL_ENV = $(COMPONENT_BUILD_ENV)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
6f1205897504b8f50b1785975482c995888dd630Tinderbox UserCOMPONENT_TEST_TARGETS = test
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_TEST_ENV = $(COMPONENT_BUILD_ENV)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
6f1205897504b8f50b1785975482c995888dd630Tinderbox User# Do not apply the standard licence transforms for this component.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsLICENSE_TRANSFORMS =
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# common targets
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews$(SOURCE_DIR)/.prep:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews $(TOUCH) $@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsprep: $(SOURCE_DIR)/.prep
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsbuild: $(BUILD_32)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
6f1205897504b8f50b1785975482c995888dd630Tinderbox Userinstall: $(INSTALL_32)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsdownload::
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews @echo 'No downloads for this component'
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsclobber:: clean
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsclean::
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rm -f $(SOURCE_DIR)/.prep
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updaterinclude $(WS_MAKE_RULES)/depend.mk
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater