Makefile revision 3680
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley#
5fbced719b71e659322b4ce3e4a39c9b039674c7Bob Halley# CDDL HEADER START
43d2e7a90517587f4549a58af1b450e476eab8f6Tinderbox User#
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
15a44745412679c30a6d022733925af70a38b715David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson# See the License for the specific language governing permissions
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson# and limitations under the License.
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson#
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrence# When distributing Covered Code, include this CDDL HEADER in each
2da2220fe7af2c45724b50b0187523b1fab0cf08Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2da2220fe7af2c45724b50b0187523b1fab0cf08Rob Austein# If applicable, add the following below this CDDL HEADER, with the
2da2220fe7af2c45724b50b0187523b1fab0cf08Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
2da2220fe7af2c45724b50b0187523b1fab0cf08Rob Austein# information: Portions Copyright [yyyy] [name of copyright owner]
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson#
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson# CDDL HEADER END
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrence#
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrence# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
cb3e854e181373807f7f011e5050c1a8013b4841Brian Wellington#
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrenceinclude ../../make-rules/shared-macros.mk
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrence
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid LawrenceCOMPONENT_NAME= lynx
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonCOMPONENT_VERSION= 2.8.7
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonCOMPONENT_PROJECT_URL= http://lynx.isc.org/
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)2-8-7
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonCOMPONENT_ARCHIVE_HASH= \
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas Gustafsson sha256:301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_NAME)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
6ca4964362ec37d6afbf614dbb9aaa2f525002f1Mark AndrewsCOMPONENT_BUGDB= utility/lynx
c968a9ca37964ae0bdc5d452ad784ec93bd04c57David Lawrence
5a6e6c2c9b2f6cf426aa2a682aa800765e26d540Andreas GustafssonTPNO= 9373
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrence
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrenceinclude ../../make-rules/prep.mk
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrenceinclude ../../make-rules/configure.mk
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrenceinclude ../../make-rules/ips.mk
f4a7d04843eb62c92f2d4ff338da49ae86e3279bDavid Lawrence
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley# Needed to successfully find lynx.pot.
b897c52f865b2fc4e220e2110b874e59c716456bBob HalleyCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCFLAGS += -I/usr/include/ncurses
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCONFIGURE_OPTIONS += --enable-nls
9640c35421ba0bb4af6b6bfbff695d2a0ac560b3Mark AndrewsCONFIGURE_OPTIONS += --enable-japanese-utf8
7877ad5db24dbad945afc670b2010c70d0d7e2f5Mark AndrewsCONFIGURE_OPTIONS += --enable-widec
7877ad5db24dbad945afc670b2010c70d0d7e2f5Mark AndrewsCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/lynx
b897c52f865b2fc4e220e2110b874e59c716456bBob HalleyCONFIGURE_OPTIONS += --with-ssl
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCONFIGURE_OPTIONS += --with-screen=ncurses
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsASLR_MODE = $(ASLR_ENABLE)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsconfigure: $(CONFIGURE_64)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsbuild: $(BUILD_64)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinstall: $(INSTALL_64)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewstest: $(NO_TESTS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../../make-rules/depend.mk
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews