Makefile revision 3477
68N/A#
68N/A# CDDL HEADER START
68N/A#
68N/A# The contents of this file are subject to the terms of the
68N/A# Common Development and Distribution License (the "License").
68N/A# You may not use this file except in compliance with the License.
68N/A#
68N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68N/A# or http://www.opensolaris.org/os/licensing.
68N/A# See the License for the specific language governing permissions
68N/A# and limitations under the License.
68N/A#
68N/A# When distributing Covered Code, include this CDDL HEADER in each
68N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68N/A# If applicable, add the following below this CDDL HEADER, with the
68N/A# fields enclosed by brackets "[]" replaced with your own identifying
68N/A# information: Portions Copyright [yyyy] [name of copyright owner]
68N/A#
68N/A# CDDL HEADER END
68N/A#
75N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
75N/A#
2899N/Ainclude ../../make-rules/shared-macros.mk
68N/A
68N/ACOMPONENT_NAME= elinks
68N/ACOMPONENT_VERSION= 0.11.7
68N/ACOMPONENT_PROJECT_URL= http://elinks.or.cz/
68N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1802N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
618N/ACOMPONENT_ARCHIVE_HASH= \
68N/A sha256:456db6f704c591b1298b0cd80105f459ff8a1fc07a0ec1156a36c4da6f898979
68N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
844N/ACOMPONENT_BUGDB= utility/elinks
1802N/A
618N/ATPNO= 8340
1258N/A
68N/Ainclude ../../make-rules/prep.mk
2899N/Ainclude ../../make-rules/configure.mk
2899N/Ainclude ../../make-rules/ips.mk
68N/A
68N/A# Because the Studio compiler generates thousands of lines of warnings.
68N/ACOMPILER = gcc
68N/A
1591N/A# Always show the build and link lines for easier debugging.
1591N/ACOMPONENT_BUILD_ARGS += V=1
1591N/A
1591N/A# Fixup warnings about -Bdirect and -zignore being incompatible options when
68N/A# building a relocatable object.
68N/ALD_B_DIRECT=
1591N/ALD_Z_IGNORE=
1591N/A
68N/ACONFIGURE_OPTIONS += --enable-bittorrent
3477N/ACONFIGURE_OPTIONS += --enable-html-highlight
3477N/ACONFIGURE_OPTIONS += --enable-256-colors
1591N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
68N/A
1591N/AASLR_MODE = $(ASLR_ENABLE)
68N/A
181N/A# common targets
83N/Aconfigure: $(CONFIGURE_64)
68N/A
68N/Abuild: $(BUILD_64)
68N/A
install: $(INSTALL_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk