Makefile revision 1653
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License (the "License").
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may not use this file except in compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# or http://www.opensolaris.org/os/licensing.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# and limitations under the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# When distributing Covered Code, include this CDDL HEADER in each
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# If applicable, add the following below this CDDL HEADER, with the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# fields enclosed by brackets "[]" replaced with your own identifying
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# information: Portions Copyright [yyyy] [name of copyright owner]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER END
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../../../make-rules/shared-macros.mk
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweGMAKE = /usr/bin/make
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_NAME = visual-panels-usermgr
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_VERSION = 0.5.11
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_SRC = src
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUGDB= utility/vpanels
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude $(WS_MAKE_RULES)/justmake.mk
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude $(WS_MAKE_RULES)/ips.mk
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_TARGETS = build
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += ROOT=$(BUILD_DIR)/prototype/$(MACH)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += SRC=$(WS_COMPONENTS)/visual-panels
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += WS_JAVA=$(BUILD_DIR_32)/java
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += JAVA_HOME=$(JAVA_HOME)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):/usr/bin
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += XGETTEXT=/usr/lib/intltool/gettext-tools/xgettext
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_BUILD_ENV += MACH32=$(MACH32)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_INSTALL_TARGETS = install
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_INSTALL_ENV = $(COMPONENT_BUILD_ENV)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_TEST_TARGETS = test
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMPONENT_TEST_ENV = $(COMPONENT_BUILD_ENV)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Do not apply the standard licence transforms for this component.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweLICENSE_TRANSFORMS =
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# common targets
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(SOURCE_DIR)/.prep:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(TOUCH) $@
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweprep: $(SOURCE_DIR)/.prep
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowebuild: $(BUILD_32)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinstall: $(INSTALL_32)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowedownload::
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe @echo 'No downloads for this component'
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweclobber:: clean
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweclean::
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rm -f $(SOURCE_DIR)/.prep
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude $(WS_MAKE_RULES)/depend.mk
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe