use get_auto_deps for files to depend on symlinks and dirs as needed

note that this removes the static dep from file: to direcory: