Bump mesa to 12.0.5
[unleashed-userland.git] / components / bcc / Makefile
blob562d7b8f5c082f20061d7e7b10ecd9530ff87092
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
26 include ../../make-rules/shared-macros.mk
28 COMPONENT_NAME= bcc
29 COMPONENT_VERSION= 0.16.19
30 COMPONENT_PROJECT_URL= http://v3.sk/~lkundrak/dev86/
31 COMPONENT_SRC= dev86-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= Dev86src-$(COMPONENT_VERSION).tar.gz
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e
35 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)archive/$(COMPONENT_ARCHIVE)
36 COMPONENT_BUGDB= utility/bcc
38 include ../../make-rules/prep.mk
39 include ../../make-rules/justmake.mk
40 include ../../make-rules/ips.mk
42 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
44 # Create the Makefile before we build
45 COMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
46 # build with the created Makefile (make.fil)
47 COMPONENT_BUILD_ARGS = -f make.fil
48 COMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
49 COMPONENT_BUILD_ARGS += MAKE="$(GMAKE)"
50 COMPONENT_BUILD_ARGS += VERSION="$(COMPONENT_VERSION)"
51 COMPONENT_BUILD_ARGS += TOPDIR="$(@D)"
52 COMPONENT_BUILD_ARGS += CC="$(CC)"
53 COMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
56 # common targets
57 install build: $(BUILD_32)
59 test: $(NO_TESTS)
61 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
63 include ../../make-rules/depend.mk