Re: How to generate a Makefile.depend?
- In reply to: Eugene Grosbein : "Re: How to generate a Makefile.depend?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Feb 2022 15:48:27 UTC
* 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