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