components/rpm2cpio/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 2434 6c9bb5cf5610
child 1434 c782e620dd26
child 3661 47545fb8aed4
child 4525 27c45fc09026
permissions -rw-r--r--
Close of build 10.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
307
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     1
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     3
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     7
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    12
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    18
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    20
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    21
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    22
#
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 609
diff changeset
    23
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
307
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    24
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    25
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    27
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    28
# The version of rpm2cpio.pl delivered in SFW does not seem to be
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    29
# available for download anymore, so it is exceptionally delivered in
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    30
# the Userland gate itself.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    31
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    32
COMPONENT_NAME=		rpm2cpio
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    33
COMPONENT_VERSION=	0.5.11
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 307
diff changeset
    34
COMPONENT_PROJECT_URL=	http://www.iagora.com/~espel/rpm2cpio/
307
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    35
COMPONENT_SRC=		src
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 609
diff changeset
    36
COMPONENT_BUGDB=	utility/rpm
307
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    37
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    38
include ../../make-rules/prep.mk
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    39
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    40
# Do not clean the sources (set in prep.mk)
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    41
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    42
CLEAN_PATHS=
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    43
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    44
include ../../make-rules/ips.mk
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    45
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    46
CLEAN_PATHS+= $(BUILD_DIR)
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    47
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    48
# Common targets
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    49
#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    50
build:
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    51
	# Just create the build directory, which is needed for publishing.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    52
	# There is nothing to actually build.
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    53
	#
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    54
	$(RM) -r $(BUILD_DIR) ; $(MKDIR) $(BUILD_DIR)
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    55
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    56
install:
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    57
	@echo "Nothing to install."
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    58
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    59
test: $(NO_TESTS)
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    60
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    61
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    62
c12c36cb5349 7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    63
include ../../make-rules/depend.mk