Makefile revision 3620
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater# CDDL HEADER START
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# The contents of this file are subject to the terms of the
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# Common Development and Distribution License (the "License").
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# You may not use this file except in compliance with the License.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# or http://www.opensolaris.org/os/licensing.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# See the License for the specific language governing permissions
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# and limitations under the License.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# When distributing Covered Code, include this CDDL HEADER in each
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# If applicable, add the following below this CDDL HEADER, with the
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# CDDL HEADER END
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupontinclude ../../make-rules/shared-macros.mk
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_NAME= links
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_VERSION= 2.9
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_PROJECT_URL= http://links.twibright.com/
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_ARCHIVE_HASH= \
a3416b0a1b5482b6df32839445ca98c016945570Automatic Updater sha256:e2d4e193eb3147f0d745e28d37d510edb22697707e329cbe361bb79037bae332
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_BUGDB= utility/links
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontTPNO= 21157
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupontinclude ../../make-rules/prep.mk
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupontinclude ../../make-rules/configure.mk
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupontinclude ../../make-rules/ips.mk
c7d32c0b0ff4c01f0d4479af3410d3c06044d48aAutomatic Updater
c7d32c0b0ff4c01f0d4479af3410d3c06044d48aAutomatic Updater# Because the Studio compiler generates thousands of lines of warnings.
c7d32c0b0ff4c01f0d4479af3410d3c06044d48aAutomatic UpdaterCOMPILER = gcc
c7d32c0b0ff4c01f0d4479af3410d3c06044d48aAutomatic Updater
c7d32c0b0ff4c01f0d4479af3410d3c06044d48aAutomatic Updater# Configure in links does not understand CC, CXX, etc. Need to generate a
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# new configure for it to configure and build properly.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontASLR_MODE = $(ASLR_ENABLE)
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# common targets
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupontconfigure: $(CONFIGURE_64)
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updaterbuild: $(BUILD_64)
0e9e255d1643375056aa9ed7fe2a279713ffae78Automatic Updater
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updaterinstall: $(INSTALL_64)
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont
2a6d4c9948b3f4f31311bd799d114585a30419a9Automatic Updatertest: $(NO_TESTS)
2a6d4c9948b3f4f31311bd799d114585a30419a9Automatic Updater
2a6d4c9948b3f4f31311bd799d114585a30419a9Automatic UpdaterBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updaterinclude ../../make-rules/depend.mk
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater