macOS
brew install makedependlocal Homebrew formula metadata
sudo port install makedependMacPorts ports tree · x11/makedepend/Portfile · 来源: api.github.com
安装
brew install makedependlocal Homebrew formula metadata
sudo port install makedependMacPorts ports tree · x11/makedepend/Portfile · 来源: api.github.com
sudo apk add makedependAlpine Linux edge package indexes · makedepend · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#makedependnixpkgs package indexes · pkgs/by-name/ma/makedepend/package.nix · 来源: api.github.com
sudo zypper install makedependopenSUSE Tumbleweed package metadata · makedepend · 来源: download.opensuse.org
sudo dnf install imakeFedora Rawhide package metadata · imake · 来源: dl.fedoraproject.org
概览
Creates dependencies in makefiles
历史
makedepend is an X.Org utility that parses C source files and writes include-file dependencies into makefiles so make knows which object files must be rebuilt.
The upstream AUTHORS file credits Todd Brunhoff of Tektronix and MIT Project Athena as the original author, with Jim Fulton credited for the ifparser. The manpage carries Open Group copyright notices from 1993, 1994, and 1998, reflecting the tool's X11-era heritage.
The current X.Org repository keeps makedepend as a standalone utility module. Its GitLab project page describes it as a utility to parse C source files into dependency lists for Makefiles, and the repository tags show modern 1.0.x releases continuing through 1.0.9 in 2024.
makedepend belongs to the older imake/X11 build world, where generated dependency blocks inside Makefiles were a normal way to keep C builds correct before compiler-native dependency flags became the common path.
Its continued packaging is mostly about compatibility and maintenance of older build systems. The upstream README points support and development through the X.Org mailing list and freedesktop.org GitLab, which fits its role as a small utility preserved inside the X.Org module set.
makedepend reads each C source file, processes preprocessor directives such as makefile or Makefile unless another file is named with -f.
A typical makefile target runs makedepend with compiler flags and sources, using a marker line such as '# DO NOT DELETE THIS LINE -- make depend depends on it.' so the generated dependency section can be replaced on later runs.
makedepend is a museum piece that still works: it shows how C dependency generation was bolted onto makefiles before today's compiler -M style flags and higher-level build systems took over.
For maintainers, it is significant because old X.Org, imake, and C packages may still call makedepend directly. Having it packaged separately keeps those builds reproducible without dragging in a larger historical X11 toolchain.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
makedepend | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:makedepend |
|---|---|
| 版本 | 1.0.9 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/makedepend |
| 主页 | https://x.org/ |
| 仓库 | https://gitlab.freedesktop.org/xorg/util/makedepend |
| 上游文档 | https://gitlab.freedesktop.org/xorg/util/makedepend/-/blob/master/README.md |
| 许可证 | MIT |
| 源码归档 | https://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.9.tar.xz |
| 依赖 | util-macros, xorgproto |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | makedepend |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
makedepend
nix profile install nixpkgs#makedependmakedepend 1.0.9-r0
utility for making makefile dependencies
sudo apk add makedependmakedepend-doc 1.0.9-r0
utility for making makefile dependencies (documentation)
sudo apk add makedepend-docimake 1.0.10-6.fc44
imake source code configuration and build system
sudo dnf install imakemakedepend 1.0.9-1.6
Utility to create dependencies in makefiles
sudo zypper install makedependmakedepend
sudo port install makedepend来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.