Makefile revision 5636
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp#
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# CDDL HEADER START
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp#
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# The contents of this file are subject to the terms of the
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# Common Development and Distribution License (the "License").
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# You may not use this file except in compliance with the License.
4ef2f7e4cb7c7d255be077c47d542199f7bf8607Tripp#
a89ad754cce3cfc8aee71760e10217b54020360dTripp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a89ad754cce3cfc8aee71760e10217b54020360dTripp# or http://www.opensolaris.org/os/licensing.
a89ad754cce3cfc8aee71760e10217b54020360dTripp# See the License for the specific language governing permissions
a89ad754cce3cfc8aee71760e10217b54020360dTripp# and limitations under the License.
a89ad754cce3cfc8aee71760e10217b54020360dTripp#
a89ad754cce3cfc8aee71760e10217b54020360dTripp# When distributing Covered Code, include this CDDL HEADER in each
a89ad754cce3cfc8aee71760e10217b54020360dTripp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# If applicable, add the following below this CDDL HEADER, with the
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# fields enclosed by brackets "[]" replaced with your own identifying
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# information: Portions Copyright [yyyy] [name of copyright owner]
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp#
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# CDDL HEADER END
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp#
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp#
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp#
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippinclude ../../make-rules/shared-macros.mk
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_NAME= convmv
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_VERSION= 2.0
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_PROJECT_URL= http://www.j3e.de/linux/convmv/
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_ARCHIVE_HASH= \
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp sha256:170cf675be1fca77868ff472e9340ca828b1463865a63d4f4b7b3bf4053db93f
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_BUGDB= utility/convmv
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippTPNO= 27095
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippinclude $(WS_MAKE_RULES)/prep.mk
a89ad754cce3cfc8aee71760e10217b54020360dTrippinclude $(WS_MAKE_RULES)/justmake.mk
a89ad754cce3cfc8aee71760e10217b54020360dTrippinclude $(WS_MAKE_RULES)/ips.mk
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippPATCH_LEVEL=0
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippCOMPONENT_TEST_TRANSFORMS += \
a89ad754cce3cfc8aee71760e10217b54020360dTripp '-e "s/ in [0-9][0-9]*\.*[0-9]* seconds.//" ' \
a89ad754cce3cfc8aee71760e10217b54020360dTripp '-e "/^unimplemented function: utime.*$$/d" '
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippCOMPONENT_TEST_TARGETS= test
a89ad754cce3cfc8aee71760e10217b54020360dTrippCOMPONENT_SYSTEM_TEST_TARGETS= test
a89ad754cce3cfc8aee71760e10217b54020360dTrippCOMPONENT_SYSTEM_TEST_ENV= CONVMV=/usr/bin/convmv
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTripp# Adjust the '#!/usr/bin/perl' at the beginning of the convmv script to use
a89ad754cce3cfc8aee71760e10217b54020360dTripp# '#!/usr/perl5/$(PERL_VERSION)/bin/perl'
a89ad754cce3cfc8aee71760e10217b54020360dTrippCOMPONENT_POST_INSTALL_ACTION += \
a89ad754cce3cfc8aee71760e10217b54020360dTripp $(GSED) -i -e 's?/usr/bin/perl?$(PERL)?' \
7947db4b7d8682ea81598e3a4283e659a8103be6Tripp $(PROTOUSRBINDIR)/convmv;
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippASLR_MODE = $(ASLR_NOT_APPLICABLE)
a89ad754cce3cfc8aee71760e10217b54020360dTripp
7947db4b7d8682ea81598e3a4283e659a8103be6Trippbuild: $(BUILD_64)
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippinstall: $(INSTALL_64)
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTripptest: $(TEST_64)
7947db4b7d8682ea81598e3a4283e659a8103be6Tripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippsystem-test: $(SYSTEM_TEST_64)
a89ad754cce3cfc8aee71760e10217b54020360dTripp
a89ad754cce3cfc8aee71760e10217b54020360dTrippREQUIRED_PACKAGES += $(PERL_PKG)
a89ad754cce3cfc8aee71760e10217b54020360dTripp