Date: Fri, 18 Feb 2022 09:44:50 -0600 From: Kyle Evans <kevans@freebsd.org> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: How to generate a Makefile.depend? Message-ID: <CACNAnaFmxxGeX1rp3vhFkkVTL3JDFz%2BLs7jW1-F-QM_NtEvFow@mail.gmail.com> In-Reply-To: <20220218142803.t444nf77dh2sfkgb@nexus.home.palmen-it.de> References: <20220218142803.t444nf77dh2sfkgb@nexus.home.palmen-it.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 18, 2022 at 8:28 AM Felix Palmen <felix@palmen-it.de> wrote: > > I'm trying to add a little tool to my local tree and I'm stuck with > something I *assume* should be simple. As I understand it, there should > be a Makefile.depend in its directory, listing all the dir dependencies, > and this should be somehow auto-generated from .meta files. I just can't > figure out how to do it. > > I have this very simple Makefile for it: > --- > # $FreeBSD$ > > PACKAGE= runtime > > PROG= pam_unix-helper > MAN= # no manpage, internally used by pam_unix.so > > LIBADD= crypt > > BINOWN= root > BINMODE=4555 > > .include <bsd.prog.mk> > --- > > It builds just fine (using meta mode), so what do I need to do to get > the corresponding Makefile.depend? > Makefile.depend falls in "do not worry about it" territory; they're only used for dirdeps mode, which to my understanding will tolerate and generate the missing Makefile.depend as it goes anyways. bdrewery or sjg periodically commit/update .depend files. Thanks, Kyle Evans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaFmxxGeX1rp3vhFkkVTL3JDFz%2BLs7jW1-F-QM_NtEvFow>