Makefile revision 3686
3680N/A#
3680N/A# CDDL HEADER START
3680N/A#
3680N/A# The contents of this file are subject to the terms of the
3680N/A# Common Development and Distribution License (the "License").
3680N/A# You may not use this file except in compliance with the License.
3680N/A#
3680N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3680N/A# or http://www.opensolaris.org/os/licensing.
3680N/A# See the License for the specific language governing permissions
3680N/A# and limitations under the License.
3680N/A#
3680N/A# When distributing Covered Code, include this CDDL HEADER in each
3680N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3680N/A# If applicable, add the following below this CDDL HEADER, with the
3680N/A# fields enclosed by brackets "[]" replaced with your own identifying
3680N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3680N/A#
3680N/A# CDDL HEADER END
3680N/A#
3686N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3680N/A#
3680N/Ainclude ../../make-rules/shared-macros.mk
3680N/A
3680N/ACOMPONENT_NAME= lynx
3680N/ACOMPONENT_VERSION= 2.8.7
3680N/ACOMPONENT_PROJECT_URL= http://lynx.isc.org/
3680N/ACOMPONENT_SRC= $(COMPONENT_NAME)2-8-7
3680N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2
3680N/ACOMPONENT_ARCHIVE_HASH= \
3680N/A sha256:301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627
3680N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_NAME)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
3680N/ACOMPONENT_BUGDB= utility/lynx
3680N/A
3680N/ATPNO= 9373
3680N/A
3680N/Ainclude ../../make-rules/prep.mk
3680N/Ainclude ../../make-rules/configure.mk
3680N/Ainclude ../../make-rules/ips.mk
3680N/A
3680N/A# Needed to successfully find lynx.pot.
3680N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
3680N/A
3680N/ACFLAGS += -I/usr/include/ncurses
3680N/A
3680N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3680N/ACONFIGURE_OPTIONS += --enable-nls
3680N/ACONFIGURE_OPTIONS += --enable-japanese-utf8
3680N/ACONFIGURE_OPTIONS += --enable-widec
3680N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/lynx
3680N/ACONFIGURE_OPTIONS += --with-ssl
3680N/ACONFIGURE_OPTIONS += --with-screen=ncurses
3680N/A
3686N/A# Use the HTML and CSS styling external test suite as referenced at
3686N/A# http://www.w3.org/2005/MWI/Tests/
3686N/ACOMPONENT_TEST_CMD = $(@D)/src/lynx
3686N/ACOMPONENT_TEST_ARGS = -dump \
3686N/A http://www.cameronmoll.com/mobile/mkp/pg1.html \
3686N/A http://www.cameronmoll.com/mobile/mkp/pg2.html \
3686N/A http://www.cameronmoll.com/mobile/mkp/pg3.html \
3686N/A http://www.cameronmoll.com/mobile/mkp/pg4.html
3686N/ACOMPONENT_TEST_TARGETS =
3686N/A
3680N/AASLR_MODE = $(ASLR_ENABLE)
3680N/A
3680N/Aconfigure: $(CONFIGURE_64)
3680N/A
3680N/Abuild: $(BUILD_64)
3680N/A
3680N/Ainstall: $(INSTALL_64)
3680N/A
3686N/Atest: $(TEST_64)
3680N/A
3680N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3680N/A
3680N/Ainclude ../../make-rules/depend.mk