make-rules/attpackagemake.mk
branchs11-update
changeset 3996 20c0f21bbe1e
parent 2855 576d5a7857b7
child 6074 4a3952ad8c2a
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    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, 2013, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2012, 2015, 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 #
    27 # To use these rules, include ../make-rules/attpackagemake.mk in your Makefile
    27 # To use these rules, include $(WS_MAKE_RULES)/attpackagemake.mk in your Makefile
    28 # and define "build", "install" targets appropriate to building your component.
    28 # and define "build", "install" targets appropriate to building your component.
    29 # Ex:
    29 # Ex:
    30 #
    30 #
    31 # 	build:		$(BUILD_32) \
    31 # 	build:		$(BUILD_32) \
    32 #	 		$(BUILD_64)
    32 #	 		$(BUILD_64)
    87 		$(PROTO_DIR)/$(MACH$(BITS)) $(COMPONENT_INSTALL_PACKAGES) 
    87 		$(PROTO_DIR)/$(MACH$(BITS)) $(COMPONENT_INSTALL_PACKAGES) 
    88 	$(COMPONENT_POST_INSTALL_ACTION)
    88 	$(COMPONENT_POST_INSTALL_ACTION)
    89 	$(TOUCH) [email protected]
    89 	$(TOUCH) [email protected]
    90 
    90 
    91 # test the built source
    91 # test the built source
    92 $(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
    92 $(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
    93 	$(COMPONENT_PRE_TEST_ACTION)
    93 	$(COMPONENT_PRE_TEST_ACTION)
    94 	cd $(@D); $(ENV) $(COMPONENT_TEST_ENV) \
    94 	cd $(@D); $(ENV) $(COMPONENT_TEST_ENV) \
    95 		bin/package test $(COMPONENT_TEST_TARGETS) \
    95 		bin/package test $(COMPONENT_TEST_TARGETS) \
    96 		$(COMPONENT_TEST_ARGS)
    96 		$(COMPONENT_TEST_ARGS)
    97 	$(COMPONENT_POST_TEST_ACTION)
    97 	$(COMPONENT_POST_TEST_ACTION)