make-rules/justmake.mk
changeset 1352 1358a1e1ff4c
parent 774 d0cbca26a17c
child 2022 d590db614c66
child 3996 20c0f21bbe1e
equal deleted inserted replaced
1351:5c589218fa09 1352:1358a1e1ff4c
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 #
    23 #
    24 # Rules and Macros for building opens source software that just uses their
    24 # Rules and Macros for building opens source software that just uses their
    25 # own make and no autoconf-style tools.
    25 # own make and no autoconf-style tools.
    26 #
    26 #
    53 	$(COMPONENT_PRE_BUILD_ACTION)
    53 	$(COMPONENT_PRE_BUILD_ACTION)
    54 	(cd $(@D) ; $(ENV) $(COMPONENT_BUILD_ENV) \
    54 	(cd $(@D) ; $(ENV) $(COMPONENT_BUILD_ENV) \
    55 		$(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS))
    55 		$(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS))
    56 	$(COMPONENT_POST_BUILD_ACTION)
    56 	$(COMPONENT_POST_BUILD_ACTION)
    57 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    57 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    58 	-$(PARFAIT) build
    58 	-$(PARFAIT) $(@D)
    59 endif
    59 endif
    60 	$(TOUCH) [email protected]
    60 	$(TOUCH) [email protected]
    61 
    61 
    62 # install the built source into a prototype area
    62 # install the built source into a prototype area
    63 $(BUILD_DIR)/%/.installed:	$(BUILD_DIR)/%/.built
    63 $(BUILD_DIR)/%/.installed:	$(BUILD_DIR)/%/.built
    75 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
    75 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
    76 	$(COMPONENT_POST_TEST_ACTION)
    76 	$(COMPONENT_POST_TEST_ACTION)
    77 	$(TOUCH) [email protected]
    77 	$(TOUCH) [email protected]
    78 
    78 
    79 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    79 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    80 parfait: install
    80 parfait: build
    81 	-$(PARFAIT) build
       
    82 else
    81 else
    83 parfait:
    82 parfait:
    84 	$(MAKE) PARFAIT_BUILD=yes parfait
    83 	$(MAKE) PARFAIT_BUILD=yes parfait
    85 endif
    84 endif
    86 
    85