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