make-rules/attpackagemake.mk
changeset 1352 1358a1e1ff4c
parent 844 55358dcf0cb2
child 2022 d590db614c66
child 3996 20c0f21bbe1e
--- a/make-rules/attpackagemake.mk	Tue Jun 18 13:15:45 2013 -0700
+++ b/make-rules/attpackagemake.mk	Tue Jun 18 15:52:28 2013 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 #
 # Rules and Macros for building opens source software that uses AT&T's package
@@ -72,6 +72,9 @@
 	cd $(@D); $(ENV) $(COMPONENT_BUILD_ENV) \
    		bin/package make $(COMPONENT_BUILD_TARGETS) $(COMPONENT_BUILD_ARGS)
 	$(COMPONENT_POST_BUILD_ACTION)
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+	-$(PARFAIT) $(@D)
+endif
 	$(TOUCH) [email protected]
 
 # install the built source into a prototype area
@@ -94,5 +97,12 @@
 	$(COMPONENT_POST_TEST_ACTION)
 	$(TOUCH) [email protected]
 
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+parfait: build
+else
+parfait:
+	$(MAKE) PARFAIT_BUILD=yes parfait
+endif
+
 clean::
 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)