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