Makefile revision 844
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# CDDL HEADER START
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# The contents of this file are subject to the terms of the
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# Common Development and Distribution License (the "License").
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# You may not use this file except in compliance with the License.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# or http://www.opensolaris.org/os/licensing.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# See the License for the specific language governing permissions
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# and limitations under the License.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# When distributing Covered Code, include this CDDL HEADER in each
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# If applicable, add the following below this CDDL HEADER, with the
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# fields enclosed by brackets "[]" replaced with your own identifying
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# information: Portions Copyright [yyyy] [name of copyright owner]
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# CDDL HEADER END
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ef810481f5eb2766fde0b986a5cc522009cd774aRenee Danson Sommerfeld#
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckinclude ../../make-rules/shared-macros.mk
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck
6e91bba0d6c6bdabbba62cefae583715a4a58e2aGirish MoodalbailCOMPONENT_NAME= links
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_VERSION= 1.03
6e91bba0d6c6bdabbba62cefae583715a4a58e2aGirish MoodalbailIPS_COMPONENT_VERSION= 1.0.3
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_PROJECT_URL= http://jikos.cz/~mikulas/links/
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_ARCHIVE_HASH= \
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck sha256:32443c6f011216a8a43ed0806d9d23c1defdd19bc4b021ee00cda197782e175a
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_ARCHIVE_URL= http://www.jikos.cz/~mikulas/$(COMPONENT_NAME)/download/$(COMPONENT_ARCHIVE)
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckinclude ../../make-rules/prep.mk
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckinclude ../../make-rules/configure.mk
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckinclude ../../make-rules/ips.mk
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# Configure in links does not understand CC, CXX, etc. Need to generate a
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# new configure for it to configure and build properly.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeckCOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck
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