Makefile revision 3817
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# CDDL HEADER START
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# The contents of this file are subject to the terms of the
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# Common Development and Distribution License (the "License").
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# You may not use this file except in compliance with the License.
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# or http://www.opensolaris.org/os/licensing.
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# See the License for the specific language governing permissions
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# and limitations under the License.
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# When distributing Covered Code, include this CDDL HEADER in each
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# If applicable, add the following below this CDDL HEADER, with the
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# fields enclosed by brackets "[]" replaced with your own identifying
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# information: Portions Copyright [yyyy] [name of copyright owner]
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# CDDL HEADER END
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch#
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchinclude ../../make-rules/shared-macros.mk
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_NAME= less
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_VERSION= 458
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_PROJECT_URL= http://www.greenwoodsoftware.com/less/
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_ARCHIVE_HASH= \
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch sha256:e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCOMPONENT_BUGDB= utility/less
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchTPNO= 9286
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchinclude $(WS_MAKE_RULES)/prep.mk
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchinclude $(WS_MAKE_RULES)/configure.mk
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchinclude $(WS_MAKE_RULES)/ips.mk
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCC += $(CC_BITS)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchASLR_MODE = $(ASLR_ENABLE)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch# common targets
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchconfigure: $(CONFIGURE_64)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchbuild: $(BUILD_64)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchinstall: $(INSTALL_64)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branchtest: $(NO_TESTS)
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchREQUIRED_PACKAGES += library/ncurses
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon BranchREQUIRED_PACKAGES += system/library
21676c3be115e3ae4ab5f29cd314872c1bd5d466Jon Branch