components/visual-panels/core/Makefile
changeset 3553 f1d133b09a8c
parent 3552 077ebe3d0d24
child 3554 ef58713bafc4
equal deleted inserted replaced
3552:077ebe3d0d24 3553:f1d133b09a8c
     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 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 include ../../../make-rules/shared-macros.mk
       
    25 
       
    26 GMAKE =				/usr/bin/make
       
    27 
       
    28 COMPONENT_NAME =		visual-panels-core
       
    29 COMPONENT_VERSION =		0.5.11
       
    30 COMPONENT_SRC =			src
       
    31 COMPONENT_BUGDB=		utility/vpanels
       
    32 
       
    33 include $(WS_MAKE_RULES)/justmake.mk
       
    34 include $(WS_MAKE_RULES)/ips.mk
       
    35 
       
    36 COMPONENT_BUILD_TARGETS = 	build
       
    37 COMPONENT_BUILD_ENV +=		ROOT=$(PROTO_DIR)
       
    38 COMPONENT_BUILD_ENV +=		SRC=$(WS_COMPONENTS)/visual-panels
       
    39 COMPONENT_BUILD_ENV +=		WS_JAVA=$(BUILD_DIR_32)/java
       
    40 COMPONENT_BUILD_ENV +=		JAVA_HOME=$(JAVA_HOME)
       
    41 COMPONENT_BUILD_ENV +=		PATH=$(dir $(CC)):/usr/bin
       
    42 COMPONENT_BUILD_ENV +=		MACH32=$(MACH32)
       
    43 
       
    44 COMPONENT_INSTALL_TARGETS =	install
       
    45 COMPONENT_INSTALL_ENV =		$(COMPONENT_BUILD_ENV)
       
    46 
       
    47 COMPONENT_TEST_TARGETS =  	test
       
    48 COMPONENT_TEST_ENV =	  	$(COMPONENT_BUILD_ENV)
       
    49 
       
    50 # Do not apply the standard licence transforms for this component.
       
    51 LICENSE_TRANSFORMS =
       
    52 
       
    53 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
       
    54 
       
    55 # common targets
       
    56 $(SOURCE_DIR)/.prep:
       
    57 	$(TOUCH) $@
       
    58 
       
    59 prep:				$(SOURCE_DIR)/.prep
       
    60 
       
    61 build:				$(BUILD_32)
       
    62 
       
    63 install:			$(INSTALL_32)
       
    64 
       
    65 download::
       
    66 	@echo 'No downloads for this component'
       
    67 
       
    68 clobber::	clean
       
    69 
       
    70 clean::
       
    71 	rm -f $(SOURCE_DIR)/.prep
       
    72 
       
    73 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    74 
       
    75 include $(WS_MAKE_RULES)/depend.mk