Makefile revision 3817
493N/A#
553N/A# CDDL HEADER START
493N/A#
493N/A# The contents of this file are subject to the terms of the
493N/A# Common Development and Distribution License (the "License").
493N/A# You may not use this file except in compliance with the License.
493N/A#
493N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
493N/A# or http://www.opensolaris.org/os/licensing.
493N/A# See the License for the specific language governing permissions
493N/A# and limitations under the License.
493N/A#
493N/A# When distributing Covered Code, include this CDDL HEADER in each
493N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
493N/A# If applicable, add the following below this CDDL HEADER, with the
493N/A# fields enclosed by brackets "[]" replaced with your own identifying
493N/A# information: Portions Copyright [yyyy] [name of copyright owner]
493N/A#
553N/A# CDDL HEADER END
553N/A#
553N/A
493N/A#
493N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
493N/A#
493N/A
493N/ACOMPILER = gcc
493N/A
493N/Ainclude ../../make-rules/shared-macros.mk
698N/A
698N/ACOMPONENT_NAME= bcc
493N/ACOMPONENT_VERSION= 0.16.17
493N/ACOMPONENT_PROJECT_URL= http://homepage.ntlworld.com/robert.debath/dev86/
493N/ACOMPONENT_SRC= dev86-$(COMPONENT_VERSION)
493N/ACOMPONENT_ARCHIVE= Dev86src-$(COMPONENT_VERSION).tar.gz
493N/ACOMPONENT_ARCHIVE_HASH= \
493N/A sha256:52ed4980c0e4b68d2624aadb0ceb0339cb3fd8dd7c2175419d4f77a451846cbe
493N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
493N/ACOMPONENT_BUGDB= utility/bcc
493N/A
493N/ATPNO= 8334
493N/A
493N/Ainclude $(WS_MAKE_RULES)/prep.mk
493N/Ainclude $(WS_MAKE_RULES)/justmake.mk
493N/Ainclude $(WS_MAKE_RULES)/ips.mk
493N/A
493N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
493N/A
493N/A# Create the Makefile before we build
698N/ACOMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
493N/A# build with the created Makefile (make.fil)
493N/ACOMPONENT_BUILD_ARGS = -f make.fil
493N/ACOMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
493N/ACOMPONENT_BUILD_ARGS += MAKE="$(GMAKE)"
493N/ACOMPONENT_BUILD_ARGS += VERSION="$(COMPONENT_VERSION)"
493N/ACOMPONENT_BUILD_ARGS += TOPDIR="$(@D)"
493N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
493N/ACOMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
493N/A
493N/A
493N/A# common targets
493N/Ainstall build: $(BUILD_32)
493N/A
493N/Atest: $(NO_TESTS)
493N/A
493N/A
493N/AREQUIRED_PACKAGES += system/library
493N/A