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