components/rpm2cpio/Makefile
changeset 307 c12c36cb5349
child 609 775168282b2f
equal deleted inserted replaced
306:9da68c8821e3 307:c12c36cb5349
       
     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, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include ../../make-rules/shared-macros.mk
       
    27 
       
    28 # The version of rpm2cpio.pl delivered in SFW does not seem to be
       
    29 # available for download anymore, so it is exceptionally delivered in
       
    30 # the Userland gate itself.
       
    31 #
       
    32 COMPONENT_NAME=		rpm2cpio
       
    33 COMPONENT_VERSION=	0.5.11
       
    34 COMPONENT_SRC=		src
       
    35 
       
    36 include ../../make-rules/prep.mk
       
    37 
       
    38 # Do not clean the sources (set in prep.mk)
       
    39 #
       
    40 CLEAN_PATHS=
       
    41 
       
    42 include ../../make-rules/ips.mk
       
    43 
       
    44 CLEAN_PATHS+= $(BUILD_DIR)
       
    45 
       
    46 # Common targets
       
    47 #
       
    48 build:
       
    49 	# Just create the build directory, which is needed for publishing.
       
    50 	# There is nothing to actually build.
       
    51 	#
       
    52 	$(RM) -r $(BUILD_DIR) ; $(MKDIR) $(BUILD_DIR)
       
    53 
       
    54 install:
       
    55 	@echo "Nothing to install."
       
    56 
       
    57 test: $(NO_TESTS)
       
    58 
       
    59 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    60 
       
    61 include ../../make-rules/depend.mk