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