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#
3751N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
380N/A#
3996N/A
3996N/A# Because the Studio compiler generates thousands of lines of warnings.
3996N/ACOMPILER = gcc
3996N/A
380N/Ainclude ../../make-rules/shared-macros.mk
380N/A
380N/ACOMPONENT_NAME= links
3751N/ACOMPONENT_VERSION= 2.9
380N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3751N/ACOMPONENT_PROJECT_URL= http://links.twibright.com/
380N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
3751N/A sha256:e2d4e193eb3147f0d745e28d37d510edb22697707e329cbe361bb79037bae332
3751N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/links
380N/A
3751N/ATPNO= 21157
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3751N/A
3751N/A# Needed to generate a 64-bit executable.
3751N/ACC += $(CC_BITS)
3751N/A
3751N/APATCH_LEVEL = 0
3751N/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.
3751N/ACOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
380N/A
3751N/AASLR_MODE = $(ASLR_ENABLE)
380N/A
380N/A# common targets
3751N/Aconfigure: $(CONFIGURE_64)
3751N/A
3751N/Abuild: $(BUILD_64)
380N/A
3751N/Ainstall: $(INSTALL_64)
380N/A
3751N/Atest: $(NO_TESTS)
380N/A
380N/A
3996N/AREQUIRED_PACKAGES += compress/bzip2
3996N/AREQUIRED_PACKAGES += compress/xz
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += system/library