Makefile revision 109
3993N/A#
6288N/A# CDDL HEADER START
3993N/A#
6288N/A# The contents of this file are subject to the terms of the
3993N/A# Common Development and Distribution License (the "License").
6288N/A# You may not use this file except in compliance with the License.
3993N/A#
6288N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3993N/A# or http://www.opensolaris.org/os/licensing.
5072N/A# See the License for the specific language governing permissions
3993N/A# and limitations under the License.
5072N/A#
3993N/A# When distributing Covered Code, include this CDDL HEADER in each
6288N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3993N/A# If applicable, add the following below this CDDL HEADER, with the
3993N/A# fields enclosed by brackets "[]" replaced with your own identifying
3993N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3993N/A#
5072N/A# CDDL HEADER END
3993N/A#
6288N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3993N/A#
6288N/Ainclude ../../make-rules/shared-macros.mk
3993N/A
6288N/ACOMPONENT_NAME= wget
5072N/ACOMPONENT_VERSION= 1.12
3993N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6288N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6288N/ACOMPONENT_ARCHIVE_HASH= sha1:1a059b3736ef908b68acac91670f9df576d1a061
5072N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/wget/$(COMPONENT_ARCHIVE)
5072N/A
3993N/Ainclude ../../make-rules/prep.mk
3993N/Ainclude ../../make-rules/configure.mk
3993N/Ainclude ../../make-rules/ips.mk
6288N/A
3993N/A# Set PATH to find /usr/perl5/bin/pod2man, so that the man page wget.1
5072N/A# can be automatically generated
3993N/A
3993N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
3993N/ACONFIGURE_OPTIONS += --with-ssl
3993N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5072N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5072N/ACONFIGURE_OPTIONS += PATH="$(PATH):/usr/perl5/bin"
5072N/A
5072N/ASFWPROGS = wget
3993N/A
5072N/Ainclude ../../make-rules/shared-targets.mk
3993N/A
5072N/Abuild: $(BUILD_32)
5072N/A
5072N/Ainstall: $(INSTALL_32) $(PROTOSFWLINKS)
3993N/A
3993N/Atest: build
3993N/A @cd $(BUILD_DIR_32); $(MAKE) check
3993N/A
3993N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3993N/A
3993N/Ainclude ../../make-rules/depend.mk
3993N/A