Makefile revision 3605
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
3605N/A
3605N/A#
3605N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3605N/A#
3605N/A
3605N/Ainclude ../../make-rules/shared-macros.mk
3605N/A
3605N/ACOMPONENT_NAME= tree
3605N/ACOMPONENT_VERSION= 1.5.3
3605N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3605N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
3605N/ACOMPONENT_ARCHIVE_HASH= \
3605N/A sha256:1128755ea9455615188212bb04319cf103114fb78f687aa887ce29ef184ffb8d
3605N/ACOMPONENT_PROJECT_URL= http://mama.indstate.edu/users/ice/tree/
3605N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)src/$(COMPONENT_ARCHIVE)
3605N/ACOMPONENT_BUGDB= file/tree
3605N/A
3605N/ATPNO= 9095
3605N/A
3605N/Ainclude ../../make-rules/prep.mk
3605N/Ainclude ../../make-rules/justmake.mk
3605N/Ainclude ../../make-rules/ips.mk
3605N/A
3605N/A# Enable ASLR for this component
3605N/AASLR_MODE = $(ASLR_ENABLE)
3605N/A
3605N/A# Fixes creation of executable
3605N/ACC += $(CC_BITS)
3605N/A# The native Makefile invites patching to set the following, 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)
3605N/A
3605N/A# common targets
3605N/A
3605N/Abuild: $(BUILD_64)
3605N/A
3605N/Ainstall: $(INSTALL_64)
3605N/A
3605N/Atest: $(NO_TESTS)
3605N/A
3605N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3605N/A
3605N/Ainclude ../../make-rules/depend.mk