parameters: (self, path, required=True, weak=False, loc=None)
docstring: Include the makefile at `path`.
docstring_summary: Include the makefile at `path`.
docstring_tokens: Include the makefile at path .
function: def include(self, path, required=True, weak=False, loc=None):
          """
          Include the makefile at `path`.
          """
          self.included.append((path, required))
          fspath = util.normaljoin(self.workdir, path)
          if os.path.exists(fspath):
              if weak:
                  stmts = parser.parsedepfile(fspath)
              else:
                  stmts = parser.parsefile(fspath)
              self.variables.append('MAKEFILE_LIST', Variables.SOURCE_AUTOMATIC, path, None, self)
              stmts.execute(self, weak=weak)
              self.gettarget(path).explicit = True
function_tokens: def include ( self , path , required = True , weak = False , loc = None ) : self . included . append ( ( path , required ) ) fspath = util . normaljoin ( self . workdir , path ) if os . path . exists ( fspath ) : if weak : stmts = parser . parsedepfile ( fspath ) else : stmts = parser . parsefile ( fspath ) self . variables . append ( 'MAKEFILE_LIST' , Variables . SOURCE_AUTOMATIC , path , None , self ) stmts . execute ( self , weak = weak ) self . gettarget ( path ) . explicit = True