The split between these two files seems arbitrary, and after many changes to the build system, the naming of the file deps is no longer meaningful. We merge the two files.
Depends on #28000
CC: @dimpase @embray @jhpalmieri @orlitzky
Component: build
Author: Matthias Koeppe
Branch/Commit: e1a9413
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29098