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