Makefile revision 5680
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# CDDL HEADER START
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# The contents of this file are subject to the terms of the
6185db853e024a486ff8837e6784dd290d866112dougm# Common Development and Distribution License (the "License").
6185db853e024a486ff8837e6784dd290d866112dougm# You may not use this file except in compliance with the License.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6185db853e024a486ff8837e6784dd290d866112dougm# or http://www.opensolaris.org/os/licensing.
6185db853e024a486ff8837e6784dd290d866112dougm# See the License for the specific language governing permissions
6185db853e024a486ff8837e6784dd290d866112dougm# and limitations under the License.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# When distributing Covered Code, include this CDDL HEADER in each
6185db853e024a486ff8837e6784dd290d866112dougm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6185db853e024a486ff8837e6784dd290d866112dougm# If applicable, add the following below this CDDL HEADER, with the
6185db853e024a486ff8837e6784dd290d866112dougm# fields enclosed by brackets "[]" replaced with your own identifying
6185db853e024a486ff8837e6784dd290d866112dougm# information: Portions Copyright [yyyy] [name of copyright owner]
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# CDDL HEADER END
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm
549ec3fff108310966327d1dc9004551b63210b7dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# Because the Studio compiler generates thousands of lines of warnings.
6185db853e024a486ff8837e6784dd290d866112dougmCOMPILER= gcc
6185db853e024a486ff8837e6784dd290d866112dougmBUILD_BITS= 64
549ec3fff108310966327d1dc9004551b63210b7dougminclude ../../make-rules/shared-macros.mk
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_NAME= elinks
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_VERSION= 0.11.7
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_PROJECT_URL= http://elinks.or.cz/
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_ARCHIVE_HASH= \
6185db853e024a486ff8837e6784dd290d866112dougm sha256:456db6f704c591b1298b0cd80105f459ff8a1fc07a0ec1156a36c4da6f898979
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmTPNO= 8340
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmSYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
6185db853e024a486ff8837e6784dd290d866112dougminclude $(WS_MAKE_RULES)/common.mk
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm# Always show the build and link lines for easier debugging.
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_BUILD_ARGS += V=1
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm# Fixup warnings about -Bdirect and -zignore being incompatible options when
6185db853e024a486ff8837e6784dd290d866112dougm# building a relocatable object.
6185db853e024a486ff8837e6784dd290d866112dougmLD_B_DIRECT=
6185db853e024a486ff8837e6784dd290d866112dougmLD_Z_IGNORE=
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmCONFIGURE_OPTIONS += --enable-bittorrent
6185db853e024a486ff8837e6784dd290d866112dougmCONFIGURE_OPTIONS += --enable-html-highlight
6185db853e024a486ff8837e6784dd290d866112dougmCONFIGURE_OPTIONS += --enable-256-colors
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm# Use the HTML and CSS styling external test suite as referenced at
6185db853e024a486ff8837e6784dd290d866112dougm# http://www.w3.org/2005/MWI/Tests/
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_TEST_CMD = $(@D)/src/elinks
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_TEST_ARGS = -dump \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg1.html \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg2.html \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg3.html \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg4.html
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_TEST_TARGETS =
6185db853e024a486ff8837e6784dd290d866112dougm
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarksCOMPONENT_SYSTEM_TEST_DIR =
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarksCOMPONENT_SYSTEM_TEST_CMD = /usr/bin/elinks
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_SYSTEM_TEST_ARGS = -dump \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg1.html \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg2.html \
6185db853e024a486ff8837e6784dd290d866112dougm http://www.cameronmoll.com/mobile/mkp/pg3.html \
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks http://www.cameronmoll.com/mobile/mkp/pg4.html
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarksCOMPONENT_SYSTEM_TEST_TARGETS =
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += compress/bzip2
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += library/expat
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += library/security/openssl
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += library/zlib
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += x11/library/libx11
6185db853e024a486ff8837e6784dd290d866112dougm