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