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