Makefile revision 3817
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# CDDL HEADER START
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# The contents of this file are subject to the terms of the
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Common Development and Distribution License (the "License").
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# You may not use this file except in compliance with the License.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# or http://www.opensolaris.org/os/licensing.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# See the License for the specific language governing permissions
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# and limitations under the License.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# When distributing Covered Code, include this CDDL HEADER in each
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# If applicable, add the following below this CDDL HEADER, with the
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# fields enclosed by brackets "[]" replaced with your own identifying
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# information: Portions Copyright [yyyy] [name of copyright owner]
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# CDDL HEADER END
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsoninclude ../../make-rules/shared-macros.mk
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_NAME= tree
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_VERSION= 1.5.3
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_ARCHIVE_HASH= \
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson sha256:1128755ea9455615188212bb04319cf103114fb78f687aa887ce29ef184ffb8d
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_PROJECT_URL= http://mama.indstate.edu/users/ice/tree/
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)src/$(COMPONENT_ARCHIVE)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_BUGDB= utility/tree
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonTPNO= 9095
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsoninclude $(WS_MAKE_RULES)/prep.mk
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsoninclude $(WS_MAKE_RULES)/justmake.mk
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsoninclude $(WS_MAKE_RULES)/ips.mk
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Enable ASLR for this component
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonASLR_MODE = $(ASLR_ENABLE)
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Fixes creation of executable
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCC += $(CC_BITS)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# The native Makefile invites patching to set the following, but doing it here
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# instead will keep it working if the build system changes.
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. NelsonCOMPONENT_BUILD_ARGS += CC="$(CC)"
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. NelsonCOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. NelsonCOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelson
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelson# common targets
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelsonbuild: $(BUILD_64)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelsoninstall: $(INSTALL_64)
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelson
b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8Mark J. Nelsontest: $(NO_TESTS)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonREQUIRED_PACKAGES += system/library
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson