Makefile revision 3562
380N/A#
380N/A# CDDL HEADER START
380N/A#
380N/A# The contents of this file are subject to the terms of the
380N/A# Common Development and Distribution License (the "License").
380N/A# You may not use this file except in compliance with the License.
380N/A#
380N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
380N/A# or http://www.opensolaris.org/os/licensing.
380N/A# See the License for the specific language governing permissions
380N/A# and limitations under the License.
380N/A#
380N/A# When distributing Covered Code, include this CDDL HEADER in each
380N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
380N/A# If applicable, add the following below this CDDL HEADER, with the
380N/A# fields enclosed by brackets "[]" replaced with your own identifying
380N/A# information: Portions Copyright [yyyy] [name of copyright owner]
380N/A#
380N/A# CDDL HEADER END
380N/A#
816N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
380N/A#
380N/Ainclude ../../make-rules/shared-macros.mk
380N/A
380N/ACOMPONENT_NAME= links
816N/ACOMPONENT_VERSION= 1.03
816N/AIPS_COMPONENT_VERSION= 1.0.3
380N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
380N/ACOMPONENT_PROJECT_URL= http://jikos.cz/~mikulas/links/
380N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:32443c6f011216a8a43ed0806d9d23c1defdd19bc4b021ee00cda197782e175a
380N/ACOMPONENT_ARCHIVE_URL= http://www.jikos.cz/~mikulas/$(COMPONENT_NAME)/download/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/links
380N/A
380N/Ainclude ../../make-rules/prep.mk
380N/Ainclude ../../make-rules/configure.mk
380N/Ainclude ../../make-rules/ips.mk
380N/A
380N/A# Configure in links does not understand CC, CXX, etc. Need to generate a
380N/A# new configure for it to configure and build properly.
380N/ACOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
380N/A
380N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -xstrconst -Dinline"
380N/A
380N/A# common targets
380N/Abuild: $(BUILD_32)
380N/A
380N/Ainstall: $(INSTALL_32)
380N/A
380N/Atest: $(NO_TESTS)
380N/A
380N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
380N/A
380N/Ainclude ../../make-rules/depend.mk