Date: Fri, 18 Feb 2022 16:48:27 +0100 From: Felix Palmen <felix@palmen-it.de> To: freebsd-hackers@freebsd.org Subject: Re: How to generate a Makefile.depend? Message-ID: <20220218154827.uxa6siux64lncsog@nexus.home.palmen-it.de> In-Reply-To: <a320c9ae-4031-2220-1355-2da6b7e3bbca@grosbein.net> References: <20220218142803.t444nf77dh2sfkgb@nexus.home.palmen-it.de> <a320c9ae-4031-2220-1355-2da6b7e3bbca@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
* Eugene Grosbein <eugen@grosbein.net> [20220218 22:08]:
> Take a look at comments in the file /usr/share/mk/bsd.dep.mk
> Generally you run "make depend", but it tells that
> "meta+filemon mode will track dependencies itself", so no depend files used in this case.
I don't think that really cuts it: make depend just does nothing here.
But I assume these DIRDEPS are needed to avoid the classic recursive
make problem of building something before the dependencies were built.
I found there's share/mk/gendirdeps.mk to build a Makefile.depend (using
some shell or python script), and share/mk/meta.autodep.mk to somehow
automate that process, but I just can't figure out how to actually use
any of that...
Or are you telling me all the Makefile.depend files in the tree are
deprecated and should be removed?
--
Dipl.-Inform. Felix Palmen <felix@palmen-it.de> ,.//..........
{web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de
{pgp public key} http://palmen-it.de/pub.txt // """""""""""
{pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEqJE9VV8uOnQ5ZbmXPvKLCrwC2ioFAmIPv8sACgkQPvKLCrwC
2ioHYQf/XFzzeIVoifq/r15ndjkVthc30kDRiJTFHKmruKRfoAlENI8sTVMzZLyJ
nm23kONZEjx1u4TSTyIm2lXE9jEFLkGXwFDoZOPf8OgmcIsENLaEwbipbQ1plIoN
oQHiqV5izFVcrk/Q7VOxUlpyvwmznqih8LLyxRmgX86sP3NOPY0TzpHhvcOJjRqB
VwFQCi6YpK2qquor0M9jKK1OLE+5g6gCoyWKe62NStvu+TMH1Z1JY6AmiaHn+PeB
tveWBGc6KfeSinxjVm6WaPwuWHlx1n0Od8Q6TSYnEdlHNPMDL1YLoB6OD2vrbJtv
vqp6eEZyXWWxELozijLDBA8NYpIljA==
=poB3
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220218154827.uxa6siux64lncsog>
