macOS
brew install makedependlocal Homebrew formula metadata
sudo port install makedependMacPorts ports tree · x11/makedepend/Portfile · source: api.github.com
brew
Creates dependencies in makefiles. Version 1.0.9 via Homebrew; verified from local package data.
install
brew install makedependlocal Homebrew formula metadata
sudo port install makedependMacPorts ports tree · x11/makedepend/Portfile · source: api.github.com
sudo apk add makedependAlpine Linux edge package indexes · makedepend · source: dl-cdn.alpinelinux.org
sudo dnf install imakeFedora Rawhide package metadata · imake · source: dl.fedoraproject.org
nix profile install nixpkgs#makedependnixpkgs package indexes · pkgs/by-name/ma/makedepend/package.nix · source: api.github.com
sudo zypper install makedependopenSUSE Tumbleweed package metadata · makedepend · source: download.opensuse.org
overview
Creates dependencies in makefiles
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
makedepend | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:makedepend |
|---|---|
| Version | 1.0.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/makedepend |
| Homepage | https://x.org/ |
| Repository | https://gitlab.freedesktop.org/xorg/util/makedepend |
| Upstream docs | https://gitlab.freedesktop.org/xorg/util/makedepend/-/blob/master/README.md |
| License | MIT |
| Source archive | https://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.9.tar.xz |
| Dependencies | util-macros, xorgproto |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 makedependsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.