components/visual-panels/usermgr/Makefile
changeset 827 0944d8c0158b
child 831 9a41c3b678fa
equal deleted inserted replaced
826:c6aad84d2493 827:0944d8c0158b
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include ../../../make-rules/shared-macros.mk
       
    27 
       
    28 GMAKE =				/usr/bin/make
       
    29 
       
    30 COMPONENT_NAME =		visual-panels-usermgr
       
    31 COMPONENT_VERSION =		0.5.11
       
    32 COMPONENT_SRC =			src
       
    33 
       
    34 include $(WS_MAKE_RULES)/justmake.mk
       
    35 include $(WS_MAKE_RULES)/ips.mk
       
    36 
       
    37 COMPONENT_BUILD_TARGETS = 	build
       
    38 COMPONENT_BUILD_ENV +=		ROOT=$(BUILD_DIR)/prototype/$(MACH)
       
    39 COMPONENT_BUILD_ENV +=		SRC=$(WS_COMPONENTS)/visual-panels
       
    40 COMPONENT_BUILD_ENV +=		WS_JAVA=$(BUILD_DIR_32)/java
       
    41 COMPONENT_BUILD_ENV +=		JAVA_HOME=/usr/java
       
    42 COMPONENT_BUILD_ENV +=		PATH=$(dir $(CC)):/usr/bin
       
    43 COMPONENT_BUILD_ENV +=		MACH32=$(MACH32)
       
    44 
       
    45 COMPONENT_INSTALL_TARGETS =	install
       
    46 COMPONENT_INSTALL_ENV =		$(COMPONENT_BUILD_ENV)
       
    47 
       
    48 COMPONENT_TEST_TARGETS =  	test
       
    49 COMPONENT_TEST_ENV =	  	$(COMPONENT_BUILD_ENV)
       
    50 
       
    51 # common targets
       
    52 $(SOURCE_DIR)/.prep:
       
    53 	$(TOUCH) $@
       
    54 
       
    55 prep:				$(SOURCE_DIR)/.prep
       
    56 
       
    57 build:				$(BUILD_32)
       
    58 
       
    59 install:			$(INSTALL_32)
       
    60 
       
    61 CLEAN_PATH +=			$(SOURCE_DIR)/.prep
       
    62 
       
    63 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    64 
       
    65 include $(WS_MAKE_RULES)/depend.mk