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