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