Put source file dependencies into lock file