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