make-rules/attpackagemake.mk
changeset 1352 1358a1e1ff4c
parent 844 55358dcf0cb2
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) 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 #
    23 #
    24 # Rules and Macros for building opens source software that uses AT&T's package
    24 # Rules and Macros for building opens source software that uses AT&T's package
    25 # tool.
    25 # tool.
    26 #
    26 #
    70 	$(CLONEY) $(SOURCE_DIR) $(@D)
    70 	$(CLONEY) $(SOURCE_DIR) $(@D)
    71 	$(COMPONENT_PRE_BUILD_ACTION)
    71 	$(COMPONENT_PRE_BUILD_ACTION)
    72 	cd $(@D); $(ENV) $(COMPONENT_BUILD_ENV) \
    72 	cd $(@D); $(ENV) $(COMPONENT_BUILD_ENV) \
    73    		bin/package make $(COMPONENT_BUILD_TARGETS) $(COMPONENT_BUILD_ARGS)
    73    		bin/package make $(COMPONENT_BUILD_TARGETS) $(COMPONENT_BUILD_ARGS)
    74 	$(COMPONENT_POST_BUILD_ACTION)
    74 	$(COMPONENT_POST_BUILD_ACTION)
       
    75 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    76 	-$(PARFAIT) $(@D)
       
    77 endif
    75 	$(TOUCH) [email protected]
    78 	$(TOUCH) [email protected]
    76 
    79 
    77 # install the built source into a prototype area
    80 # install the built source into a prototype area
    78 $(BUILD_DIR)/%/.installed:	$(BUILD_DIR)/%/.built
    81 $(BUILD_DIR)/%/.installed:	$(BUILD_DIR)/%/.built
    79 	$(COMPONENT_PRE_INSTALL_ACTION)
    82 	$(COMPONENT_PRE_INSTALL_ACTION)
    92 		bin/package test $(COMPONENT_TEST_TARGETS) \
    95 		bin/package test $(COMPONENT_TEST_TARGETS) \
    93 		$(COMPONENT_TEST_ARGS)
    96 		$(COMPONENT_TEST_ARGS)
    94 	$(COMPONENT_POST_TEST_ACTION)
    97 	$(COMPONENT_POST_TEST_ACTION)
    95 	$(TOUCH) [email protected]
    98 	$(TOUCH) [email protected]
    96 
    99 
       
   100 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
   101 parfait: build
       
   102 else
       
   103 parfait:
       
   104 	$(MAKE) PARFAIT_BUILD=yes parfait
       
   105 endif
       
   106 
    97 clean::
   107 clean::
    98 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)
   108 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)