Makefile revision 5680
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
10139N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
17185N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
17180N/A# and limitations under the License.
17180N/A#
17180N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19112N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
16253N/A#
10139N/A# CDDL HEADER END
10139N/A#
18616N/A
10139N/A#
13315N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
12773N/A#
12773N/ABUILD_BITS= 64
12773N/Ainclude ../../make-rules/shared-macros.mk
13315N/A
10139N/ACOMPONENT_NAME= unzip
10139N/ACOMPONENT_VERSION= 6.0
10139N/ACOMPONENT_SRC= $(COMPONENT_NAME)60
10139N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
10139N/ACOMPONENT_ARCHIVE_HASH= \
10139N/A sha256:036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
10139N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.info-zip.org/pub/infozip/src/$(COMPONENT_ARCHIVE)
10139N/ACOMPONENT_PROJECT_URL=http://www.info-zip.org/UnZip.html
10139N/ACOMPONENT_BUGDB= utility/zip
10139N/A
10139N/ATPNO= 16388
10139N/A
10139N/ABUILD_STYLE= justmake
10139N/ATEST_TARGET= $(NO_TESTS)
10139N/Ainclude $(WS_MAKE_RULES)/common.mk
10139N/A
10139N/A# remove the unwanted file.
10139N/ACOMPONENT_PREP_ACTION = $(RM) $(SOURCE_DIR)/crc_i386.S
10139N/A
10139N/ACOMPONENT_BUILD_ENV += \
10139N/A "LOCAL_UNZIP=-DUNICODE_SUPPORT -DNO_WORKING_ISPRINT -DUNICODE_WCHAR"
10139N/A
10139N/A# The Makefile we want is under unix/Makefile
10139N/ACOMPONENT_BUILD_ARGS += -f unix/Makefile
10139N/ACC += $(CC_BITS)
10139N/ACOMPONENT_BUILD_TARGETS += generic CC="$(CC)"
10139N/ACOMPONENT_INSTALL_ARGS += -f unix/Makefile
10139N/A
10139N/A# This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
15336N/ACOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
12773N/ACOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
12773N/A
12773N/AREQUIRED_PACKAGES += shell/ksh93
12773N/A