# makedepend を Homebrew, apk, MacPorts, Nix, zypper, dnf でインストール

makedepend のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:makedepend
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install makedepend
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install makedepend
```

  証拠: MacPorts ports tree: x11/makedepend/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add makedepend
```

  証拠: Alpine Linux edge package indexes: makedepend from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#makedepend
```

  証拠: nixpkgs package indexes: pkgs/by-name/ma/makedepend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install makedepend
```

  証拠: openSUSE Tumbleweed package metadata: makedepend from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install imake
```

  証拠: Fedora Rawhide package metadata: imake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:makedepend
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.9
- **ソース概要:** Creates dependencies in makefiles
- **ホームページ:** <https://x.org/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- makedepend (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.9
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 1993: Manpage copyright begins with The Open Group.
- 2002: Manpage date records a December 14, 2002 manual revision.
- 2007: X.Org GitLab tags include makedepend 1.0.1.
- 2024: X.Org GitLab tags include makedepend 1.0.9.

### Related projects

- X.Org util modules are the current upstream home.
- imake-era X11 builds are the historical ecosystem around makedepend.
- GNU Make and POSIX make consume the dependency lines makedepend writes.

### ソース

- <https://gitlab.freedesktop.org/api/v4/projects/xorg%2Futil%2Fmakedepend/repository/tags?per_page=20>
- <https://gitlab.freedesktop.org/xorg/util/makedepend>
- <https://gitlab.freedesktop.org/xorg/util/makedepend/-/raw/master/AUTHORS>
- <https://gitlab.freedesktop.org/xorg/util/makedepend/-/raw/master/README.md>
- <https://gitlab.freedesktop.org/xorg/util/makedepend/-/raw/master/makedepend.man>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - makedepend: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/makedepend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - makedepend - 1.0.9-r0: normalized package name match | Alpine Linux edge package indexes: makedepend from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utility for making makefile dependencies | https://www.freedesktop.org/
- apk - makedepend-doc - 1.0.9-r0: normalized package name match | Alpine Linux edge package indexes: makedepend-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utility for making makefile dependencies (documentation) | https://www.freedesktop.org/
- dnf - imake - 1.0.10-9.fc45: normalized package name match | Fedora Rawhide package metadata: imake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | imake source code configuration and build system | http://www.x.org
- zypper - makedepend - 1.0.9-1.8: normalized package name match | openSUSE Tumbleweed package metadata: makedepend from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to create dependencies in makefiles | https://xorg.freedesktop.org/
- MacPorts - makedepend: normalized package name match | MacPorts ports tree: x11/makedepend/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/makedepend.yml](https://github.com/mxcl/pkgdb/blob/main/combined/makedepend.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
