Makefile revision 3886
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
3886N/ACOMPONENT_VERSION= 2.8.8
3680N/ACOMPONENT_PROJECT_URL= http://lynx.isc.org/
3886N/ACOMPONENT_SRC= $(COMPONENT_NAME)2-8-8
3680N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2
3680N/ACOMPONENT_ARCHIVE_HASH= \
3886N/A sha256:6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7
3680N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_NAME)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
3680N/ACOMPONENT_BUGDB= utility/lynx
3680N/A
3886N/ATPNO= 21553
3680N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_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
3886N/AREQUIRED_PACKAGES += library/libidn
3817N/AREQUIRED_PACKAGES += library/ncurses
3817N/AREQUIRED_PACKAGES += library/security/openssl
3817N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
3817N/AREQUIRED_PACKAGES += system/library