Makefile revision 188
325N/A#
325N/A# CDDL HEADER START
325N/A#
325N/A# The contents of this file are subject to the terms of the
761N/A# Common Development and Distribution License (the "License").
761N/A# You may not use this file except in compliance with the License.
325N/A#
325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
325N/A# or http://www.opensolaris.org/os/licensing.
325N/A# See the License for the specific language governing permissions
325N/A# and limitations under the License.
325N/A#
325N/A# When distributing Covered Code, include this CDDL HEADER in each
325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
325N/A# If applicable, add the following below this CDDL HEADER, with the
325N/A# fields enclosed by brackets "[]" replaced with your own identifying
325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
325N/A#
325N/A# CDDL HEADER END
325N/A
325N/A#
325N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
325N/A#
325N/A
325N/Ainclude ../../make-rules/shared-macros.mk
325N/A
325N/ACOMPONENT_NAME= unzip
325N/ACOMPONENT_VERSION= 6.0
325N/ACOMPONENT_SRC= $(COMPONENT_NAME)60
325N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
325N/ACOMPONENT_ARCHIVE_HASH= sha1:abf7de8a4018a983590ed6f5cbd990d4740f8a22
325N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.info-zip.org/pub/infozip/src/$(COMPONENT_ARCHIVE)
761N/ACOMPONENT_PROJECT_URL=http://www.info-zip.org/UnZip.html
325N/A
325N/Ainclude ../../make-rules/prep.mk
325N/Ainclude ../../make-rules/justmake.mk
493N/Ainclude ../../make-rules/ips.mk
325N/A
325N/A# remove the unwanted file.
761N/ACOMPONENT_PREP_ACTION = $(RM) $(SOURCE_DIR)/crc_i386.S
325N/A
325N/ATARGET_ENV += "LOCAL_UNZIP=-DUNICODE_SUPPORT"
761N/A
325N/A# The Makefile we want is under unix/Makefile
325N/ACOMPONENT_BUILD_ARGS += -f unix/Makefile
325N/ACOMPONENT_BUILD_TARGETS += generic
325N/ACOMPONENT_INSTALL_ARGS += -f unix/Makefile
325N/A
325N/A# This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
325N/ACOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
493N/ACOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
493N/A
325N/A# common targets
325N/A
325N/Abuild: $(BUILD_32)
493N/A
325N/Ainstall: $(INSTALL_32)
761N/A
761N/Atest: $(NO_TESTS)
325N/A
325N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
493N/A
325N/Ainclude ../../make-rules/depend.mk
493N/A