components/convmv/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 13 May 2016 17:33:30 -0700
changeset 5983 f10ab5ae99d7
parent 5797 432ac76de3b0
child 7687 1093e2a9adbd
permissions -rw-r--r--
Close of build 99.3.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
308
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
5550
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
308
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    25
BUILD_BITS= 64
308
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		convmv
5550
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    29
COMPONENT_VERSION=	2.0
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 308
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.j3e.de/linux/convmv/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 775
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
5550
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    32
    sha256:170cf675be1fca77868ff472e9340ca828b1463865a63d4f4b7b3bf4053db93f
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 308
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
308
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
5550
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    35
TPNO=			27095
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1480
diff changeset
    36
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    37
BUILD_STYLE= justmake
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    38
include $(WS_MAKE_RULES)/common.mk
308
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
PATCH_LEVEL=0
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
5550
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    42
COMPONENT_TEST_TRANSFORMS += \
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    43
	'-e "s/ in [0-9][0-9]*\.*[0-9]* seconds.//" ' \
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    44
	'-e "/^unimplemented function: utime.*$$/d" '
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    45
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    46
COMPONENT_TEST_TARGETS=		test
5017
44d0e60f5210 22111917 hook up convmv system-test target
Michael Nestler <Michael.Nestler@Oracle.COM>
parents: 4746
diff changeset
    47
COMPONENT_SYSTEM_TEST_TARGETS=	test
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    48
COMPONENT_SYSTEM_TEST_ENV=	CONVMV=$(USRBINDIR)/convmv
308
35685f1e88a1 7054848 Move convmv to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    50
# Adjust '#!/usr/bin/perl'
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    51
PERL_SCRIPTS = \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    52
	$(PROTOUSRBINDIR)/convmv
5550
ffe5f5eac3f7 22853197 Update convmv to version 2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5017
diff changeset
    53
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    54
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    55
5017
44d0e60f5210 22111917 hook up convmv system-test target
Michael Nestler <Michael.Nestler@Oracle.COM>
parents: 4746
diff changeset
    56
system-test:    $(SYSTEM_TEST_64)
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    57
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5550
diff changeset
    58
REQUIRED_PACKAGES += $(PERL_PKG)