Makefile revision 844
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER START
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Common Development and Distribution License (the "License").
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You may not use this file except in compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# or http://www.opensolaris.org/os/licensing.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# See the License for the specific language governing permissions
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# and limitations under the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# When distributing Covered Code, include this CDDL HEADER in each
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# If applicable, add the following below this CDDL HEADER, with the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER END
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../make-rules/shared-macros.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_NAME= bcc
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_VERSION= 0.16.17
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_PROJECT_URL= http://homepage.ntlworld.com/robert.debath/dev86/
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_SRC= dev86-$(COMPONENT_VERSION)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE= Dev86src-$(COMPONENT_VERSION).tar.gz
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_HASH= \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync sha256:52ed4980c0e4b68d2624aadb0ceb0339cb3fd8dd7c2175419d4f77a451846cbe
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../make-rules/prep.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../make-rules/justmake.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../make-rules/ips.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPILER=gcc
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Create the Makefile before we build
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# build with the created Makefile (make.fil)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_ARGS = -f make.fil
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_ARGS += MAKE="$(GMAKE)"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_ARGS += VERSION="$(COMPONENT_VERSION)"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_ARGS += TOPDIR="$(@D)"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_ARGS += CC="$(CC)"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# common targets
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinstall build: $(BUILD_32)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynctest: $(NO_TESTS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../make-rules/depend.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync