Makefile revision 7174
2247N/A#
2247N/A# CDDL HEADER START
2247N/A#
2247N/A# The contents of this file are subject to the terms of the
2247N/A# Common Development and Distribution License (the "License").
2247N/A# You may not use this file except in compliance with the License.
2247N/A#
2247N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2247N/A# or http://www.opensolaris.org/os/licensing.
2247N/A# See the License for the specific language governing permissions
2247N/A# and limitations under the License.
2247N/A#
2247N/A# When distributing Covered Code, include this CDDL HEADER in each
2247N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2247N/A# If applicable, add the following below this CDDL HEADER, with the
2247N/A# fields enclosed by brackets "[]" replaced with your own identifying
2247N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2247N/A#
2247N/A# CDDL HEADER END
2247N/A#
5680N/A
5680N/A#
5306N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
2247N/A#
5680N/ABUILD_BITS= 64
5680N/Ainclude ../../make-rules/shared-macros.mk
2247N/A
2247N/ACOMPONENT_NAME= lynx
2247N/ACOMPONENT_VERSION= 2.8.8
5817N/ACOMPONENT_PROJECT_URL= http://lynx.isc.org/
2276N/ACOMPONENT_SRC= $(COMPONENT_NAME)2-8-8
2276N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2
2276N/ACOMPONENT_ARCHIVE_HASH= \
2276N/A sha256:6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7
2276N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_NAME)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
5817N/A
2276N/ATPNO= 21553
2276N/A
5817N/ASYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
2247N/Ainclude $(WS_MAKE_RULES)/common.mk
2247N/A
5306N/A# Needed to successfully find lynx.pot.
3574N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
2899N/A
5680N/ACFLAGS += -I$(USRINCDIR)/ncurses
5680N/ACFLAGS += $(XPG6MODE)
5528N/Astudio_C99MODE = $(studio_C99_ENABLE)
5528N/A
5528N/ACONFIGURE_OPTIONS += --enable-nls
5528N/ACONFIGURE_OPTIONS += --enable-japanese-utf8
5528N/ACONFIGURE_OPTIONS += --enable-widec
5528N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/lynx
5528N/ACONFIGURE_OPTIONS += --with-ssl
5528N/ACONFIGURE_OPTIONS += --with-screen=ncurses
5528N/A
5680N/A# Use the HTML and CSS styling external test suite as referenced at
3930N/A# http://www.w3.org/2005/MWI/Tests/
3142N/ACOMPONENT_TEST_CMD = $(@D)/src/lynx
3142N/ACOMPONENT_TEST_ARGS = -dump \
3142N/A http://www.cameronmoll.com/mobile/mkp/pg1.html \
3142N/A http://www.cameronmoll.com/mobile/mkp/pg2.html \
3142N/A http://www.cameronmoll.com/mobile/mkp/pg3.html \
3142N/A http://www.cameronmoll.com/mobile/mkp/pg4.html
3142N/ACOMPONENT_TEST_TARGETS =
3142N/A
4076N/ACOMPONENT_SYSTEM_TEST_DIR =
4742N/ACOMPONENT_SYSTEM_TEST_CMD = $(USRBINDIR)/lynx
5024N/ACOMPONENT_SYSTEM_TEST_ARGS = -dump \
5308N/A http://www.cameronmoll.com/mobile/mkp/pg1.html \
3142N/A http://www.cameronmoll.com/mobile/mkp/pg2.html \
2247N/A http://www.cameronmoll.com/mobile/mkp/pg3.html \
2247N/A http://www.cameronmoll.com/mobile/mkp/pg4.html
2247N/ACOMPONENT_SYSTEM_TEST_TARGETS =
2247N/A
5680N/AREQUIRED_PACKAGES += library/libidn
3431N/AREQUIRED_PACKAGES += library/ncurses
5161N/AREQUIRED_PACKAGES += library/security/openssl
5161N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
5161N/A