]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/build/virtual-target.jam
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / src / build / virtual-target.jam
index 5df6bbe7e1643321bd167ae75a41657498091552..d7b84321c30c69309fef6fa14d250853ad227bd1 100644 (file)
@@ -174,6 +174,19 @@ class virtual-target
 
 # private: (overridables)
 
+    # Sets/gets the 'root' flag. Target is root if it directly corresponds to
+    # some variant of a main target.
+    #
+    rule root ( set ? )
+    {
+        if $(set)
+        {
+            self.root = true ;
+        }
+        return $(self.root) ;
+    }
+
+
     # Sets up build actions for 'target'. Should call appropriate rules and set
     # target variables.
     #
@@ -296,18 +309,6 @@ class abstract-file-target : virtual-target
         return $(self.action) ;
     }
 
-    # Sets/gets the 'root' flag. Target is root if it directly corresponds to
-    # some variant of a main target.
-    #
-    rule root ( set ? )
-    {
-        if $(set)
-        {
-            self.root = true ;
-        }
-        return $(self.root) ;
-    }
-
     # Gets or sets the subvariant which created this target. Subvariant is set
     # when target is brought into existence and is never changed after that. In
     # particular, if a target is shared by multiple subvariants, only the first