Makefile revision 3817
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#
3817N/A# Copyright (c) 2011, 2015, 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)
1258N/ACOMPONENT_BUGDB= utility/zip
132N/A
2899N/ATPNO= 17905
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/justmake.mk
3817N/Ainclude $(WS_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
2483N/ACC += $(CC_BITS)
2483N/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
2343N/A# Enable ASLR for this component
2343N/AASLR_MODE = $(ASLR_ENABLE)
2343N/A
132N/A# common targets
2343N/Abuild: $(BUILD_64)
132N/A
2343N/Ainstall: $(INSTALL_64)
132N/A
181N/Atest: $(NO_TESTS)
132N/A
132N/A
3817N/AREQUIRED_PACKAGES += compress/bzip2
3817N/AREQUIRED_PACKAGES += system/library