Makefile revision 3661
d67d8d3162b0d9cac99842fc7da74e8371453046vboxsync#
d67d8d3162b0d9cac99842fc7da74e8371453046vboxsync# CDDL HEADER START
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync#
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# The contents of this file are subject to the terms of the
d67d8d3162b0d9cac99842fc7da74e8371453046vboxsync# Common Development and Distribution License (the "License").
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# You may not use this file except in compliance with the License.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync#
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# or http://www.opensolaris.org/os/licensing.
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# See the License for the specific language governing permissions
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# and limitations under the License.
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync#
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# When distributing Covered Code, include this CDDL HEADER in each
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# If applicable, add the following below this CDDL HEADER, with the
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync#
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# CDDL HEADER END
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync#
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync#
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncinclude ../../make-rules/shared-macros.mk
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_NAME= links
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_VERSION= 1.03
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncIPS_COMPONENT_VERSION= 1.0.3
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_PROJECT_URL= http://jikos.cz/~mikulas/links/
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_ARCHIVE_HASH= \
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync sha256:32443c6f011216a8a43ed0806d9d23c1defdd19bc4b021ee00cda197782e175a
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_ARCHIVE_URL= http://www.jikos.cz/~mikulas/$(COMPONENT_NAME)/download/$(COMPONENT_ARCHIVE)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_BUGDB= utility/links
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncTPNO= 9049
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncinclude ../../make-rules/prep.mk
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncinclude ../../make-rules/configure.mk
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncinclude ../../make-rules/ips.mk
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# Configure in links does not understand CC, CXX, etc. Need to generate a
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# new configure for it to configure and build properly.
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -xstrconst -Dinline"
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync# common targets
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncbuild: $(BUILD_32)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncinstall: $(INSTALL_32)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsynctest: $(NO_TESTS)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsyncinclude ../../make-rules/depend.mk
37136b5ecb07042e5ba50f86849a79d1cba5d5f1vboxsync