libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / bcc / Makefile
blob0a09ca106042401023595ce0b4ab45cf92621929
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 BUILD_STYLE=justmake
27 BUILD_BITS=32
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= bcc
31 COMPONENT_VERSION= 0.16.21
32 COMPONENT_PROJECT_URL= https://github.com/lkundrak/dev86/
33 COMPONENT_SRC= dev86-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= \
36 sha256:49c7ee9102d45c2eef072bfb8a49ba3821c9fe3ef31ccd3290f658b667b579a8
37 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
38 COMPONENT_FMRI= developer/bcc
39 COMPONENT_SUMMARY= Bruce's C Compiler
40 COMPONENT_CLASSIFICATION=Development/Other Languages
41 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
42 COMPONENT_LICENSE= GPLv2
44 COMMON_TARGETS=no
45 TEST_TARGET=$(NO_TESTS)
46 include $(WS_MAKE_RULES)/common.mk
48 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
50 # Create the Makefile before we build
51 COMPONENT_PRE_BUILD_ACTION = \
52 (cd $(@D) ; CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(GMAKE) make.fil)
53 # build with the created Makefile (make.fil)
54 COMPONENT_BUILD_ARGS = -f make.fil
55 COMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
56 COMPONENT_BUILD_ARGS += MAKE="$(GMAKE)"
57 COMPONENT_BUILD_ARGS += VERSION="$(COMPONENT_VERSION)"
58 COMPONENT_BUILD_ARGS += TOPDIR="$(@D)"
59 COMPONENT_BUILD_ARGS += CC="$(CC)"
60 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
61 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
62 COMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
65 # common targets
66 install build: $(BUILD_32)
69 # Auto-generated dependencies
70 REQUIRED_PACKAGES += system/library