Date: Fri, 18 Feb 2022 22:08:00 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: freebsd-hackers@freebsd.org, Felix Palmen <felix@palmen-it.de> Subject: Re: How to generate a Makefile.depend? Message-ID: <a320c9ae-4031-2220-1355-2da6b7e3bbca@grosbein.net> 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
18.02.2022 21:28, Felix Palmen 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? 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a320c9ae-4031-2220-1355-2da6b7e3bbca>