Makefile revision 3996
2058N/A#
2058N/A# CDDL HEADER START
2058N/A#
2058N/A# The contents of this file are subject to the terms of the
2058N/A# Common Development and Distribution License (the "License").
2058N/A# You may not use this file except in compliance with the License.
2058N/A#
2058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2058N/A# or http://www.opensolaris.org/os/licensing.
2058N/A# See the License for the specific language governing permissions
2058N/A# and limitations under the License.
2058N/A#
2058N/A# When distributing Covered Code, include this CDDL HEADER in each
2058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2058N/A# If applicable, add the following below this CDDL HEADER, with the
2058N/A# fields enclosed by brackets "[]" replaced with your own identifying
2058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2058N/A#
2058N/A# CDDL HEADER END
2058N/A#
3661N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2058N/A#
2058N/A
2058N/A# Because the Studio compiler generates thousands of lines of warnings.
2058N/ACOMPILER = gcc
2058N/A
2058N/Ainclude ../../make-rules/shared-macros.mk
2058N/A
2058N/ACOMPONENT_NAME= links
2058N/ACOMPONENT_VERSION= 2.9
2058N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2058N/ACOMPONENT_PROJECT_URL= http://links.twibright.com/
2058N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2058N/ACOMPONENT_ARCHIVE_HASH= \
3661N/A sha256:e2d4e193eb3147f0d745e28d37d510edb22697707e329cbe361bb79037bae332
3661N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
3778N/ACOMPONENT_BUGDB= utility/links
3778N/A
3778N/ATPNO= 21157
3778N/A
2058N/Ainclude $(WS_MAKE_RULES)/prep.mk
2058N/Ainclude $(WS_MAKE_RULES)/configure.mk
2058N/Ainclude $(WS_MAKE_RULES)/ips.mk
2058N/A
2058N/A# Needed to generate a 64-bit executable.
2058N/ACC += $(CC_BITS)
2058N/A
2058N/APATCH_LEVEL = 0
2058N/A
2058N/A# Configure in links does not understand CC, CXX, etc. Need to generate a
2058N/A# new configure for it to configure and build properly.
2058N/ACOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
2058N/A
2058N/AASLR_MODE = $(ASLR_ENABLE)
2058N/A
2058N/A# common targets
2058N/Aconfigure: $(CONFIGURE_64)
2058N/A
2058N/Abuild: $(BUILD_64)
2058N/A
2058N/Ainstall: $(INSTALL_64)
2058N/A
2058N/Atest: $(NO_TESTS)
2058N/A
2058N/A
2058N/AREQUIRED_PACKAGES += compress/bzip2
2058N/AREQUIRED_PACKAGES += compress/xz
2058N/AREQUIRED_PACKAGES += library/security/openssl
2058N/AREQUIRED_PACKAGES += library/zlib
2058N/AREQUIRED_PACKAGES += system/library