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