Makefile revision 3605
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# CDDL HEADER START
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# The contents of this file are subject to the terms of the
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Common Development and Distribution License (the "License").
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# You may not use this file except in compliance with the License.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# or http://www.opensolaris.org/os/licensing.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# See the License for the specific language governing permissions
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# and limitations under the License.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# When distributing Covered Code, include this CDDL HEADER in each
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# If applicable, add the following below this CDDL HEADER, with the
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# CDDL HEADER END
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncinclude ../../make-rules/shared-macros.mk
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_NAME= tree
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_VERSION= 1.5.3
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_ARCHIVE_HASH= \
671242f350d172e106580348e24bab66b0d7e6a5vboxsync sha256:1128755ea9455615188212bb04319cf103114fb78f687aa887ce29ef184ffb8d
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_PROJECT_URL= http://mama.indstate.edu/users/ice/tree/
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)src/$(COMPONENT_ARCHIVE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_BUGDB= file/tree
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncTPNO= 9095
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncinclude ../../make-rules/prep.mk
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncinclude ../../make-rules/justmake.mk
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncinclude ../../make-rules/ips.mk
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Enable ASLR for this component
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncASLR_MODE = $(ASLR_ENABLE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Fixes creation of executable
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCC += $(CC_BITS)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# The native Makefile invites patching to set the following, but doing it here
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# instead will keep it working if the build system changes.
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_BUILD_ARGS += CC="$(CC)"
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# common targets
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncbuild: $(BUILD_64)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncinstall: $(INSTALL_64)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsynctest: $(NO_TESTS)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncinclude ../../make-rules/depend.mk
671242f350d172e106580348e24bab66b0d7e6a5vboxsync