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