6328N/A#
6328N/A# CDDL HEADER START
6328N/A#
6328N/A# The contents of this file are subject to the terms of the
6328N/A# Common Development and Distribution License (the "License").
6328N/A# You may not use this file except in compliance with the License.
6328N/A#
6328N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6328N/A# or http://www.opensolaris.org/os/licensing.
6328N/A# See the License for the specific language governing permissions
6328N/A# and limitations under the License.
6328N/A#
6328N/A# When distributing Covered Code, include this CDDL HEADER in each
6328N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6328N/A# If applicable, add the following below this CDDL HEADER, with the
6328N/A# fields enclosed by brackets "[]" replaced with your own identifying
6328N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6328N/A#
6328N/A# CDDL HEADER END
6328N/A#
6328N/A
6328N/A#
6328N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
6328N/A#
6328N/ABUILD_BITS= 64
6328N/Ainclude ../../make-rules/shared-macros.mk
6328N/A
6328N/ACOMPONENT_NAME= tree
6328N/ACOMPONENT_VERSION= 1.7.0
6328N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
6328N/ACOMPONENT_ARCHIVE_HASH= \
6328N/A sha256:6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
6328N/ACOMPONENT_PROJECT_URL= http://mama.indstate.edu/users/ice/tree/
6328N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)src/$(COMPONENT_ARCHIVE)
6328N/A
6328N/ATPNO= 27186
6328N/A
6328N/ABUILD_STYLE= justmake
6328N/ATEST_TARGET= $(NO_TESTS)
6328N/Ainclude $(WS_MAKE_RULES)/common.mk
6328N/A
6328N/A# Fixes creation of executable
6328N/ALDFLAGS += $(CC_BITS)
6328N/A
6328N/A# The native Makefile invites patching to build for Solaris, but doing it here
6328N/A# instead will keep it working if the build system changes.
6328N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
6328N/ACOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
7291N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
6328N/ACOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
6328N/ACOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
6328N/A