components/bcc/Makefile
changeset 5538 4e57ec0a9840
parent 4339 6501cf9c29f9
child 5682 94c0ca64c022
equal deleted inserted replaced
5537:fb31633dac76 5538:4e57ec0a9840
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 COMPILER =	gcc
    26 COMPILER =	gcc
    27 
    27 
    28 include ../../make-rules/shared-macros.mk
    28 include ../../make-rules/shared-macros.mk
    42 include $(WS_MAKE_RULES)/prep.mk
    42 include $(WS_MAKE_RULES)/prep.mk
    43 include $(WS_MAKE_RULES)/justmake.mk
    43 include $(WS_MAKE_RULES)/justmake.mk
    44 include $(WS_MAKE_RULES)/ips.mk
    44 include $(WS_MAKE_RULES)/ips.mk
    45 
    45 
    46 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
    46 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
       
    47 CC += $(CC_BITS)
    47 
    48 
    48 # Create the Makefile before we build
    49 # Create the Makefile before we build
    49 COMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
    50 COMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
    50 # build with the created Makefile (make.fil)
    51 # build with the created Makefile (make.fil)
    51 COMPONENT_BUILD_ARGS = -f make.fil
    52 COMPONENT_BUILD_ARGS = -f make.fil
    56 COMPONENT_BUILD_ARGS += CC="$(CC)"
    57 COMPONENT_BUILD_ARGS += CC="$(CC)"
    57 COMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
    58 COMPONENT_BUILD_TARGETS = bcc86 as86 ld86 ar86
    58 
    59 
    59 
    60 
    60 # common targets
    61 # common targets
    61 install build:		$(BUILD_32)
    62 install build:		$(BUILD_64)
    62 
    63 
    63 test:		$(NO_TESTS)
    64 test:		$(NO_TESTS)
    64 
    65 
    65 system-test:    $(NO_TESTS)
    66 system-test:    $(NO_TESTS)
    66 
    67