components/elinks/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 26 Jan 2017 16:44:14 -0800
changeset 7617 14b1a4293086
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
permissions -rw-r--r--
Close of build 117.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
74
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     1
#
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     3
#
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     7
#
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    12
#
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    18
#
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    22
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
74
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    24
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3625
diff changeset
    25
# Because the Studio compiler generates thousands of lines of warnings.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    26
COMPILER= gcc
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    27
BUILD_BITS= 64
74
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    28
include ../../make-rules/shared-macros.mk
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    29
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    30
COMPONENT_NAME=		elinks
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    31
COMPONENT_VERSION=	0.11.7
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    32
COMPONENT_PROJECT_URL=	http://elinks.or.cz/
74
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    35
    sha256:456db6f704c591b1298b0cd80105f459ff8a1fc07a0ec1156a36c4da6f898979
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    36
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
74
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    37
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1232
diff changeset
    38
TPNO=			8340
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1232
diff changeset
    39
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    40
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    41
include $(WS_MAKE_RULES)/common.mk
2194
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    42
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    43
# Always show the build and link lines for easier debugging.
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    44
COMPONENT_BUILD_ARGS +=		V=1
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    45
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    46
# Fixup warnings about -Bdirect and -zignore being incompatible options when
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    47
# building a relocatable object.
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    48
LD_B_DIRECT=
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    49
LD_Z_IGNORE=
2d2ebbb58fbb 19982829 Elinks says it has tests but doesn't
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    50
74
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS  +=		--enable-bittorrent
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    52
CONFIGURE_OPTIONS  +=		--enable-html-highlight
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS  +=		--enable-256-colors
7e35801ce8b8 7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    54
3625
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    55
# Use the HTML and CSS styling external test suite as referenced at
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    56
# http://www.w3.org/2005/MWI/Tests/
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    57
COMPONENT_TEST_CMD = $(@D)/src/elinks
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    58
COMPONENT_TEST_ARGS = -dump \
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    59
	http://www.cameronmoll.com/mobile/mkp/pg1.html \
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    60
	http://www.cameronmoll.com/mobile/mkp/pg2.html \
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    61
	http://www.cameronmoll.com/mobile/mkp/pg3.html \
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    62
	http://www.cameronmoll.com/mobile/mkp/pg4.html
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    63
COMPONENT_TEST_TARGETS =
43b658b2e7cf 20345318 elinks should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 3552
diff changeset
    64
4544
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    65
COMPONENT_SYSTEM_TEST_DIR =
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    66
COMPONENT_SYSTEM_TEST_CMD = /usr/bin/elinks
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    67
COMPONENT_SYSTEM_TEST_ARGS = -dump \
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    68
	http://www.cameronmoll.com/mobile/mkp/pg1.html \
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    69
	http://www.cameronmoll.com/mobile/mkp/pg2.html \
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    70
	http://www.cameronmoll.com/mobile/mkp/pg3.html \
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    71
	http://www.cameronmoll.com/mobile/mkp/pg4.html
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    72
COMPONENT_SYSTEM_TEST_TARGETS =
9f3bdd024d26 21313968 Hookup system-tests for elinks
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    73
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3625
diff changeset
    74
REQUIRED_PACKAGES += compress/bzip2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3625
diff changeset
    75
REQUIRED_PACKAGES += library/expat
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3625
diff changeset
    76
REQUIRED_PACKAGES += library/security/openssl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3625
diff changeset
    77
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3625
diff changeset
    78
REQUIRED_PACKAGES += x11/library/libx11