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