Makefile revision 3817
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/A# Because the Studio compiler generates thousands of lines of warnings.
2N/ACOMPILER=gcc
2N/A
2N/Ainclude ../../make-rules/shared-macros.mk
2N/A
2N/ACOMPONENT_NAME= elinks
2N/ACOMPONENT_VERSION= 0.11.7
2N/ACOMPONENT_PROJECT_URL= http://elinks.or.cz/
2N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
2N/ACOMPONENT_ARCHIVE_HASH= \
2N/A sha256:456db6f704c591b1298b0cd80105f459ff8a1fc07a0ec1156a36c4da6f898979
2N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
2N/ACOMPONENT_BUGDB= utility/elinks
2N/A
2N/ATPNO= 8340
2N/A
2N/Ainclude $(WS_MAKE_RULES)/prep.mk
2N/Ainclude $(WS_MAKE_RULES)/configure.mk
2N/Ainclude $(WS_MAKE_RULES)/ips.mk
2N/A
2N/A# Always show the build and link lines for easier debugging.
2N/ACOMPONENT_BUILD_ARGS += V=1
2N/A
2N/A# Fixup warnings about -Bdirect and -zignore being incompatible options when
2N/A# building a relocatable object.
2N/ALD_B_DIRECT=
2N/ALD_Z_IGNORE=
2N/A
2N/ACONFIGURE_OPTIONS += --enable-bittorrent
2N/ACONFIGURE_OPTIONS += --enable-html-highlight
2N/ACONFIGURE_OPTIONS += --enable-256-colors
2N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2N/A
2N/A# Use the HTML and CSS styling external test suite as referenced at
2N/A# http://www.w3.org/2005/MWI/Tests/
2N/ACOMPONENT_TEST_CMD = $(@D)/src/elinks
2N/ACOMPONENT_TEST_ARGS = -dump \
2N/A http://www.cameronmoll.com/mobile/mkp/pg1.html \
2N/A http://www.cameronmoll.com/mobile/mkp/pg2.html \
2N/A http://www.cameronmoll.com/mobile/mkp/pg3.html \
2N/A http://www.cameronmoll.com/mobile/mkp/pg4.html
2N/ACOMPONENT_TEST_TARGETS =
2N/A
2N/AASLR_MODE = $(ASLR_ENABLE)
2N/A
2N/A# common targets
2N/Aconfigure: $(CONFIGURE_64)
2N/A
2N/Abuild: $(BUILD_64)
2N/A
2N/Ainstall: $(INSTALL_64)
2N/A
2N/Atest: $(TEST_64)
2N/A
2N/A
2N/AREQUIRED_PACKAGES += compress/bzip2
2N/AREQUIRED_PACKAGES += library/expat
2N/AREQUIRED_PACKAGES += library/security/openssl
2N/AREQUIRED_PACKAGES += library/zlib
2N/AREQUIRED_PACKAGES += system/library
2N/AREQUIRED_PACKAGES += system/linker
2N/AREQUIRED_PACKAGES += x11/library/libx11
2N/A