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