Makefile revision 3817
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf# CDDL HEADER START
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf# The contents of this file are subject to the terms of the
f82baabbe731507742af2f7ba41463dbbc7911e9sf# Common Development and Distribution License (the "License").
f82baabbe731507742af2f7ba41463dbbc7911e9sf# You may not use this file except in compliance with the License.
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f82baabbe731507742af2f7ba41463dbbc7911e9sf# or http://www.opensolaris.org/os/licensing.
f82baabbe731507742af2f7ba41463dbbc7911e9sf# See the License for the specific language governing permissions
f82baabbe731507742af2f7ba41463dbbc7911e9sf# and limitations under the License.
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf# When distributing Covered Code, include this CDDL HEADER in each
f82baabbe731507742af2f7ba41463dbbc7911e9sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f82baabbe731507742af2f7ba41463dbbc7911e9sf# If applicable, add the following below this CDDL HEADER, with the
f82baabbe731507742af2f7ba41463dbbc7911e9sf# fields enclosed by brackets "[]" replaced with your own identifying
f82baabbe731507742af2f7ba41463dbbc7911e9sf# information: Portions Copyright [yyyy] [name of copyright owner]
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf# CDDL HEADER END
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
f82baabbe731507742af2f7ba41463dbbc7911e9sf#
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sfinclude ../../make-rules/shared-macros.mk
9dc5b07e1e3bfd090512f62e12264130cfcdb6d3fuankg
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_NAME= tree
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_VERSION= 1.5.3
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_ARCHIVE_HASH= \
f82baabbe731507742af2f7ba41463dbbc7911e9sf sha256:1128755ea9455615188212bb04319cf103114fb78f687aa887ce29ef184ffb8d
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_PROJECT_URL= http://mama.indstate.edu/users/ice/tree/
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)src/$(COMPONENT_ARCHIVE)
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_BUGDB= utility/tree
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sfTPNO= 9095
2b55486361e3a2a7db7b172eeaadb00cbba6ada7jorton
2b55486361e3a2a7db7b172eeaadb00cbba6ada7jortoninclude $(WS_MAKE_RULES)/prep.mk
f82baabbe731507742af2f7ba41463dbbc7911e9sfinclude $(WS_MAKE_RULES)/justmake.mk
f82baabbe731507742af2f7ba41463dbbc7911e9sfinclude $(WS_MAKE_RULES)/ips.mk
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sf# Enable ASLR for this component
f82baabbe731507742af2f7ba41463dbbc7911e9sfASLR_MODE = $(ASLR_ENABLE)
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sf# Fixes creation of executable
f82baabbe731507742af2f7ba41463dbbc7911e9sfCC += $(CC_BITS)
f82baabbe731507742af2f7ba41463dbbc7911e9sf# The native Makefile invites patching to set the following, but doing it here
f82baabbe731507742af2f7ba41463dbbc7911e9sf# instead will keep it working if the build system changes.
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_BUILD_ARGS += CC="$(CC)"
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
f82baabbe731507742af2f7ba41463dbbc7911e9sfCOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sf# common targets
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sfbuild: $(BUILD_64)
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sfinstall: $(INSTALL_64)
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sftest: $(NO_TESTS)
f82baabbe731507742af2f7ba41463dbbc7911e9sf
f82baabbe731507742af2f7ba41463dbbc7911e9sfREQUIRED_PACKAGES += system/library
f82baabbe731507742af2f7ba41463dbbc7911e9sf