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