Makefile revision 3699
4458N/A#
4458N/A# CDDL HEADER START
4458N/A#
4458N/A# The contents of this file are subject to the terms of the
4458N/A# Common Development and Distribution License (the "License").
4458N/A# You may not use this file except in compliance with the License.
4458N/A#
4458N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4458N/A# or http://www.opensolaris.org/os/licensing.
4458N/A# See the License for the specific language governing permissions
4458N/A# and limitations under the License.
4458N/A#
4458N/A# When distributing Covered Code, include this CDDL HEADER in each
4458N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4458N/A# If applicable, add the following below this CDDL HEADER, with the
4458N/A# fields enclosed by brackets "[]" replaced with your own identifying
4458N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4458N/A#
4458N/A# CDDL HEADER END
4458N/A
4458N/A#
4458N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
4458N/A#
4458N/A
4458N/Ainclude ../../make-rules/shared-macros.mk
4458N/A
4458N/ACOMPONENT_NAME= tree
4458N/ACOMPONENT_VERSION= 1.5.3
4458N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4458N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
4458N/ACOMPONENT_ARCHIVE_HASH= \
4458N/A sha256:1128755ea9455615188212bb04319cf103114fb78f687aa887ce29ef184ffb8d
4458N/ACOMPONENT_PROJECT_URL= http://mama.indstate.edu/users/ice/tree/
4458N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)src/$(COMPONENT_ARCHIVE)
4458N/ACOMPONENT_BUGDB= utility/tree
4458N/A
4458N/ATPNO= 9095
4458N/A
4458N/Ainclude ../../make-rules/prep.mk
4458N/Ainclude ../../make-rules/justmake.mk
4458N/Ainclude ../../make-rules/ips.mk
4458N/A
4458N/A# Enable ASLR for this component
4458N/AASLR_MODE = $(ASLR_ENABLE)
4458N/A
4458N/A# Fixes creation of executable
4458N/ACC += $(CC_BITS)
4458N/A# The native Makefile invites patching to set the following, but doing it here
4458N/A# instead will keep it working if the build system changes.
4458N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
4458N/ACOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
4458N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
4458N/ACOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
4458N/ACOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk