Makefile revision 5680
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# CDDL HEADER START
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# The contents of this file are subject to the terms of the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Common Development and Distribution License (the "License").
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# You may not use this file except in compliance with the License.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# or http://www.opensolaris.org/os/licensing.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# See the License for the specific language governing permissions
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# and limitations under the License.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# When distributing Covered Code, include this CDDL HEADER in each
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If applicable, add the following below this CDDL HEADER, with the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# fields enclosed by brackets "[]" replaced with your own identifying
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# CDDL HEADER END
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
ee4f2857570f20e369994ea71ad5928832cc64d8bnicholes# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
9b2bd54c98edb185a3985410367754ab33217362bnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesBUILD_BITS= 64
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesCOMPILER= gcc
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesinclude ../../make-rules/shared-macros.mk
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_NAME= bcc
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_VERSION= 0.16.17
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_PROJECT_URL= http://homepage.ntlworld.com/robert.debath/dev86/
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_SRC= dev86-$(COMPONENT_VERSION)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_ARCHIVE= Dev86src-$(COMPONENT_VERSION).tar.gz
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_ARCHIVE_HASH= \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes sha256:52ed4980c0e4b68d2624aadb0ceb0339cb3fd8dd7c2175419d4f77a451846cbe
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesTPNO= 8334
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesBUILD_STYLE= justmake
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesINSTALL_TARGET= build
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesTEST_TARGET= $(NO_TESTS)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinclude $(WS_MAKE_RULES)/common.mk
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Fix 64-bit linking via compiler.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLDFLAGS += "$(CC_BITS)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Create the Makefile before we build
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# build with the created Makefile (make.fil)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS = -f make.fil
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += MAKE="$(GMAKE)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += VERSION="$(COMPONENT_VERSION)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += TOPDIR="$(@D)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += CC="$(CC)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes