Makefile revision 485
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
0af902c0df86a1ddfa54f68b4cf0fab7b469d4e7Mark Andrews# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# The contents of this file are subject to the terms of the
1124950b35ae05a12e804e670607fe5ba775cb4aTinderbox User# Common Development and Distribution License (the "License").
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# You may not use this file except in compliance with the License.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# See the License for the specific language governing permissions
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# CDDL HEADER END
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews#
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
1753d3c4d74241a847794f7e7cfd94cc79be6600Evan Hunt#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../make-rules/shared-macros.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_NAME= bcc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_VERSION= 0.16.17
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_SRC= dev86-$(COMPONENT_VERSION)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_ARCHIVE= Dev86src-$(COMPONENT_VERSION).tar.gz
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_ARCHIVE_HASH= sha1:0bfe55c7a5e11d72f19f26cb0383178605951c72
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_ARCHIVE_URL= http://homepage.ntlworld.com/robert.debath/dev86/$(COMPONENT_ARCHIVE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../make-rules/prep.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../make-rules/justmake.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../make-rules/ips.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPILER=gcc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark AndrewsCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
26e2a07a0b6a3b1eccef82ba31270d0c54ad4f06Mark Andrews
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# Create the Makefile before we build
7b8b5e34b6daf793373580dfb095f56af5e918ceAutomatic UpdaterCOMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
d60212e03fbef1d3dd7f7eb05c0545cc373cb9fcAutomatic Updater# build with the created Makefile (make.fil)
4d42b714be10e6f163d23507e4e3a396a8ac0364Automatic UpdaterCOMPONENT_BUILD_ARGS = -f make.fil
0e27506ce3135f9bd49e12564ad0e15256135118Automatic UpdaterCOMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
5c6b95ba1b2e35f8dd6b0a7f25aacba91fff3aa2Tinderbox UserCOMPONENT_BUILD_ARGS += MAKE="$(GMAKE)"
1124950b35ae05a12e804e670607fe5ba775cb4aTinderbox UserCOMPONENT_BUILD_ARGS += VERSION="$(COMPONENT_VERSION)"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_BUILD_ARGS += TOPDIR="$(@D)"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_BUILD_ARGS += CC="$(CC)"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# common targets
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall build: $(BUILD_32)
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeintest: $(NO_TESTS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../make-rules/depend.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein