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